Documentation
¶
Index ¶
Constants ¶
View Source
const DEFAULT_ORIGIN = "http://127.0.0.1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IMessageHandler ¶
type TransportMessageToCC ¶
type TransportMessageToCC struct { }
func (*TransportMessageToCC) Exec ¶
func (t2CC *TransportMessageToCC) Exec(message *Message) error
type WebSocket ¶
type WebSocket struct { Stop chan bool // contains filtered or unexported fields }
func NewWebSocket ¶
func (*WebSocket) OnMessage ¶
func (ws *WebSocket) OnMessage(handler IMessageHandler)
func (*WebSocket) ReceiveJson ¶
func (ws *WebSocket) ReceiveJson(ref interface{})
Click to show internal directories.
Click to hide internal directories.