internal

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProxyClient

func NewProxyClient(base string, checkHost bool) *http.Client

NewProxyClient create ProxyClient foruce request to local FileSystem

Types

type Proxy

type Proxy struct {
	http.Handler
	// contains filtered or unexported fields
}

Proxy is http.Client Transport for testing

func (*Proxy) RoundTrip

func (p *Proxy) RoundTrip(req *http.Request) (*http.Response, error)

RoundTrip for implement http.RoundTripeer

Jump to

Keyboard shortcuts

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