dnsconfig

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	Caddyfile(string) caddyfile_utils.Caddyfile
	Delete(string)
	Store(string, ...*connectioncontext.DNSConfig)
}

DNSConfigManager provides API for storing/deleting dnsConfigs. Can represent the configs in caddyfile format. Can be used from different goroutines

func NewManager

func NewManager(basic ...*connectioncontext.DNSConfig) Manager

NewManager creates new config manager

func NewManagerFromCaddyfile

func NewManagerFromCaddyfile(path string) (Manager, error)

NewManagerFromCaddyfile returns new dns config manager based on exist Caddyfile

Jump to

Keyboard shortcuts

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