proxy

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReverseProxy

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

func NewReverseProxy

func NewReverseProxy() *ReverseProxy

func (*ReverseProxy) AddToSetLimitPath

func (rp *ReverseProxy) AddToSetLimitPath(paths ...string)

func (*ReverseProxy) AddToSetUpstream

func (rp *ReverseProxy) AddToSetUpstream(servers ...string)

func (*ReverseProxy) Proxy

func (rp *ReverseProxy) Proxy() http.Handler

func (*ReverseProxy) SetPrefixPath

func (rp *ReverseProxy) SetPrefixPath(path string)

Jump to

Keyboard shortcuts

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