升级Go版本为v1.18

This commit is contained in:
GoEdgeLab
2022-07-07 09:21:18 +08:00
parent 8af2a4f63d
commit d7d1575c63
9 changed files with 67 additions and 54 deletions

View File

@@ -17,4 +17,10 @@ type ClientConnInterface interface {
// SetServerId 设置服务ID
SetServerId(serverId int64)
// SetUserId 设置所属服务的用户ID
SetUserId(userId int64)
// UserId 获取当前连接所属服务的用户ID
UserId() int64
}