This commit is contained in:
crusader
2018-03-22 18:15:12 +09:00
parent f5f56d2924
commit 18845c4ff9
6 changed files with 32 additions and 18 deletions

View File

@@ -1,8 +1,6 @@
package data
import (
"fmt"
"git.loafle.net/commons_go/logging"
oogwc "git.loafle.net/overflow/overflow_gateway_websocket/config"
oogws "git.loafle.net/overflow/overflow_gateway_websocket/server"
@@ -20,7 +18,7 @@ var (
func ServletInit(sh oogws.ServerHandler) {
cfg = oogwc.Config.Servlets[Name]
if nil == cfg {
logging.Logger().Panic(fmt.Sprintf("Webapp: config of servlet[%s] is not exist", Name))
logging.Logger().Panicf("Webapp: config of servlet[%s] is not exist", Name)
}
rpcGH := newGatewayRPCHandler()