Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfer ¶
Types ¶
type Confer ¶
type Confer struct {
ListenAddress string `yaml:"listen-address" mapstructure:"listen-address"` // 代理监听地址
Username string `yaml:"username" mapstructure:"username"` // 鉴权用户名
Password string `yaml:"password" mapstructure:"password"` // 鉴权密码
ProbeResistDomain string `yaml:"probe-resist-domain" mapstructure:"probe-resist-domain"` // 鉴权域名
CertFile string `yaml:"cert-file" mapstructure:"cert-file"` // Cert地址
KeyFile string `yaml:"key-file" mapstructure:"key-file"` // Key地址
CheatHost string `yaml:"cheat-host" mapstructure:"cheat-host"` // 欺骗的内网地址
}
func GlobalConfig ¶
func GlobalConfig() *Confer
Click to show internal directories.
Click to hide internal directories.