Documentation
¶
Index ¶
Constants ¶
View Source
const ( ST_NULL = iota ST_GATE ST_GAME ST_CENTER )
View Source
const ( RESULT_INVALID = -1 RESULT_OK = iota RESULT_FAILED RESULT_DISCONN RESULT_SYNC_SESSION RESULT_MAX )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorized ¶
type MsgPingAck ¶
type MsgPingReq ¶
type MsgPingReq struct {
}
type MsgTest2Ack ¶
type MsgTest2Req ¶
type MsgTest2Req struct {
N int64 `json:"n"`
}
type MsgTestAck ¶
type MsgTestAck struct {
Result int64 `json:"result"`
}
type MsgTestCenterAck ¶
type MsgTestCenterAck struct {
Result int64 `json:"result"`
}
type MsgTestCenterReq ¶
type MsgTestCenterReq struct {
N int64 `json:"n"`
}
type MsgTestNilAck ¶
type MsgTestNilAck struct {
Res string `json:"res"`
}
type MsgTestNilReq ¶
type MsgTestNilReq struct {
}
type MsgTestReq ¶
type MsgTestReq struct {
N int64 `json:"n"`
}
type SessionData ¶
type SessionData struct {
SessionId string `json:"sessionId"`
}
Click to show internal directories.
Click to hide internal directories.