Versions in this module Expand all Collapse all v0 v0.2.1 May 6, 2016 Changes in this version + func GetMessage(topic, data string) []byte + func NewSubscribe(h *Hub) *subscribe + type Hub struct + func NewHub(ws *websocket.Conn, t service.TopicPool, debug bool) *Hub + func (h *Hub) Reader() + func (h *Hub) Run() + func (h *Hub) Send(data []byte) + func (h *Hub) Writer() + type WSMessage struct + Action string + Data string + Topic string