fake

package
v0.0.137 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2015 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientDoer

type ClientDoer struct {
	Response   *http.Response
	Error      error
	SpyRequest http.Request
}

ClientDoer - a fake implementation of a clientdoer interface

func (*ClientDoer) Do

func (s *ClientDoer) Do(req *http.Request) (resp *http.Response, err error)

Do - fake do method

Jump to

Keyboard shortcuts

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