http

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPProxy

func NewHTTPProxy(u *url.URL, forward proxy.Dialer) (proxy.Dialer, error)

Types

type HttpProxy

type HttpProxy struct {
	TlsConfig *tls.Config
	Host      string
	HaveAuth  bool
	Username  string
	Password  string
	// contains filtered or unexported fields
}

HttpProxy is an HTTP/HTTPS proxy.

func (*HttpProxy) Dial

func (s *HttpProxy) Dial(network, addr string) (net.Conn, error)

Jump to

Keyboard shortcuts

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