Documentation ¶
Index ¶
- type MsgInfo
- type MsgProto
- type Processor
- func (its *Processor) Handler(msgID int32, msg proto.Message, chanRPC *chanrpc.Server, f interface{})
- func (its *Processor) Marshal(msg interface{}) (r [][]byte, err error)
- func (its *Processor) MsgID(id uint16) []byte
- func (its *Processor) Route(msg interface{}, userData interface{}) error
- func (its *Processor) Unmarshal(data []byte) (msg interface{}, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MsgProto ¶
type MsgProto struct {
// contains filtered or unexported fields
}
MsgProto MsgProto
type Processor ¶
type Processor struct { LittleEndian bool // contains filtered or unexported fields }
Processor Processor
func (*Processor) Handler ¶
func (its *Processor) Handler(msgID int32, msg proto.Message, chanRPC *chanrpc.Server, f interface{})
Handler Handler
Click to show internal directories.
Click to hide internal directories.