Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Channel string `json:"channel"` channel.NoClose channel.NeverEqual }
func BinaryMessage ¶
func BinaryMessage(r channel.BinaryReader) (msg Message, err error)
func (Message) FromBinary ¶
type ServerMessage ¶
type ServerMessage struct { Channel string `json:"channel"` Who string `json:"who"` channel.NoClose channel.NeverEqual }
func BinaryServerMessage ¶
func BinaryServerMessage(r channel.BinaryReader) (msg ServerMessage, err error)
func JSONServerMessage ¶
func (ServerMessage) Binary ¶
func (m ServerMessage) Binary(w channel.BinaryWriter) error
func (ServerMessage) FromBinary ¶
func (m ServerMessage) FromBinary(r channel.BinaryReader) (channel.Msg, error)
Click to show internal directories.
Click to hide internal directories.