proxy

package
v0.14.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildProxyURL

func BuildProxyURL(username, password, scheme, path string) (*url.URL, error)

BuildProxyURL will build a url based on a username, password, scheme and path. Return an error when the url is invalid.

func RoundRobinProxy

func RoundRobinProxy(urls ...*url.URL) func(r *http.Request) (*url.URL, error)

RoundRobinProxy will return each proxy in rotating order

Types

This section is empty.

Jump to

Keyboard shortcuts

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