ipinfo

package
v0.0.0-...-db57c93 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*ipinfo.Client
	MaxRetries  int
	IpInfoToken string
}

func NewIpInfoClient

func NewIpInfoClient(maxRetries int, ipInfoToken string) *Client

func (*Client) GetAbuseContact

func (c *Client) GetAbuseContact(ipAddr string) (abuseContact string, err error)

GetAbuseContact returns the abuse contacts emails for the given IP address

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL