providers

package
v0.0.0-...-c56127d Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient() *http.Client

func NewTransport

func NewTransport() *http.Transport

Types

type CoolProxy

type CoolProxy struct {
	// contains filtered or unexported fields
}

func NewCoolProxy

func NewCoolProxy() *CoolProxy

func (*CoolProxy) List

func (c *CoolProxy) List() ([]models.Proxy, error)

func (*CoolProxy) Load

func (c *CoolProxy) Load(body []byte) ([]models.Proxy, error)

func (*CoolProxy) MakeRequest

func (c *CoolProxy) MakeRequest() ([]byte, error)

func (*CoolProxy) Name

func (*CoolProxy) Name() string

func (*CoolProxy) SetProxy

func (c *CoolProxy) SetProxy(proxy models.Proxy)

type Feed

type Feed struct {
	Name string
	URL  string
	Type string
}

type FreeProxyList

type FreeProxyList struct {
	// contains filtered or unexported fields
}

func NewFreeProxyList

func NewFreeProxyList() *FreeProxyList

func (*FreeProxyList) List

func (x *FreeProxyList) List() ([]models.Proxy, error)

func (*FreeProxyList) Load

func (x *FreeProxyList) Load(body []byte) ([]models.Proxy, error)

func (*FreeProxyList) MakeRequest

func (x *FreeProxyList) MakeRequest() ([]byte, error)

func (*FreeProxyList) Name

func (*FreeProxyList) Name() string

func (*FreeProxyList) SetProxy

func (x *FreeProxyList) SetProxy(proxy models.Proxy)

type HidemyName

type HidemyName struct {
	// contains filtered or unexported fields
}

func NewHidemyName

func NewHidemyName() *HidemyName

func (*HidemyName) List

func (x *HidemyName) List() ([]models.Proxy, error)

func (*HidemyName) Load

func (x *HidemyName) Load(body []byte) ([]models.Proxy, error)

func (*HidemyName) MakeRequest

func (x *HidemyName) MakeRequest() ([]byte, error)

func (*HidemyName) Name

func (x *HidemyName) Name() string

func (*HidemyName) SetProxy

func (x *HidemyName) SetProxy(proxy models.Proxy)

type ProxyList

type ProxyList struct {
	// contains filtered or unexported fields
}

func NewProxyList

func NewProxyList() *ProxyList

func (*ProxyList) List

func (x *ProxyList) List() ([]models.Proxy, error)

func (*ProxyList) Load

func (x *ProxyList) Load() ([]models.Proxy, error)

func (*ProxyList) MakeRequest

func (x *ProxyList) MakeRequest(page int) ([]byte, error)

func (*ProxyList) Name

func (*ProxyList) Name() string

func (*ProxyList) SetProxy

func (x *ProxyList) SetProxy(proxy models.Proxy)

type PubProxy

type PubProxy struct {
	// contains filtered or unexported fields
}

func NewPubProxy

func NewPubProxy() *PubProxy

func (*PubProxy) List

func (x *PubProxy) List() ([]models.Proxy, error)

func (*PubProxy) Load

func (x *PubProxy) Load() ([]models.Proxy, error)

func (*PubProxy) MakeRequest

func (x *PubProxy) MakeRequest() ([]byte, error)

func (*PubProxy) Name

func (*PubProxy) Name() string

func (*PubProxy) SetProxy

func (x *PubProxy) SetProxy(proxy models.Proxy)

type TxtDomains

type TxtDomains struct {
	// contains filtered or unexported fields
}

func NewTxtDomains

func NewTxtDomains(logger logrus.FieldLogger) *TxtDomains

func (*TxtDomains) List

func (c *TxtDomains) List() ([]models.Proxy, error)

func (*TxtDomains) Load

func (c *TxtDomains) Load(body []byte) ([]models.Proxy, error)

func (*TxtDomains) MakeRequest

func (c *TxtDomains) MakeRequest(urllist string) ([]byte, error)

func (*TxtDomains) Name

func (*TxtDomains) Name() string

func (*TxtDomains) SetProxy

func (c *TxtDomains) SetProxy(proxy models.Proxy)

type XseoIn

type XseoIn struct {
	// contains filtered or unexported fields
}

func NewXseoIn

func NewXseoIn() *XseoIn

func (*XseoIn) DecodeParamsToMap

func (x *XseoIn) DecodeParamsToMap(params string) map[byte]byte

func (*XseoIn) DecodePort

func (x *XseoIn) DecodePort(decodeParams map[byte]byte, encryptedData string) []byte

func (*XseoIn) List

func (x *XseoIn) List() ([]models.Proxy, error)

func (*XseoIn) Load

func (x *XseoIn) Load(body []byte) ([]models.Proxy, error)

func (*XseoIn) MakeRequest

func (x *XseoIn) MakeRequest() ([]byte, error)

func (*XseoIn) Name

func (*XseoIn) Name() string

func (*XseoIn) SetProxy

func (x *XseoIn) SetProxy(proxy models.Proxy)

Jump to

Keyboard shortcuts

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