升级依赖库

This commit is contained in:
2024-07-22 16:40:33 +08:00
parent b4444c778e
commit 726f6b5911
8 changed files with 47 additions and 203 deletions

View File

@ -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),
}
}