Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultWorkDir = filepath.Join(GetHomeDir(), ".gvc", "proxy_files")
Functions ¶
func GetHomeDir ¶ added in v1.1.0
func GetHomeDir() (homeDir string)
Types ¶
type Conf ¶
type Conf struct { FetcherUrl string `json:"fetcher_url"` WorkDir string `json:"work_dir"` RawProxyFile string `json:"raw_file"` ProxyFile string `json:"proxy_file"` PortRange *VPortRange `json:"port_range"` Port int `json:"port"` TestUrl string `json:"test_url"` SwitchyOmegaUrl string `json:"omega_url"` GeoInfoUrl string `json:"geo_info_url"` Timeout int `json:"timeout"` VerifierCron string `json:"verifier_cron"` KeeperCron string `json:"keeper_cron"` StorageSqlitePath string `json:"storage_sqlite_path"` StorageExportPath string `json:"storage_export_path"` SockFileDir string `json:"sock_file_dir"` XrayErrorLogFile string `json:"xray_error_log_file"` XtrayLogFile string `json:"xtray_log_file"` }
Click to show internal directories.
Click to hide internal directories.