testing

package
v0.0.0-...-266c88a Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConditionalTransport

type ConditionalTransport struct {
	Transport
	CondFunc func(*http.Request) bool
}

func (*ConditionalTransport) RoundTrip

func (t *ConditionalTransport) RoundTrip(req *http.Request) (*http.Response, error)

type Transport

type Transport struct {
	Message string
	Status  int
	Headers map[string][]string
}

func (*Transport) RoundTrip

func (t *Transport) RoundTrip(req *http.Request) (resp *http.Response, err error)

Jump to

Keyboard shortcuts

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