proxy

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RoomNotFound

func RoomNotFound(w http.ResponseWriter, r *http.Request, waitEnabled bool)

func RoomNotReady

func RoomNotReady(w http.ResponseWriter, r *http.Request, waitEnabled bool)

func RoomNotRunning

func RoomNotRunning(w http.ResponseWriter, r *http.Request, waitEnabled bool)

func RoomReady

func RoomReady(w http.ResponseWriter, r *http.Request)

Types

type ProxyManagerCtx

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

func New

func New(rooms *room.RoomManagerCtx, waitEnabled bool) *ProxyManagerCtx

func (*ProxyManagerCtx) Refresh

func (p *ProxyManagerCtx) Refresh() error

func (*ProxyManagerCtx) ServeHTTP

func (p *ProxyManagerCtx) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*ProxyManagerCtx) Shutdown

func (p *ProxyManagerCtx) Shutdown() error

func (*ProxyManagerCtx) Start

func (p *ProxyManagerCtx) Start()

Jump to

Keyboard shortcuts

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