confer

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConfer

func InitConfer(configURL string) (err error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL