Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonMessage ¶
type CommonMessage struct { Op string `json:"op"` Data interface{} `json:"data,omitempty"` }
type GreetMessage ¶
type GreetMessage struct {
Greet string `json:"greet"`
}
type LoginMessage ¶
type LogoutMessage ¶
type LogoutMessage struct {
User string `json"user"`
}
Click to show internal directories.
Click to hide internal directories.