Documentation
¶
Index ¶
Constants ¶
View Source
const DEFAULT_DIRECT_DOMAIN_LIST = "geosite:cn"
View Source
const DEFAULT_DIRECT_IP_LIST = "geoip:private,geoip:cn"
View Source
const DEFAULT_GRPC_PORT = 50051
View Source
const DEFAULT_HTTP_PROXY = "http://127.0.0.1:30000"
View Source
const DEFAULT_PROXY_DOMAIN_LIST = "geosite:google"
View Source
const DEFAULT_PROXY_IP_LIST = "geoip:!cn"
View Source
const DEFAULT_RUNTIME_DIR = "runtime"
View Source
const DEFAULT_SUBSCRIBE_DATA_FILE = "subscribe_data.txt"
View Source
const DEFAULT_TEST_URL = "https://www.google.com"
View Source
const DEFAULT_V2RAY_API_PORT = 15492
View Source
const DEFAULT_V2RAY_PATH = "bin/v2ray.exe"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Conf ¶
type Conf struct {
TestUrl string
EnvFile string
RuntimeDir string
GrpcPort, V2rayApiPort int
V2rayPath string
SubscribeUrl string
SubscribeDataFile string
HttpProxy string
DirectDomainList, DirectIpList, ProxyDomainList, ProxyIpList []string
}
func (Conf) GetHttpProxyPort ¶
func (Conf) GetSubscribeData ¶
func (Conf) UpdateSubscribeData ¶
Click to show internal directories.
Click to hide internal directories.