mock

package
v0.0.0-...-8afc2e7 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MockJSONResponse

func MockJSONResponse(body string, status int) *http.Response

Types

type MockClient

type MockClient struct {
	mock.Mock
}

func (*MockClient) Do

func (m *MockClient) Do(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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