ref
This commit is contained in:
1 parent
f3934e038e
commit
4fdf7c0ca2
19 files changed
+457
-379
No files matched your search
@@ -48,7 +48,7 @@ func main() {
|
||||
}
|
||||
|
||||
func onLocalConfigLoad(cfg *conf.Configuration) {
|
||||
log.Infof(log_code.InfoOnLocalConfigLoad, "Outer http address is %s", cfg.HttpOuterAddress.GetAddress())
|
||||
|
||||
}
|
||||
|
||||
func onRemoteConfigReceive(remoteConfig, oldRemoteConfig *conf.RemoteConfig) {
|
||||
@@ -81,6 +81,8 @@ func socketConfiguration(cfg interface{}) structure.SocketConfiguration {
|
||||
|
||||
func onShutdown(_ context.Context, _ os.Signal) {
|
||||
proxy.Close()
|
||||
redis.Client.Close()
|
||||
server.Http.Close()
|
||||
}
|
||||
|
||||
func makeDeclaration(localConfig interface{}) bootstrap.ModuleInfo {
|
||||
|
||||
Reference in new issue
Block a user