Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) Cooldown() (time.Time, bool)
- func (c *Client) Enabled() bool
- func (c *Client) Interval() time.Duration
- func (c *Client) Report(ctx context.Context, ip string, categories []string, timestamp time.Time, ...) (int, error)
- func (c *Client) ReportFtp(ctx context.Context, ip string, timestamp time.Time, comment string) (int, error)
- func (c *Client) ReportHttp(ctx context.Context, ip string, timestamp time.Time, comment string) (int, error)
- func (c *Client) ReportSsh(ctx context.Context, ip string, timestamp time.Time, comment string) (int, error)
Constants ¶
View Source
const ReportUrl = "https://api.abuseipdb.com/api/v2/report"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.