proxy

package
v0.0.0-...-fc405d0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: GPL-3.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxys

type Proxys struct {
	Client  *http.Client
	BaseURL string
}

func (*Proxys) Copy

func (p *Proxys) Copy(w http.ResponseWriter, r *http.Response)

Copy client http.Response to http.ResponseWriter

func (*Proxys) ProcessRequest

func (p *Proxys) ProcessRequest(r *http.Request) error

ProcessRequest update and modify the request using proxy

func (*Proxys) ServeHTTP

func (p *Proxys) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP proxy using http Handler interface

Jump to

Keyboard shortcuts

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