fake

package
v0.1.60 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2017 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 HttpRequestor

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

func (*HttpRequestor) Get

func (*HttpRequestor) Post

func (*HttpRequestor) Put

type MultiPart added in v0.1.16

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

func (*MultiPart) Upload added in v0.1.16

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