Documentation
¶
Index ¶
Constants ¶
View Source
const ( CONNECT_MODE_PROXY = iota CONNECT_MODE_DIRECT )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CONNECT_MODE ¶
type CONNECT_MODE int
func (CONNECT_MODE) String ¶
func (c CONNECT_MODE) String() string
type ConfigYaml ¶
type ConfigYaml struct {
Auth bool `yaml:"auth"`
AutoDirectConnect bool `yaml:"auto_direct_connect"`
ProxyServer string `yaml:"proxy"`
GatewayServer string `yaml:"gateway"`
Listen string `yaml:"listen"`
LogMode string `yaml:"log_mode"`
ExcludeIps []string `yaml:"exclude"`
Users []AuthUsers `yaml:"users"`
}
type ConnectPacket ¶
type ConnectPacket struct {
Addr string
}
Click to show internal directories.
Click to hide internal directories.