Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GlobalConfig = &Config{ SockAddr: "127.0.0.1:1080", LogFile: "logs/shuttlec.log", SSLEnable: true, } )
global config
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
RunType string `yaml:"runType"`
Name string `yaml:"name"`
SockAddr string `yaml:"sockAddr"`
RemoteAddr string `yaml:"remoteAddr"`
SSLEnable bool `yaml:"sslEnable"`
Password string `yaml:"password"`
LogFile string `yaml:"logFile"`
Ships []Ship
}
Config struct
func (*Config) IsWormhole ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.