forward

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bind

func Bind(name []string)

func HttpForward

func HttpForward(r *http.Request) (*http.Response, error)

func HttpsForward

func HttpsForward(address string, r *http.Request) (net.Conn, error)

Types

type Forward

type Forward interface {
	// contains filtered or unexported methods
}

func NewDefault

func NewDefault(timeout int) Forward

func NewHttpProtcal

func NewHttpProtcal(address string, auth *auth.AuthInfo) Forward

func NewHttpsProtcal

func NewHttpsProtcal(address string,
	auth *auth.AuthInfo,
	config *tls.Config) Forward

type ForwardGroup

type ForwardGroup struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

type RuleInstance

type RuleInstance struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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