models

package
v1.4.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessControlSettings added in v1.4.0

type AccessControlSettings struct {
	Allowed []net.IPNet
}

func (*AccessControlSettings) Lines added in v1.4.0

func (s *AccessControlSettings) Lines() (lines []string)

type Settings

type Settings struct {
	Providers             []string
	ListeningPort         uint16
	Caching               bool
	IPv4                  bool
	IPv6                  bool
	VerbosityLevel        uint8
	VerbosityDetailsLevel uint8
	ValidationLogLevel    uint8
	BlockedHostnames      []string
	BlockedIPs            []string
	AllowedHostnames      []string
	AccessControl         AccessControlSettings
}

Settings represents all the user settings for Unbound.

func (*Settings) Lines

func (s *Settings) Lines() (lines []string)

func (*Settings) String added in v1.4.0

func (s *Settings) String() string

Jump to

Keyboard shortcuts

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