update default

This commit is contained in:
白茶清欢 2021-04-17 23:16:00 +08:00
parent 3548b434d0
commit 267fdf1a4c

View File

@ -112,6 +112,7 @@ func NewWSServerConfig(optionList ...SetWSServerConfig) *WSServerConfig {
LogPath: "", LogPath: "",
LogLevel: DefaultLogLevel, LogLevel: DefaultLogLevel,
LogSplitInterval: DefaultLogSplitInterval, LogSplitInterval: DefaultLogSplitInterval,
StoreConnection: DefaultStoreConnection,
} }
for _, o := range optionList { for _, o := range optionList {
o(c) o(c)