websockets

package
v0.0.0-...-9465167 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Websocket

type Websocket struct {
	// contains filtered or unexported fields
}

Websocket handler for real time websocket messages

func NewWebsocket

func NewWebsocket(storage storage.Storage) *Websocket

NewWebsocket returns a new Websocket handler

func (*Websocket) ServeHTTP

func (h *Websocket) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP Websocket GET /app/{key}

Jump to

Keyboard shortcuts

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