Documentation ¶
Index ¶
Constants ¶
View Source
const ( DomainWhoisComponent = "domain_whois" DomainWhoisSuccessPort string = "success" DomainWhoisErrorPort string = "error" DomainWhoisInPort string = "in" )
Variables ¶
View Source
var ( ErrFetch = errors.New("fetchError") ErrParse = errors.New("parseError") )
Functions ¶
This section is empty.
Types ¶
type DomainWhoisError ¶
type DomainWhoisError struct { Error string `json:"error"` ErrorType string `json:"errorType" enum:"parseError,fetchError"` DomainName string `json:"domainName" format:"hostname"` Context DomainWhoisRequestContext `json:"context,omitempty"` }
type DomainWhoisRequest ¶
type DomainWhoisRequest struct { Context DomainWhoisRequestContext `` /* 129-byte string literal not displayed */ DomainName string `json:"domainName" required:"true" title:"Domain name to check" format:"hostname" propertyOrder:"2"` }
type DomainWhoisRequestContext ¶
type DomainWhoisRequestContext any
type DomainWhoisSuccess ¶
type DomainWhoisSuccess struct { WhoIs whoisparser.WhoisInfo `json:"whoIs"` DomainName string `json:"domainName" format:"hostname"` Context DomainWhoisRequestContext `json:"context,omitempty"` }
Click to show internal directories.
Click to hide internal directories.