provider

package
v0.0.0-...-2cbf347 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyProvider

type ProxyProvider interface {
	Fetch(done chan int) <-chan proxy.Proxy
}

func FromFiles

func FromFiles(files ...string) ProxyProvider

func FromStrings

func FromStrings(proxyUrls ...string) ProxyProvider

func FromUrls

func FromUrls(urls ...string) ProxyProvider

func Group

func Group(providers ...ProxyProvider) ProxyProvider

func HTTP

func HTTP(providers ...ProxyProvider) ProxyProvider

func HTTPS

func HTTPS(providers ...ProxyProvider) ProxyProvider

func Repeat

func Repeat(p ProxyProvider, times int, sleep time.Duration) ProxyProvider

func Socks4

func Socks4(providers ...ProxyProvider) ProxyProvider

func Socks5

func Socks5(providers ...ProxyProvider) ProxyProvider

func WithType

func WithType(proxyType proxy.ProxyType, providers ...ProxyProvider) ProxyProvider

Jump to

Keyboard shortcuts

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