api

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthenticateRequest func(params url.Values) (apiKey, room, sessionKey string, ok bool)
View Source
var OnClientMessage func(ApiKey, Room, SessionKey string, raw []byte)

Functions

func HandleHealthCheck

func HandleHealthCheck(w http.ResponseWriter, r *http.Request)

HandleHealthCheck handles service health checks

func HandleRootWSUpgrade

func HandleRootWSUpgrade(w http.ResponseWriter, r *http.Request)

HandleRootWSUpgrade upgrades '/' to websocket

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL