Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type ClientConfig struct { UseTLS bool // For when your VPN already provides encryption. SkipEncryption bool // turn off both SSH and TLS. AllowNewServer bool // only give once to prevent MITM. TestAllowOneshotConnect bool CertPath string KeyPath string ServerHost string // ip address ServerPort int ServerInternalHost string // ip address ServerInternalPort int ServerHostOverride string Username string PrivateKeyPath string ClientKnownHostsPath string CpuProfilePath string PayloadSizeMegaBytes int }
func (*ClientConfig) DefineFlags ¶
func (c *ClientConfig) DefineFlags(fs *flag.FlagSet)
func (*ClientConfig) SetupSSH ¶
func (c *ClientConfig) SetupSSH(opts *[]grpc.DialOption)
func (*ClientConfig) SetupTLS ¶
func (c *ClientConfig) SetupTLS(opts *[]grpc.DialOption)
func (*ClientConfig) ValidateConfig ¶
func (c *ClientConfig) ValidateConfig() error
Click to show internal directories.
Click to hide internal directories.