added logserver started message

main
alex 2023-11-13 20:00:38 +01:00
parent 79a7bf174d
commit 567b0b3c1d
1 changed files with 6 additions and 0 deletions

View File

@ -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)
}