libproxyrotator

package module
v0.0.0-...-0407566 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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