websocket

package
v1.9.0-industry.4 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const Path = "/websocket"

Path is the URL path for websocket.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(address string) (http.Handler, error)

NewHandler to create a reverse proxy handler and returns it. The reverse proxy will parse the requested cookie content, get the token in it, and append it as the http request header to the backend service component.

func RegisterRoute

RegisterRoute is used to register prefix path routing matches for all configured backend components.

Types

This section is empty.

Jump to

Keyboard shortcuts

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