Documentation ¶
Overview ¶
Package ws handles the websocket interface of otter
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Auth auth.Auth
Auth needs to be set in order to properly handle authentication
Functions ¶
func NewHandler ¶
NewHandler returns an http.Handler which handles the websocket interface
Types ¶
type Error ¶
type Error struct {
Error error `json:"error"`
}
Error is pushed to the connection when something unexpected has occurred
type SubListRes ¶
SubListRes is the structur that the list of connection objects from a call to /subbed will be returned in
Click to show internal directories.
Click to hide internal directories.