Documentation ¶
Index ¶
- type Api
- type Client
- func (client *Client) Query(value string, query QueryFunc) (outputTypes.Output, error)
- func (client *Client) QueryDomain(_domain string) (outputTypes.Output, error)
- func (client *Client) QueryHashes(_hash string) (outputTypes.Output, error)
- func (client *Client) QueryIp(_ip string) (outputTypes.Output, error)
- type Configuration
- type QueryFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct { VTConfig vtsdk.Configuration `mapstructure:"virustotal"` Abuseipdb abuseipdbsdk.Configuration `mapstructure:"abuseaipdb"` }
type Client ¶
type Client struct { VirusTotalClient *vtsdk.Client AbuseipdbClient *abuseipdbsdk.Client }
func (*Client) QueryDomain ¶
func (client *Client) QueryDomain(_domain string) (outputTypes.Output, error)
func (*Client) QueryHashes ¶
func (client *Client) QueryHashes(_hash string) (outputTypes.Output, error)
type Configuration ¶
type Configuration struct {
Api Api `mapstructure:"api"`
}
TODO: move this somewhere better
Click to show internal directories.
Click to hide internal directories.