Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WsChan = make(chan WsPayload)
Functions ¶
func Favicon ¶
func Favicon(w http.ResponseWriter, r *http.Request)
Favicon serves favicon to browser.
func ListenOnWsChan ¶
func ListenOnWsChan()
ListenOnWsChan indefintely listens for new payload on WsChan and processes it according to payload.Action.
func StaticFiles ¶
StaticFiles serves files from provided folder.
Types ¶
Click to show internal directories.
Click to hide internal directories.