Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // FuncMap defines the available operations for the `details` package. FuncMap = map[string]func(c Client, target string) (*Output, error){ "http_quick": httpShort, "http_details": httpDetails, "https_quick": httpsShort, "https_details": httpsDetails, "ping": pingShort, "dkim": dkimShort, "spf": spfShort, "dmarc": dmarcShort, "hostname": hostnameShort, "asn": geoASN, "country": geoCountry, "mx": mxShort, "smtp25": smtp25, "smtp465": smtp465, "smtp587": smtp587, "imap143": imap143, "imap993": imap993, "pop3110": pop3110, "pop3s995": pop3995, } )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client defines the available clients to perform details operations.
type Output ¶
type Output struct { ID string `json:"id"` OpName string `json:"op_name"` Target string `json:"target"` CreatedAt time.Time `json:"created_at"` Results []string `json:"results"` Details []string `json:"details"` OpSuccess bool `json:"op_success"` OpDuration time.Duration `json:"op_duration"` }
Output defines the structure of a `details` operation.
func (*Output) AppendDetails ¶
AppendDetails allows appending multiple results to an existing Output.
func (*Output) AppendResults ¶
AppendResults allows appending multiple results to an existing Output.
Click to show internal directories.
Click to hide internal directories.