ipdns

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNS

type DNS struct {
	sync.Mutex

	DNS      string
	Resolver *net.Resolver
	Domain   string
	// contains filtered or unexported fields
}

func (*DNS) Get

func (s *DNS) Get() (net.IP, net.IP, error)

type Provider

type Provider interface {
	Get() (net.IP, net.IP, error)
}

type Static

type Static struct {
	V4 net.IP
	V6 net.IP
}

func (*Static) Get

func (s *Static) Get() (net.IP, net.IP, error)

Jump to

Keyboard shortcuts

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