enhance(gonginx): lua code parse and format dump

Close #307
This commit is contained in:
Jacky 2025-04-14 18:08:55 +08:00
parent 92dc61ecb4
commit 1fe6b8b031
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
5 changed files with 35 additions and 6 deletions

View file

@ -102,5 +102,6 @@ func main() {
Program: Program(confPath),
Address: fmt.Sprintf("%s:%d", cSettings.ServerSettings.Host, cSettings.ServerSettings.Port),
TerminateTimeout: 5 * time.Second,
Debug: cSettings.ServerSettings.RunMode == gin.DebugMode,
})
}