This commit is contained in:
DeniskaRediska committed 2019-10-24 14:37:22 +03:00
1 parent f3934e038e
commit 4fdf7c0ca2
19 files changed
+457 -379

No files matched your search

+3 -1
View File
@@ -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 {