rdap

package
v0.0.0-...-5da0ebb Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WhoisDomainRecord

type WhoisDomainRecord struct {
	Handle          string   `json:"handle"`
	Name            string   `json:"name"`
	NameServers     []string `json:"nameservers"`
	Status          []string `json:"status"`
	Reg             string   `json:"registration"`
	Exp             string   `json:"expiration"`
	DomainsSearched []string `json:"domains_searched"`
}

func GetWhoisDomainResults

func GetWhoisDomainResults(domain string) (WhoisDomainRecord, error)

func (WhoisDomainRecord) PrintResult

func (w WhoisDomainRecord) PrintResult()

type WhoisIPRecord

type WhoisIPRecord struct {
	NetworkAddress   string   `json:"network"`
	BroadcastAddress string   `json:"broadcast"`
	CIDR             []string `json:"cidr"`
	IPVersion        string   `json:"ip_version"`
	Type             string   `json:"type"`
	Parent           string   `json:"parent_network"`
	Organization     string   `json:"organization"`
	Registrar        string   `json:"registrar"`
	IPSearched       []string `json:"ip_searched"`
}

func GetWhoisIPResults

func GetWhoisIPResults(ip string) (WhoisIPRecord, error)

func (WhoisIPRecord) PrintResult

func (w WhoisIPRecord) PrintResult()

Jump to

Keyboard shortcuts

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