proxyapi

package
v1.2.30 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(params GetParams) (*models.ProxyInfo, error)

Get returns information about a specific proxy

func List

func List(params ListParams) (*models.ProxyOverview, error)

List gets the list of proxies for a region

Types

type GetParams

type GetParams struct {
	*api.API
	ID     string
	Region string
}

GetParams is the set of parameters required for retrieving a proxy

func (GetParams) Validate

func (params GetParams) Validate() error

Validate checks the parameters

type ListParams

type ListParams struct {
	*api.API
	Region string
}

ListParams is the set of parameters required for retrieving proxies

func (ListParams) Validate

func (params ListParams) Validate() error

Validate checks the parameters

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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