hints

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hints

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

func New

func New() *Hints

New returns a new and initialized root nameserver hints db

func (*Hints) Get

func (h *Hints) Get() []Root

Get returns an array of root nameserver hints

func (*Hints) GetRand

func (h *Hints) GetRand() (string, string, string)

GetRand returns a randomized item (root nameserver) from root hints

type Root

type Root struct {
	Name        string
	IPv4Address string
	IPv6Address string
}

Jump to

Keyboard shortcuts

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