test

package
v0.0.0-...-389a847 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPMockTransport

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

func (*HTTPMockTransport) Add

func (t *HTTPMockTransport) Add(path string, res *http.Response, data []byte)

func (*HTTPMockTransport) AddHandlerFunc

func (t *HTTPMockTransport) AddHandlerFunc(path string, hf http.HandlerFunc)

func (*HTTPMockTransport) Clear

func (t *HTTPMockTransport) Clear()

func (*HTTPMockTransport) RoundTrip

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

Jump to

Keyboard shortcuts

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