round_tripper

package
v0.0.0-...-69c5d92 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2016 License: Apache-2.0, BSD-2-Clause-Views, BSD-3-Clause, + 1 more Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProxyRoundTripper

func NewProxyRoundTripper(backend bool, transport http.RoundTripper, endpointIterator route.EndpointIterator,
	handler *handler.RequestHandler, afterRoundTrip AfterRoundTrip) http.RoundTripper

Types

type AfterRoundTrip

type AfterRoundTrip func(rsp *http.Response, endpoint *route.Endpoint, err error)

type BackendRoundTripper

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

func (*BackendRoundTripper) RoundTrip

func (rt *BackendRoundTripper) RoundTrip(request *http.Request) (*http.Response, error)

type RouteServiceRoundTripper

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

func (*RouteServiceRoundTripper) RoundTrip

func (rt *RouteServiceRoundTripper) RoundTrip(request *http.Request) (*http.Response, error)

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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