Documentation ¶
Index ¶
- Variables
- func GetMsgBodyData(msg interface{}) []byte
- func GetMsgData(recv *cstruct.RecvMsg, mainCmdID uint16, subCmdID uint16, msg interface{}) []byte
- func GetMsgDataRawBody(recv *cstruct.RecvMsg, mainCmdID uint16, subCmdID uint16, body []byte) []byte
- func GetMsgObject(mainCmdID uint16, subCmdID uint16, data []byte) interface{}
- func Register(mainCmdID uint16, subCmdID uint16, msg interface{}, msgRouter *chanrpc.Server, ...)
- func SetMsgSkeleton(skeleto *module.Skeleton)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Processor = protobuf.NewProcessor() Processor = cstruct.NewProcessor() MsgParser = network.NewMsgParser() )
Functions ¶
func GetMsgBodyData ¶
func GetMsgBodyData(msg interface{}) []byte
func GetMsgData ¶
func GetMsgDataRawBody ¶
func GetMsgObject ¶
func SetMsgSkeleton ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.