mocks

package
v0.0.0-...-2bd0072 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHttpClient

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

MockHttpClient is a mock of HttpClient interface

func NewMockHttpClient

func NewMockHttpClient(ctrl *gomock.Controller) *MockHttpClient

NewMockHttpClient creates a new mock instance

func (*MockHttpClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockHttpClient) PostForm

func (m *MockHttpClient) PostForm(url string, data url.Values) (*http.Response, error)

PostForm mocks base method

type MockHttpClientMockRecorder

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

MockHttpClientMockRecorder is the mock recorder for MockHttpClient

func (*MockHttpClientMockRecorder) PostForm

func (mr *MockHttpClientMockRecorder) PostForm(url, data interface{}) *gomock.Call

PostForm indicates an expected call of PostForm

Jump to

Keyboard shortcuts

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