Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
Connection is the interface that wraps the Websocket connection.
func NewWebsocket ¶
func NewWebsocket(w http.ResponseWriter, r *http.Request) (Connection, error)
NewWebsocket returns a new Connection using the http request/response.
Click to show internal directories.
Click to hide internal directories.