update go mod

This commit is contained in:
2025-02-24 22:02:41 +08:00
parent eab7bab9d7
commit afda8c14a6
3 changed files with 64 additions and 25 deletions

View File

@ -22,12 +22,12 @@ var (
wsLoggerConnect storage.IConnection // ws 日志连接管理实例
)
// SetWsLoggConnect 设置ws connect
// SetWsLoggerConnect 设置ws connect
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 15:20 2024/7/23
func SetWsLoggConnect(connect storage.IConnection) {
func SetWsLoggerConnect(connect storage.IConnection) {
wsLoggerConnect = connect
}
@ -36,8 +36,8 @@ func SetWsLoggConnect(connect storage.IConnection) {
// Author : go_developer@163.com<白茶清欢>
//
// Date : 15:34 2024/7/23
func GetWsLoggConnect(connect storage.IConnection) {
wsLoggerConnect = connect
func GetWsLoggConnect() storage.IConnection {
return wsLoggerConnect
}
// LogData 记录日志数据