Documentation ¶
Index ¶
- func NewGameServer()
- type Game
- func (g *Game) CheckGameType(clientGameTypeID string) bool
- func (g *Game) CheckToken(token string) bool
- func (g *Game) GetUser(userToken string) (*user.Info, error)
- func (g *Game) GetUserByGameID(userToken string, UserID int64) (*user.Info, error)
- func (g *Game) NewUser(token, gameAccount string) *user.Info
- func (g *Game) RESTfulURLs() []restfult.Setting
- func (g *Game) SocketMessageHandle(msg socket.Message) error
- func (g *Game) SocketURLs() []socket.Setting
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Game ¶
Game ...
func (*Game) CheckGameType ¶
CheckGameType ...
func (*Game) GetUserByGameID ¶
GetUserByGameID ...
func (*Game) SocketMessageHandle ¶
SocketMessageHandle ...
Click to show internal directories.
Click to hide internal directories.