Documentation
¶
Index ¶
Constants ¶
View Source
const ( MaxTemporaryChallenges = 10000 MaxChallengesUpdateRate = 100 // per second MaxDnscheckWatchers = 100 MaxDnscheckLargeResponseRate = 10 // per second )
Variables ¶
This section is empty.
Functions ¶
func ParsePrivateKey ¶
Types ¶
type Config ¶
type Config struct { HTTPSocketPath string RequestLogPath string DatabasePath string TLSCertPath string TLSKeyPath string ResponseAddrs dnsutil.IPCollection LookupUpstream string IPInfoBaseURL string MyaddrTurnstileSecret string DnscheckZones []struct { *dnscheck.DnscheckHandler PrivateKey string } ChallengesZone struct { *dnsutil.SimpleHandler PrivateKey string } DynZone struct { *dnsutil.SimpleHandler PrivateKey string } IPZone struct { *dnsutil.SimpleHandler PrivateKey string } CnameZone struct { *dnsutil.SimpleHandler PrivateKey string } MyaddrZones []struct { *dnsutil.SimpleHandler PrivateKey string } }
func ParseConfig ¶
Click to show internal directories.
Click to hide internal directories.