Help us shape the future of Go! Take the 2026 Go Developer Survey

v1

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnexpectedSigningMethod = errors.New("unexpected signing method")

Functions

func RegisterRoutes

func RegisterRoutes(r *gin.Engine, l logger.Interface, t devices.Feature, u Upgrader)

Types

type Redirect

type Redirect interface {
	Redirect(c *gin.Context, conn *websocket.Conn, host, mode string) error
}

type RedirectRoutes

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

type Upgrader

type Upgrader interface {
	Upgrade(w http.ResponseWriter, r *http.Request, hdr http.Header) (*websocket.Conn, error)
}

Jump to

Keyboard shortcuts

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