Documentation ¶
Overview ¶
The messageServer package implements a general purpose messaging platform based on the gorilla websocket implementation. The platform is similar to other messaging platforms like pubnub, in that it is channel based.
This means that you can replace it with the distributed messaging platform of your choice as your app grows.
See the web/assets/js/goradd-ws.js for the client side.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MessengerI ¶ added in v0.3.1
type MessengerI interface { JavascriptInit() string Send(channel string, message string) JavascriptFiles() map[string]html.Attributes }
var Messenger MessengerI
Click to show internal directories.
Click to hide internal directories.