Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FormatPretty = "pretty" FormatColumn = "column" FormatJSON = "json" FormatYAML = "yaml" FormatRAW = "raw" )
Functions ¶
This section is empty.
Types ¶
type Entry ¶ added in v0.16.0
type Entry struct {
Queries []dns.Msg
Replies []*dns.Msg
Server string
// Time is the total time it took to query this server
Time time.Duration
PTRs map[string]string `json:"-"` // IP -> PTR value
// contains filtered or unexported fields
}
Entry stores the replies from a server
type Printer ¶
Printer stores global options across multiple entries
func (Printer) PrettyPrintNSID ¶ added in v0.16.0
PrettyPrintNSID prints the NSID from a slice of entries
func (Printer) PrintColumn ¶ added in v0.16.0
PrintColumn prints an entry slice in column format
func (Printer) PrintPretty ¶
func (Printer) PrintStructured ¶
Click to show internal directories.
Click to hide internal directories.