Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MaxMsgLength int64 = 1024
MaxMsgLength defines the maximum length of a message.
Functions ¶
func UnPackInto ¶
UnPackInto will unpack the []byte to `msg`.
Types ¶
type Error ¶
type Error struct {
Message string
}
Error describes an error message that is primarily used by the server to return to the client.
type Message ¶
type Message interface{}
The Message is defined as interface{}, which is the base class for all messages.
Click to show internal directories.
Click to hide internal directories.