Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Amount uint16 `json:"n"` channel.NeverEqual channel.NoClose }
func BinaryMessage ¶
func BinaryMessage(r channel.BinaryReader) (Message, error)
func (Message) FromBinary ¶
type ServerMessage ¶
func BinaryServerMessage ¶
func BinaryServerMessage(r channel.BinaryReader) (ServerMessage, error)
func JSONServerMessage ¶
func (ServerMessage) FromBinary ¶
func (m ServerMessage) FromBinary(r channel.BinaryReader) (channel.Msg, error)
Click to show internal directories.
Click to hide internal directories.