Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartReverseTunnel ¶
func StartReverseTunnel(tunnelConfig ...Config)
StartReverseTunnel Main tunneling function. Handles connections and forwarding
Types ¶
type Config ¶
type Config struct { ConnectionEndpoint url.URL RestAPI restapi.RestClient TunnelEndpoint restapi.Tunnel PrivateKeyPath string LocalPort string Subdomain string EndpointType string EndpointURL url.URL LogLevel string TCPPorts []string }
Config Object to make passing config eaiser
Click to show internal directories.
Click to hide internal directories.