msg

package
v0.0.0-...-78a0d84 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 0 Imported by: 0

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 Authorized struct {
	Type int32  `json:"type"`
	Name string `json:"name"`
	Key  string `json:"key"`
}

type MsgPingAck

type MsgPingAck struct {
	Now    int64  `json:"now"`
	Zone   string `json:"zone"`
	Offset int    `json:"offset"`
}

type MsgPingReq

type MsgPingReq struct {
}

type MsgTest2Ack

type MsgTest2Ack struct {
	Result int64 `json:"result"`
	Name   string
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL