完善开服、停服、白名单、不停机更新流程

This commit is contained in:
flswld committed 2023-10-15 17:28:13 +08:00
1 parent ef8408adf8
commit 3af603dcaa
28 files changed
+425 -117

No files matched your search

+3
View File
@@ -15,11 +15,14 @@ var (
config = flag.String("config", "application.toml", "config file")
)
var VERSION = "UNKNOWN"
func main() {
flag.Parse()
go func() {
_ = statsviz_serve.Serve("0.0.0.0:2345")
}()
app.APPVERSION = VERSION
err := app.Run(context.TODO(), *config)
if err != nil {
fmt.Println(err)