升级依赖库
This commit is contained in:
@ -9,10 +9,6 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"git.zhangdeman.cn/zhangdeman/logger"
|
||||
"go.uber.org/zap/zapcore"
|
||||
|
||||
"git.zhangdeman.cn/zhangdeman/websocket/config"
|
||||
|
||||
"git.zhangdeman.cn/zhangdeman/websocket/message"
|
||||
@ -64,8 +60,8 @@ func (e Example) GetServerPort() int {
|
||||
|
||||
func (e Example) GetWSServerConfig() []config.SetWSServerConfig {
|
||||
return []config.SetWSServerConfig{
|
||||
config.SetWSServerLogEnable("./logs", e.GetModuleFlag()+".log", zapcore.DebugLevel, logger.TimeIntervalTypeHour),
|
||||
config.EnablePprof(10100),
|
||||
// config.SetWSServerLogEnable("./logs", e.GetModuleFlag()+".log", zapcore.DebugLevel, consts.LogSplitHour),
|
||||
// config.EnablePprof(10100),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user