Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
rdap/nameserver.go
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
39 lines (31 sloc)
737 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// OpenRDAP | |
// Copyright 2017 Tom Harwood | |
// MIT License, see the LICENSE file. | |
package rdap | |
// Nameserver represents information of a DNS nameserver. | |
// | |
// Nameserver is a topmost RDAP response object. | |
type Nameserver struct { | |
DecodeData *DecodeData | |
Common | |
Conformance []string `rdap:"rdapConformance"` | |
ObjectClassName string | |
Notices []Notice | |
Handle string | |
LDHName string `rdap:"ldhName"` | |
UnicodeName string | |
IPAddresses *IPAddressSet `rdap:"ipAddresses"` | |
Entities []Entity | |
Status []string | |
Remarks []Remark | |
Links []Link | |
Port43 string | |
Events []Event | |
} | |
// IPAddressSet is a subfield of Nameserver. | |
type IPAddressSet struct { | |
DecodeData *DecodeData | |
Common | |
V6 []string | |
V4 []string | |
} |