Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ApiListen string `json:"api"` ListenAddresses []string `json:"listen"` Blocked Blocked `json:"blocked"` TTL uint32 `json:"ttl"` Forwarders []string `json:"forwarders"` Database Database `json:"database"` }
func LoadConfig ¶
type Database ¶
type Database struct { FileSystem *struct { Path string `json:"path"` } `json:"fs,omitempty"` }
type StartupFailureError ¶
type StartupFailureError error
Click to show internal directories.
Click to hide internal directories.