fake

package
v2.0.74+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2016 License: Apache-2.0, 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 HttpRequestor

type HttpRequestor struct {
	ghttp.HttpGateway
	GetCount  int
	PostCount int
	PutCount  int
}

func (*HttpRequestor) Get

func (*HttpRequestor) Post

func (*HttpRequestor) Put

type MultiPart

type MultiPart struct {
	UploadCallCount int
	SpyFileContents []byte
	StatusCode      int
}

func (*MultiPart) Upload

func (s *MultiPart) Upload(conn ghttp.ConnAuth, paramName, filename string, fileSize int64, fileRef io.Reader, params map[string]string) (res *http.Response, err error)

Jump to

Keyboard shortcuts

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