proxydb

package
v1.1.14 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 2 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 {
	DB *ip2proxy.DB
	// contains filtered or unexported fields
}

func NewClient

func NewClient(dbpath string) *Client

func (*Client) GetData

func (c *Client) GetData(ipaddr string) (*Data, error)

func (*Client) Open

func (c *Client) Open() error

type Data

type Data struct {
	IP        string
	ProxyType string
	Country   string
}

Jump to

Keyboard shortcuts

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