Documentation
¶
Overview ¶
Package providers contains third-party proxy provider adapters that implement the proxy.Provider interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrightData ¶
type BrightData struct {
// contains filtered or unexported fields
}
BrightData provides proxies from the Bright Data (Luminati) service.
The apiKey field carries the full credential string in the format:
customer-{customer_id}-zone-{zone}:password
or just:
customer-{customer_id}-zone-{zone}
func NewBrightData ¶
func NewBrightData(apiKey, product, country string) *BrightData
NewBrightData creates a BrightData provider. apiKey is the full credential string (username or username:password). product is one of "residential", "datacenter", or "isp". country is an ISO 3166-1 alpha-2 country code (e.g. "US", "DE").
type Oxylabs ¶
type Oxylabs struct {
// contains filtered or unexported fields
}
Oxylabs provides proxies from the Oxylabs residential/datacenter service.
func NewOxylabs ¶
NewOxylabs creates an Oxylabs provider. username and password are the Oxylabs account credentials. product is one of "residential", "datacenter", or "isp". country is an ISO 3166-1 alpha-2 country code (e.g. "US", "DE").
type Smartproxy ¶
type Smartproxy struct {
// contains filtered or unexported fields
}
Smartproxy provides proxies from the Smartproxy residential service.
func NewSmartproxy ¶
func NewSmartproxy(username, password, country string) *Smartproxy
NewSmartproxy creates a Smartproxy provider. username and password are the Smartproxy account credentials. country is an ISO 3166-1 alpha-2 country code (e.g. "US", "AU").