Documentation ¶
Index ¶
- type ChatMsg_Login
- func (z *ChatMsg_Login) DecodeMsg(dc *msgp.Reader) (err error)
- func (z ChatMsg_Login) EncodeMsg(en *msgp.Writer) (err error)
- func (z ChatMsg_Login) MarshalMsg(b []byte) (o []byte, err error)
- func (z ChatMsg_Login) Msgsize() (s int)
- func (z *ChatMsg_Login) UnmarshalMsg(bts []byte) (o []byte, err error)
- type ChatMsg_Send
- type TestMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatMsg_Login ¶
type ChatMsg_Login struct {
Name string `msg:"name"`
}
func (*ChatMsg_Login) DecodeMsg ¶
func (z *ChatMsg_Login) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (ChatMsg_Login) EncodeMsg ¶
func (z ChatMsg_Login) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (ChatMsg_Login) MarshalMsg ¶
func (z ChatMsg_Login) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (ChatMsg_Login) Msgsize ¶
func (z ChatMsg_Login) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*ChatMsg_Login) UnmarshalMsg ¶
func (z *ChatMsg_Login) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type ChatMsg_Send ¶
func (*ChatMsg_Send) DecodeMsg ¶
func (z *ChatMsg_Send) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (ChatMsg_Send) EncodeMsg ¶
func (z ChatMsg_Send) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (ChatMsg_Send) MarshalMsg ¶
func (z ChatMsg_Send) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (ChatMsg_Send) Msgsize ¶
func (z ChatMsg_Send) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*ChatMsg_Send) UnmarshalMsg ¶
func (z *ChatMsg_Send) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type TestMsg ¶
func (*TestMsg) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
Click to show internal directories.
Click to hide internal directories.