Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PurgeInterval = time.Minute * 5
PurgeInterval is the interval at which users are purged from the current list
Functions ¶
func HandleUserCount ¶
func HandleUserCount(w http.ResponseWriter, r *http.Request) error
HandleUserCount serves a get request at /stats/users/count
func RegisterHit ¶
RegisterHit registers a hit and ups user count if required
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.