Documentation
¶
Index ¶
- func CreateAgentReverseProxy(targetURL *url.URL, stream net.Conn, accessToken *string, host string) *httputil.ReverseProxy
- func HandleSpacesCodeServerProxy(w http.ResponseWriter, r *http.Request)
- func HandleSpacesPortProxy(w http.ResponseWriter, r *http.Request)
- func HandleSpacesSSHProxy(w http.ResponseWriter, r *http.Request)
- func HandleSpacesTerminalProxy(w http.ResponseWriter, r *http.Request)
- func HandleSpacesWebPortProxy(w http.ResponseWriter, r *http.Request)
- func HandleWSProxyServer(w http.ResponseWriter, r *http.Request)
- func PortRoutes() *http.ServeMux
- func Routes(router *http.ServeMux)
- func RunSSHForwarderViaAgent(proxyServerURL string, space string, token string)
- func RunSSHForwarderViaProxy(proxyServerURL string, token string, service string, port int)
- func RunTCPForwarderViaAgent(proxyServerURL string, listen string, space string, port int, token string)
- func RunTCPForwarderViaProxy(proxyServerURL string, token string, listen string, service string, port int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAgentReverseProxy ¶ added in v0.12.2
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)
Proxy a web port for a space or VNC, the transport is http and the agent works out the http / https connection
func HandleWSProxyServer ¶
func HandleWSProxyServer(w http.ResponseWriter, r *http.Request)
func RunSSHForwarderViaAgent ¶
func RunSSHForwarderViaProxy ¶
func RunTCPForwarderViaAgent ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.