Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GeoIpFS embed.FS
View Source
var HtmlFs embed.FS
View Source
var StaticFS embed.FS
Functions ¶
Types ¶
type ConfigOptions ¶
type ConfigOptions struct { Domain string `json:"domain" yaml:"domain"` Port string `json:"port" yaml:"port"` TLSEnable bool `json:"tls_enable" yaml:"tls_enable"` CertFile string `json:"cert_file" yaml:"cert_file"` KeyFile string `json:"key_file" yaml:"key_file"` DatabaseUrl string `json:"database_url" yaml:"database_url"` CrawlInterval uint64 `json:"crawl-interval" yaml:"crawl-interval"` CFEmail string `json:"cf_email" yaml:"cf_email"` CFKey string `json:"cf_key" yaml:"cf_key"` SourceFiles []string `json:"source-files" yaml:"source-files"` SpeedTest bool `json:"speedtest" yaml:"speedtest"` SpeedTestInterval uint64 `json:"speedtest-interval" yaml:"speedtest-interval"` SpeedCountryWhiteList string `json:"speed-country-white-list" yaml:"speed-country-white-list"` Connection int `json:"connection" yaml:"connection"` Timeout int `json:"timeout" yaml:"timeout"` ActiveFrequency uint16 `json:"active-frequency" yaml:"active-frequency" ` ActiveInterval uint64 `json:"active-interval" yaml:"active-interval"` ActiveMaxNumber uint16 `json:"active-max-number" yaml:"active-max-number"` TgChannelProxyUrl string `json:"tg_channel_proxy_url" yaml:"tg_channel_proxy_url"` V2WsHeaderUserAgent string `json:"v2_ws_header_user_agent" yaml:"v2_ws_header_user_agent"` GeoipDbUrl string `json:"geoip_db_url" yaml:"geoip_db_url"` SubBestNodeInterval uint64 `json:"sub-best-node-interval" yaml:"sub-best-node-interval"` SubIpUrl []string `json:"sub_ip_url" yaml:"sub_ip_url"` ProxyInfo ProxyInfo `json:"proxy_info" yaml:"proxy_info"` }
Click to show internal directories.
Click to hide internal directories.