models

package
v1.4.0-rc3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildInformation

type BuildInformation struct {
	Version   string `json:"version"`
	Commit    string `json:"commit"`
	BuildDate string `json:"buildDate"`
}

type Filepath

type Filepath string

Filepath is a local filesytem file path.

type Host

type Host string

Host is the DNS host to use for TLS validation.

type ProviderData

type ProviderData struct {
	IPs            []net.IP
	Host           Host
	SupportsIPv6   bool
	SupportsTLS    bool
	SupportsDNSSEC bool
}

ProviderData contains information for a DNS provider.

type Settings

type Settings struct {
	Unbound           models.Settings
	Username          string
	Puid, Pgid        int
	BlockMalicious    bool
	BlockAds          bool
	BlockSurveillance bool
	CheckUnbound      bool
	UpdatePeriod      time.Duration
}

func (*Settings) String

func (s *Settings) String() string

type URL

type URL string

URL is an HTTP(s) URL address.

Jump to

Keyboard shortcuts

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