util

package
v0.2.0-beta-1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BG  = "\033[47m"   //BG
	B   = "\033[0;90m" //Black
	G   = "\033[1;32m" //Green
	R   = "\033[1;31m" //Red
	Y   = "\033[1;33m" //Yellow
	W   = "\033[1;97m" //White
	IC  = "\033[0;96m" //High Intensty Cyan
	Rst = "\033[1;m"   //Reset
)

Color constants

Variables

This section is empty.

Functions

func Banner() string

func FormatStr

func FormatStr(str string) string

func HandleExit

func HandleExit()

func HasSuffix

func HasSuffix(str, suffix string) string

func ParseARecord

func ParseARecord(rr []d.RR) []string

func SaveToFile

func SaveToFile(resolved []string, filename string)

func SetResolver

func SetResolver(filename string, DefaultDNSServer []string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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