package
Version:
v0.2.1
Opens a new window with list of versions in this module.
Published: May 6, 2016
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetMessage return message as json
func NewSubscribe(h *Hub) *subscribe
NewSubscribe return new subscribe object.
NewHub return new Hub object.
type WSMessage struct {
Action string `json:"action"`
Topic string `json:"topic"`
Data string `json:"data"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.