Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteMessage ¶
func WriteMessage(ws *websocket.Conn, msgType MessageType, payload interface{}) error
Types ¶
type Message ¶
type Message struct {
Type MessageType `json:"type" msgpack:"type"`
// contains filtered or unexported fields
}
func (*Message) UnmarshalPayload ¶
type MessageType ¶
type MessageType byte
const ( MessageRegister MessageType = iota MessageFullSync MessageFullSyncEnd MessageGossipGroup MessageGossipRole MessageGossipTemplate MessageGossipTemplateVar MessageGossipUser MessageGossipScript MessageGossipSkill MessageGossipCommand MessageGossipStackDefinition MessageGossipResponse MessageGossipSpaceUsage MessageGossipEventSink )
type RegisterResponse ¶
Click to show internal directories.
Click to hide internal directories.