added logserver started message
parent
79a7bf174d
commit
567b0b3c1d
6
main.go
6
main.go
|
@ -17,6 +17,7 @@ package main
|
|||
import (
|
||||
"jannex/log-manager/modules/config"
|
||||
"jannex/log-manager/modules/loghandler"
|
||||
"jannex/log-manager/modules/structs"
|
||||
"jannex/log-manager/modules/utils"
|
||||
"jannex/log-manager/routers/router"
|
||||
|
||||
|
@ -65,5 +66,10 @@ func main() {
|
|||
|
||||
router.SetupRoutes(app)
|
||||
|
||||
loghandler.AddLog(structs.LogBody{
|
||||
Type: "logserver",
|
||||
Logs: []string{"Log Server started"},
|
||||
})
|
||||
|
||||
app.Listen(config.Cfg.Host + ":" + config.Cfg.Port)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue