Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Services is All services in gate server Services = &component.Components{} )
Functions ¶
This section is empty.
Types ¶
type BindService ¶
func (*BindService) BindChatServer ¶
func (bs *BindService) BindChatServer(s *session.Session, msg []byte) error
func (*BindService) Login ¶
func (bs *BindService) Login(s *session.Session, msg *LoginRequest) error
type LoginRequest ¶
type LoginRequest struct {
Nickname string `json:"nickname"`
}
type LoginResponse ¶
type LoginResponse struct {
Code int `json:"code"`
}
Click to show internal directories.
Click to hide internal directories.