utils

package
v0.0.0-...-a41b718 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NotIPQuery = 0
	IPv4Query  = 4
	IPv6Query  = 6
)

Variables

This section is empty.

Functions

func EnsureDirectory

func EnsureDirectory(path string) error

func IsDomain

func IsDomain(domain string) bool

func IsIP

func IsIP(ip string) bool

func IsIPQuery

func IsIPQuery(q dns.Question) int

func UnFqdn

func UnFqdn(s string) string

UnFqdn function

func WaitSysSignal

func WaitSysSignal()

Types

This section is empty.

Jump to

Keyboard shortcuts

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