output

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IpgConsoleOutput

type IpgConsoleOutput struct {
	Config *OutputInformationSettings
	Data   IpgOutputData
}

func (IpgConsoleOutput) Render

func (c IpgConsoleOutput) Render() []byte

type IpgJsonOutput

type IpgJsonOutput struct {
	Config *OutputInformationSettings
	Data   IpgOutputData
}

func (IpgJsonOutput) Render

func (c IpgJsonOutput) Render() []byte

type IpgOutputData

type IpgOutputData struct {
	Hostname      string `json:"hostname"`
	IPAddress     string `json:"ip_addr"`
	IPReverse     string `json:"arpa_addr"`
	DNSRecord     string `json:"dns_record"`
	ReverseRecord string `json:"ptr_record"`
}

type OutputInformationSettings

type OutputInformationSettings struct {
	AllData       bool
	Address       bool
	Reverse       bool
	DNSRecord     bool
	ReverseRecord bool

	Format string
	Silent bool
}

Jump to

Keyboard shortcuts

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