proxy

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleSpacesCodeServerProxy

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

func HandleSpacesPortProxy

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

func HandleSpacesSSHProxy

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

func HandleSpacesTerminalProxy

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

func HandleSpacesWebPortProxy

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

func HandleWSProxyServer

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

func PortRoutes

func PortRoutes() chi.Router

Setup proxying of URLs to ports within spaces

func Routes

func Routes() chi.Router

func RunSSHForwarderViaAgent

func RunSSHForwarderViaAgent(proxyServerURL string, space string, token string)

func RunSSHForwarderViaProxy

func RunSSHForwarderViaProxy(proxyServerURL string, token string, service string, port int)

func RunTCPForwarderViaAgent

func RunTCPForwarderViaAgent(proxyServerURL string, listen string, space string, port int, token string)

func RunTCPForwarderViaProxy

func RunTCPForwarderViaProxy(proxyServerURL string, token string, listen string, service string, port int)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳