proxy

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: Apache-2.0 Imports: 5 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 Params) (*models.ProxyOverview, error)

List gets the list of proxies for a region

Types

type GetParams

type GetParams struct {
	Params
	ID 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 Params

type Params struct {
	*api.API
}

Params is the generic set of parameters used for any proxy call

func (Params) Validate

func (params Params) 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