Documentation ¶
Index ¶
Constants ¶
View Source
const ( DomainWhoisComponent = "domain_whois" DomainWhoisResponsePort string = "response" DomainWhoisErrorPort string = "error" DomainWhoisRequestPort string = "request" )
Variables ¶
View Source
var ( ErrFetch = errors.New("fetchError") ErrParse = errors.New("parseError") )
Functions ¶
This section is empty.
Types ¶
type DomainWhoisError ¶
type DomainWhoisError struct { Context DomainWhoisRequestContext `json:"context,omitempty"` Error string `json:"error"` ErrorType string `json:"errorType" enum:"parseError,fetchError"` DomainName string `json:"domainName" format:"hostname"` }
type DomainWhoisRequest ¶
type DomainWhoisRequest struct { Context DomainWhoisRequestContext `json:"context,omitempty" configurable:"true" title:"Context" description:"Arbitrary message to be send further"` DomainName string `json:"domainName" required:"true" title:"Domain name to check" format:"hostname"` }
type DomainWhoisRequestContext ¶
type DomainWhoisRequestContext any
type DomainWhoisSuccess ¶
type DomainWhoisSuccess struct { Context DomainWhoisRequestContext `json:"context,omitempty"` WhoIs whoisparser.WhoisInfo `json:"whoIs"` DomainName string `json:"domainName" format:"hostname"` }
type Whois ¶
type Whois struct {
// contains filtered or unexported fields
}
func (*Whois) GetInfo ¶
func (t *Whois) GetInfo() module.ComponentInfo
type WhoisSettings ¶
type WhoisSettings struct {
EnableErrorPort bool `` /* 137-byte string literal not displayed */
}
Click to show internal directories.
Click to hide internal directories.