Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthMethod ¶
type AuthPlainTextConfig ¶
type AuthSQLConfig ¶
type Config ¶
type Config struct { Server ServerConfig AuthSQL AuthSQLConfig AuthPlainText AuthPlainTextConfig Subnets SubnetsConfig }
func (*Config) GetAuthMethods ¶
func (c *Config) GetAuthMethods() ([]AuthMethod, error)
type ProxyClient ¶
type ServerConfig ¶
type ServerConfig struct { UID string GID string Bind string Timeout int Buffer int PrivateKey string PublicKey string AllowAnonymous bool AllowHTTP bool AllowTCPBind bool TCPBindAddr string TCPBindPortsStart int TCPBindPortsEnd int // Don't use it in your config file, please, it's for internal use. TCPBindAddrIsHostname bool TCPBindAddrIP net.IP TCPBindAddrHostname string AllowUDPAssociation bool UDPAssociationAddr string UDPAssociationPortsStart int UDPAssociationPortsEnd int // Don't use it in your config file, please, it's for internal use. UDPAssociationAddrIsHostname bool UDPAssociationAddrIP net.IP UDPAssociationAddrHostname string LogLevel string LogFile string }
type SubnetChecker ¶
type SubnetChecker struct {
// contains filtered or unexported fields
}
func (*SubnetChecker) Empty ¶
func (s *SubnetChecker) Empty() bool
func (*SubnetChecker) Load ¶
func (s *SubnetChecker) Load(subnets []string) error
type SubnetsConfig ¶
Click to show internal directories.
Click to hide internal directories.