Documentation
¶
Overview ¶
Package ipdb provides a gollem.ToolSet for AbuseIPDB IP address reputation and abuse-report lookups.
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 AbuseIPDB 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 AbuseIPDB. Fields are unexported; configure via Option.
func New ¶
New constructs the ToolSet. apiKey is the AbuseIPDB API key and is required. 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.