Versions in this module Expand all Collapse all v0 v0.9.0 Dec 2, 2018 Changes in this version + func RunCLI(args []string, stdout io.Writer, stderr io.Writer, options CLIOptions) int + type Autnum struct + Conformance []string + Country string + DecodeData *DecodeData + EndAutnum *uint32 + Entities []Entity + Events []Event + Handle string + IPVersion string + Links []Link + Name string + Notices []Notice + ObjectClassName string + Port43 string + Remarks []Remark + StartAutnum *uint32 + Status []string + Type string + type CLIOptions struct + Sandbox bool + type Client struct + Bootstrap *bootstrap.Client + HTTP *http.Client + ServiceProviderExperiment bool + UserAgent string + Verbose func(text string) + func (c *Client) Do(req *Request) (*Response, error) + func (c *Client) QueryAutnum(autnum string) (*Autnum, error) + func (c *Client) QueryDomain(domain string) (*Domain, error) + func (c *Client) QueryIP(ip string) (*IPNetwork, error) + type ClientError struct + Text string + Type ClientErrorType + func (c ClientError) Error() string + type ClientErrorType uint + const BootstrapNoMatch + const BootstrapNotSupported + const InputError + const NoWorkingServers + const ObjectDoesNotExist + const RDAPServerError + const WrongResponseType + type Common struct + Lang string + type DSData struct + Algorithm *uint8 + DecodeData *DecodeData + Digest string + DigestType *uint8 + Events []Event + KeyTag *uint64 + Links []Link + type DecodeData struct + func (r DecodeData) Fields() []string + func (r DecodeData) Notes(name string) []string + func (r DecodeData) String() string + func (r DecodeData) UnknownFields() []string + func (r DecodeData) Value(name string) interface{} + type Decoder struct + func NewDecoder(jsonBlob []byte, opts ...DecoderOption) *Decoder + func (d *Decoder) Decode() (interface{}, error) + type DecoderError struct + func (d DecoderError) Error() string + type DecoderOption func(*Decoder) + type Domain struct + Conformance []string + DecodeData *DecodeData + Entities []Entity + Events []Event + Handle string + LDHName string + Links []Link + Nameservers []Nameserver + Network *IPNetwork + Notices []Notice + ObjectClassName string + Port43 string + PublicIDs []PublicID + Remarks []Remark + SecureDNS *SecureDNS + Status []string + UnicodeName string + Variants []Variant + type DomainSearchResults struct + Conformance []string + DecodeData *DecodeData + Domains []Domain + Notices []Notice + type Entity struct + AsEventActor []Event + Autnums []Autnum + Conformance []string + DecodeData *DecodeData + Entities []Entity + Events []Event + Handle string + Links []Link + Networks []IPNetwork + Notices []Notice + ObjectClassName string + Port43 string + PublicIDs []PublicID + Remarks []Remark + Roles []string + Status []string + VCard *VCard + type EntitySearchResults struct + Conformance []string + DecodeData *DecodeData + Entities []Entity + Notices []Notice + type Error struct + Conformance []string + DecodeData *DecodeData + Description []string + ErrorCode *uint16 + Notices []Notice + Title string + type Event struct + Action string + Actor string + Date string + DecodeData *DecodeData + Links []Link + type HTTPResponse struct + Body []byte + Duration time.Duration + Error error + Response *http.Response + URL string + type Help struct + Conformance []string + DecodeData *DecodeData + Notices []Notice + type IPAddressSet struct + DecodeData *DecodeData + V4 []string + V6 []string + type IPNetwork struct + Conformance []string + Country string + DecodeData *DecodeData + EndAddress string + Entities []Entity + Events []Event + Handle string + IPVersion string + Links []Link + Name string + Notices []Notice + ObjectClassName string + ParentHandle string + Port43 string + Remarks []Remark + StartAddress string + Status []string + Type string + type KeyData struct + Algorithm *uint8 + DecodeData *DecodeData + Events []Event + Flags *uint16 + Links []Link + Protocol *uint8 + PublicKey string + type Link struct + DecodeData *DecodeData + Href string + HrefLang []string + Media string + Rel string + Title string + Type string + Value string + type Nameserver struct + Conformance []string + DecodeData *DecodeData + Entities []Entity + Events []Event + Handle string + IPAddresses *IPAddressSet + LDHName string + Links []Link + Notices []Notice + ObjectClassName string + Port43 string + Remarks []Remark + Status []string + UnicodeName string + type NameserverSearchResults struct + Conformance []string + DecodeData *DecodeData + Nameservers []Nameserver + Notices []Notice + type Notice struct + DecodeData *DecodeData + Description []string + Links []Link + Title string + Type string + type Printer struct + BriefLinks bool + BriefOutput bool + IndentChar rune + IndentSize uint + OmitNotices bool + OmitRemarks bool + Writer io.Writer + func (p *Printer) Print(obj RDAPObject) + type PublicID struct + DecodeData *DecodeData + Identifier string + Type string + type RDAPObject interface + type Remark struct + DecodeData *DecodeData + Description []string + Links []Link + Title string + Type string + type Request struct + FetchRoles []string + Params url.Values + Query string + Server *url.URL + Timeout time.Duration + Type RequestType + func NewAutnumRequest(asn uint32) *Request + func NewAutoRequest(queryText string) *Request + func NewDomainRequest(domain string) *Request + func NewEntityRequest(entity string) *Request + func NewHelpRequest() *Request + func NewIPNetRequest(net *net.IPNet) *Request + func NewIPRequest(ip net.IP) *Request + func NewNameserverRequest(nameserver string) *Request + func NewRawRequest(rdapURL *url.URL) *Request + func NewRequest(requestType RequestType, query string) *Request + func (r *Request) Context() context.Context + func (r *Request) URL() *url.URL + func (r *Request) WithContext(ctx context.Context) *Request + func (r *Request) WithServer(server *url.URL) *Request + type RequestType uint8 + const AutnumRequest + const DomainRequest + const DomainSearchByNameserverIPRequest + const DomainSearchByNameserverRequest + const DomainSearchRequest + const EntityRequest + const EntitySearchByHandleRequest + const EntitySearchRequest + const HelpRequest + const IPRequest + const NameserverRequest + const NameserverSearchByNameserverIPRequest + const NameserverSearchRequest + const RawRequest + func (r RequestType) String() string + type Response struct + BootstrapAnswer *bootstrap.Answer + HTTP []*HTTPResponse + Object RDAPObject + func (r *Response) ToWhoisStyleResponse() *WhoisStyleResponse + type SecureDNS struct + DS []DSData + DecodeData *DecodeData + DelegationSigned *bool + Keys []KeyData + MaxSigLife *uint64 + ZoneSigned *bool + type VCard struct + Properties []*VCardProperty + func NewVCard(jsonBlob []byte) (*VCard, error) + func (v *VCard) Country() string + func (v *VCard) Email() string + func (v *VCard) ExtendedAddress() string + func (v *VCard) Fax() string + func (v *VCard) Get(name string) []*VCardProperty + func (v *VCard) GetFirst(name string) *VCardProperty + func (v *VCard) Locality() string + func (v *VCard) Name() string + func (v *VCard) POBox() string + func (v *VCard) PostalCode() string + func (v *VCard) Region() string + func (v *VCard) StreetAddress() string + func (v *VCard) String() string + func (v *VCard) Tel() string + type VCardProperty struct + Name string + Parameters map[string][]string + Type string + Value interface{} + func (p *VCardProperty) String() string + func (p *VCardProperty) Values() []string + type Variant struct + DecodeData *DecodeData + IDNTable string + Relation []string + VariantNames []VariantName + type VariantName struct + DecodeData *DecodeData + LDHName string + UnicodeName string + type WhoisStyleResponse struct + Data map[string][]string + KeyDisplayOrder []string