You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ngs/examples/cluster/protocol/rpc.go

17 lines
312 B
Go

package protocol
type NewUserRequest struct {
Nickname string `json:"nickname"`
GateUid int64 `json:"gateUid"`
}
type JoinRoomRequest struct {
Nickname string `json:"nickname"`
GateUid int64 `json:"gateUid"`
MasterUid int64 `json:"masterUid"`
}
type MasterStats struct {
Uid int64 `json:"uid"`
}