badgateway

package
v6.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error added in v0.8.3

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

Error is a custom error for pretty Sentry 'issues'

type RoundTripper

type RoundTripper struct {
	Transport *http.Transport
	// contains filtered or unexported fields
}

func NewRoundTripper

func NewRoundTripper(backend *url.URL, socket string, proxyHeadersTimeout time.Duration, developmentMode bool) *RoundTripper

NewRoundTripper returns a new RoundTripper instance using the provided values

func TestRoundTripper added in v0.7.9

func TestRoundTripper(backend *url.URL) *RoundTripper

func (*RoundTripper) RoundTrip

func (t *RoundTripper) RoundTrip(r *http.Request) (res *http.Response, err error)

Jump to

Keyboard shortcuts

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