utils

package
v0.0.0-...-63ff7ac Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: CC0-1.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IpToByteSlice

func IpToByteSlice(ip string) [4]byte

func PrettyPrint

func PrettyPrint(timestamp time.Time, reply *icmpUtils.IcmpReply, domain string, icmpTime time.Duration)

func ResolveDomain

func ResolveDomain(domain string) net.IP

Types

type UserInput

type UserInput struct {
	Domain   string
	Quantity int
}

func GetUserInput

func GetUserInput() UserInput

func NewUserInput

func NewUserInput(domain string, quantity int) UserInput

Jump to

Keyboard shortcuts

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