dns

package
v0.24.2 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtraRecordsMan

type ExtraRecordsMan struct {
	// contains filtered or unexported fields
}

func NewExtraRecordsManager

func NewExtraRecordsManager(path string) (*ExtraRecordsMan, error)

NewExtraRecordsManager creates a new ExtraRecordsMan and starts watching the file at the given path.

func (*ExtraRecordsMan) Close

func (e *ExtraRecordsMan) Close()

func (*ExtraRecordsMan) Records

func (e *ExtraRecordsMan) Records() []tailcfg.DNSRecord

func (*ExtraRecordsMan) Run

func (e *ExtraRecordsMan) Run()

func (*ExtraRecordsMan) UpdateCh

func (e *ExtraRecordsMan) UpdateCh() <-chan []tailcfg.DNSRecord

Jump to

Keyboard shortcuts

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