Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBaseMessage ¶
func NewBaseMessage(t net.MessageType, data interface{}) net.Message
NewBaseMessage new base message
Types ¶
type BaseMessage ¶
type BaseMessage struct {
// contains filtered or unexported fields
}
BaseMessage base message
func (*BaseMessage) MessageType ¶
func (msg *BaseMessage) MessageType() net.MessageType
MessageType get message type
func (*BaseMessage) String ¶
func (msg *BaseMessage) String() string
String get the message to string
Click to show internal directories.
Click to hide internal directories.