Documentation ¶
Overview ¶
Package hashprefix used for safe browsing and parent control.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Upstream is the upstream DNS server. Upstream upstream.Upstream // ServiceName is the name of the service. ServiceName string // TXTSuffix is the TXT suffix for DNS request. TXTSuffix string // CacheTime is the time period to store hash. CacheTime time.Duration // CacheSize is the maximum size of the cache. If it's zero, cache size is // unlimited. CacheSize uint }
Config is the configuration structure for safe browsing and parental control.
Click to show internal directories.
Click to hide internal directories.