package
0.21.1
Repository: https://github.com/e154/smart-home.git
Documentation: pkg.go.dev

# Functions

NewProxy returns a new Websocket reverse proxy that rewrites the URL's to the scheme, host and base path provider in target.
ProxyHandler returns a new http.Handler interface that reverse proxies the request to the given target.

# Variables

DefaultDialer is a dialer with all fields set to the default zero values.
DefaultUpgrader specifies the parameters for upgrading an HTTP connection to a WebSocket connection.

# Structs

WebsocketProxy is an HTTP Handler that takes an incoming WebSocket connection and proxies it to another server.