Documentation ¶
Index ¶
Constants ¶
View Source
const ( VERSION = "2.2.5" USER_AGENT = "DNS-over-HTTPS/" + VERSION + " (+https://github.com/m13253/dns-over-https)" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RemoteAddr string `toml:"remote_addr"` Path string `toml:"path"` Upstream []string `toml:"upstream"` Timeout uint `toml:"timeout"` Tries uint `toml:"tries"` Verbose bool `toml:"verbose"` DebugHTTPHeaders []string `toml:"debug_http_headers"` LogGuessedIP bool `toml:"log_guessed_client_ip"` LocalIPFilter bool `toml:"ecs_allow_non_global_ip"` ECSFullSubnet bool `toml:"ecs_use_precise_ip"` }
func LoadConfig ¶
type DNSRequest ¶
type DNSRequest struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.