gosora/no_websockets.go
Azareal 3b5f48b5a2 Added support for Websockets.
The Control Panel Dashboard now updates every second.
You can now see how many guests and users are online via the Control Panel Dashboard.
The Control Panel Dashboard is now a little more mobile friendly.
2017-05-11 14:04:43 +01:00

23 lines
256 B
Go

// +build no_ws
package main
import "net/http"
var ws_hub WS_Hub
type WS_Hub struct
{
}
func (_ *WS_Hub) GuestCount() int {
return 0
}
func (_ *WS_Hub) UserCount() int {
return 0
}
func route_websockets(_ http.ResponseWriter, _ *http.Request) {
}