domain

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIPs

func GetIPs(ctx context.Context, domain string,
	stategy DomainStrategy, ipr i.IPResolver) []net.IP

Types

type DomainStrategy

type DomainStrategy int32
const (
	DomainStrategy_PreferIPv4 DomainStrategy = iota
	DomainStrategy_PreferIPv6
	DomainStrategy_IPv4Only
	DomainStrategy_IPv6Only
)

Jump to

Keyboard shortcuts

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