Documentation ¶
Index ¶
Constants ¶
View Source
const ( EVENT_SOURCE = "https://github.com/n3wscott/sources/cmd/demos/salmonrun" SALMON_EVENT_TYPE = "com.github.n3wscott.sources.demos.salmonrun.salmon" BEAR_EVENT_TYPE = "com.github.n3wscott.sources.demos.salmonrun.bear" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConnectionReceiver ¶
A ConnectionReceiver is used to process messages on a websocket.
type ConnectionSender ¶
type ConnectionSender func(msg *Message)
A ConnectionSender sends messages on a websocket.
Click to show internal directories.
Click to hide internal directories.