global

package
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultDNSServer is the default DNS server that the resolver will use if none is specified.
	DefaultDNSServer = "8.8.8.8:53"

	// DefaultTimeout is the default timeout for DNS queries.
	DefaultTimeout = 500 * time.Millisecond
)

Variables

View Source
var (
	Total int
	Count int
)

Variables to hold counting data on runtime.

View Source
var (
	IPv4          *regexp.Regexp
	Host          string
	Filename      string
	SaveOutput    string
	ResolversFile string
	Resolvers     []string
	Timeout       time.Duration
	Threads       int
	Verbose       bool
	Plain         bool
	Resolved      []string
)

IPX Options

View Source
var (
	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
		fmt.Sprintf("%s\t_ ___  %s_  _ \n\t%s| |__]  %s\\/\n\t%s| |    %s_/\\_ \n\t%s\tv0.1.0%s beta%s", IC, R, IC, R, IC, R, W, Y, Rst)} // Fancy banner(s)
)

Color variables

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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