ws

package
v0.0.0-...-b830f10 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Handler   func(*websocket.Conn, error)
	CheckAuth func(w http.ResponseWriter, r *http.Request) error
	Upgrader  *websocket.Upgrader
}

Handler ws handler

func (*Handler) ServeHTTP

func (ws *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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