package
0.0.0-20240314140344-9d7a3c8600f5
Repository: https://github.com/6276835/cso2-server.git
Documentation: pkg.go.dev

# Functions

频道服务器里加频道,一次只能一个协程访问.
添加房间,一次只能一个协程修改该频道.
主服务器里加频道服务器,一次只能一个协程访问.
添加房间,一次只能一个协程修改该频道.
No description provided by the author
No description provided by the author
建立某个频道服务器数据包.
No description provided by the author
No description provided by the author
No description provided by the author
删除频道房间.
快速删除频道房间,需预先取得锁.
No description provided by the author
删除频道房间.
No description provided by the author
通过ID得到对应频道服务器.
通过ID获取频道.
getNewChannelID() 暂定.
新的频道服务器ID,一次只能一个协程访问.
getNewRoomNumber() 获取房间在某个频道下的标号.
getNewRoomNumber() 获取房间在某个频道下的标号.
No description provided by the author
No description provided by the author
getUserByLogin 假定nexonUsername是唯一.
通过连接获取用户.
从数据库中读取用户数据如果是新用户则保存到数据库中.
通过ID获取用户.
通过name获取用户.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
新建频道服务器.
初始化主服务器,仅运行一次,不考虑互斥问题.
处理请求服务器列表.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MainServer 主服务器.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author