libproxyrotator

package
v0.0.0-...-9c1130b Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultConfig = &Config{
		Port: "1080",
	}
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Port string
}

type ProxyRotator

type ProxyRotator struct {
	Config  *Config
	Proxies []string
}

func (*ProxyRotator) AddProxy

func (p *ProxyRotator) AddProxy(address string)

func (*ProxyRotator) DeleteProxy

func (p *ProxyRotator) DeleteProxy(address string)

func (*ProxyRotator) GetProxy

func (p *ProxyRotator) GetProxy() (string, error)

func (*ProxyRotator) Start

func (p *ProxyRotator) Start()

Jump to

Keyboard shortcuts

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