Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Room ¶
type RoomManager ¶
var RoomManagerInstance *RoomManager
func GetRoomManager ¶
func GetRoomManager() *RoomManager
func (*RoomManager) CreateRoom ¶
func (self *RoomManager) CreateRoom(title string, userID int64) *Room
func (*RoomManager) GetRoomInfo ¶
func (self *RoomManager) GetRoomInfo(roomID int32) (room *Room, ok bool)
根据房间号获取房间信息
type UserManager ¶
var UserManagerInstance *UserManager
func GetUserManager ¶
func GetUserManager() *UserManager
func (*UserManager) BindUserRoom ¶
func (self *UserManager) BindUserRoom(userID int64, roomID int32)
绑定用户房间
Click to show internal directories.
Click to hide internal directories.