Documentation
¶
Overview ¶
Package vt provides a gollem.ToolSet for VirusTotal threat-intelligence lookups (IP addresses, domains, file hashes, and URLs).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*ToolSet)
Option configures a ToolSet.
func WithBaseURL ¶
WithBaseURL overrides the VirusTotal API base URL.
func WithHTTPClient ¶
WithHTTPClient overrides the HTTP client used for requests.
func WithLogger ¶
WithLogger sets the logger. A nil logger keeps the default (slog.Default()).
type ToolSet ¶
type ToolSet struct {
// contains filtered or unexported fields
}
ToolSet implements gollem.ToolSet for VirusTotal. Fields are unexported; configure via Option.
func New ¶
New constructs the ToolSet. apiKey is required; New returns an error if it is empty. It only validates static configuration; use Ping to verify connectivity and credentials.
func (*ToolSet) Ping ¶
Ping verifies connectivity and credentials by querying a well-known IP address indicator.