Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GlobalConfig = &Config{ LogFile: "logs/shuttles.log", } Passwords = make(map[string]*Password) WHPasswords = make(map[string]*Password) )
config var
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Addrs []Addr `yaml:"addrs"`
LogFile string `yaml:"logFile"`
Gateway Gateway
Instances []Instance
Trojan Trojan
Wormhole Wormhole
}
Config struct
type Instance ¶
type Instance struct {
Group string
URL string `yaml:"url"`
Weight int
RegisterTime int64
Tags []string
}
Instance struct
Click to show internal directories.
Click to hide internal directories.