configuration

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerConf

type ServerConf struct {
	AllowExternal bool           `json:"allow_external"`
	BlockingLists []string       `json:"blocking_list"`
	Custom        []custom       `json:"custom"`
	Cache         cache          `json:"cache"`
	External      externalSource `json:"external"`
	Endpoint      udpEndpoint    `json:"endpoint"`
	Memdump       string         `json:"memdump,omitempty"`
}

ServerConf represents the configuration of the dns server

func Default

func Default() ServerConf

Default generate the default configuration

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL