Documentation
¶
Index ¶
- func GetLocalIPInfo(includeIPv6 bool)
- func GetPublicIP() (u.Dictionary, error)
- func ReverseSSHTunnel(localAddr, remoteAddr, sshAddr, user string, authMethods []ssh.AuthMethod)
- func SSHTunnel(localAddr, remoteAddr, sshAddr, user string, authMethods []ssh.AuthMethod)
- func TCPTunnel(localAddr, remoteAddr string, useTLS, insecureSkipVerify bool)
- func TunnelSSHPassword(password string) ssh.AuthMethod
- func TunnelSSHPrivateKey(keyPath string) (ssh.AuthMethod, error)
- type HTTPServer
- type HTTPServerOptions
- type NetworkInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLocalIPInfo ¶ added in v0.2.4
func GetLocalIPInfo(includeIPv6 bool)
func GetPublicIP ¶
func GetPublicIP() (u.Dictionary, error)
func ReverseSSHTunnel ¶ added in v0.2.1
func ReverseSSHTunnel(localAddr, remoteAddr, sshAddr, user string, authMethods []ssh.AuthMethod)
func SSHTunnel ¶ added in v0.0.12
func SSHTunnel(localAddr, remoteAddr, sshAddr, user string, authMethods []ssh.AuthMethod)
func TunnelSSHPassword ¶ added in v0.2.1
func TunnelSSHPassword(password string) ssh.AuthMethod
func TunnelSSHPrivateKey ¶ added in v0.2.1
func TunnelSSHPrivateKey(keyPath string) (ssh.AuthMethod, error)
Types ¶
type HTTPServer ¶ added in v0.1.1
type HTTPServer struct {
Options *HTTPServerOptions
Server *http.Server
}
func (*HTTPServer) Start ¶ added in v0.1.1
func (s *HTTPServer) Start() error
func (*HTTPServer) Stop ¶ added in v0.1.1
func (s *HTTPServer) Stop() error
type HTTPServerOptions ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.