Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug atomic.Bool
Functions ¶
func InitConfig ¶
func InitConfig()
func SaveConfig ¶
Types ¶
type Config ¶
type Config struct { PeerList []*Peer `json:"peer_list"` SubAddr string `json:"sub_addr"` Rules []option.Rule `json:"rules"` GamePeer string `json:"game_peer"` HTTPPeer string `json:"http_peer"` ProxyDNS string `json:"proxy_dns"` LocalDNS string `json:"local_dns"` Debug bool `json:"debug"` }
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.