http

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReverseProxy

func NewReverseProxy(director func(*http.Request),
	modifyResponse func(*http.Response) error) http.Handler

func NewReverseProxyWithCustom

func NewReverseProxyWithCustom(director func(*http.Request),
	modifyResponse func(*http.Response) error) http.Handler

Types

type ReverseProxyWithCustom

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

func (*ReverseProxyWithCustom) ServeHTTP

func (r *ReverseProxyWithCustom) ServeHTTP(rw http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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