This commit is contained in:
2021-10-22 14:40:35 +08:00
parent afde513ad9
commit df9e8dee19
6 changed files with 123 additions and 34 deletions

View File

@@ -27,5 +27,7 @@ func main() {
httpx.InitializeHttpServer(ctx, func(engine *gin.Engine) {
r := engine.Group("ws")
ws.Init(ctx, r, flags.Source())
}, func(s *httpx.Server) {
s.Port = flags.Options.HttpPort
})
}