Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutnumRecord ¶
type AutnumRecord struct { Raw string `json:"raw,omitempty"` Number int `json:"number"` Handle string `json:"handle"` Name string `json:"name"` WhoisServer string `json:"whois_server,omitempty"` CreatedDate string `json:"created_date"` UpdatedDate string `json:"updated_date"` Status []string `json:"status,omitempty"` }
AutnumRecord represents the RDAP record for an autonomous system.
func (AutnumRecord) AssetType ¶
func (as AutnumRecord) AssetType() model.AssetType
AssetType implements the Asset interface.
func (AutnumRecord) JSON ¶
func (as AutnumRecord) JSON() ([]byte, error)
JSON implements the Asset interface.
type DomainRecord ¶
type DomainRecord struct { Raw string `json:"raw,omitempty"` ID string `json:"id,omitempty"` Domain string `json:"domain"` Punycode string `json:"punycode,omitempty"` Name string `json:"name,omitempty"` Extension string `json:"extension,omitempty"` WhoisServer string `json:"whois_server,omitempty"` CreatedDate string `json:"created_date,omitempty"` UpdatedDate string `json:"updated_date,omitempty"` ExpirationDate string `json:"expiration_date,omitempty"` Status []string `json:"status,omitempty"` DNSSEC bool `json:"dnssec,omitempty"` }
DomainRecord represents the WHOIS record of a domain.
func (DomainRecord) AssetType ¶
func (dr DomainRecord) AssetType() model.AssetType
AssetType implements the Asset interface.
func (DomainRecord) JSON ¶
func (dr DomainRecord) JSON() ([]byte, error)
JSON implements the Asset interface.
type IPNetRecord ¶ added in v0.8.0
type IPNetRecord struct { Raw string `json:"raw,omitempty"` CIDR netip.Prefix `json:"cidr"` Handle string `json:"handle"` StartAddress netip.Addr `json:"start_address"` EndAddress netip.Addr `json:"end_address"` Type string `json:"type"` Name string `json:"name"` Method string `json:"method,omitempty"` Country string `json:"country,omitempty"` ParentHandle string `json:"parent_handle,omitempty"` WhoisServer string `json:"whois_server,omitempty"` CreatedDate string `json:"created_date"` UpdatedDate string `json:"updated_date"` Status []string `json:"status,omitempty"` }
IPNetRecord represents the RDAP record for an IP network.
func (IPNetRecord) AssetType ¶ added in v0.8.0
func (ip IPNetRecord) AssetType() model.AssetType
AssetType implements the Asset interface.
func (IPNetRecord) JSON ¶ added in v0.8.0
func (ip IPNetRecord) JSON() ([]byte, error)
JSON implements the Asset interface.
func (IPNetRecord) Key ¶ added in v0.8.0
func (ip IPNetRecord) Key() string
Key implements the Asset interface.
Click to show internal directories.
Click to hide internal directories.