mocks

package
v0.0.0-...-b0339d0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: Apache-2.0 Imports: 3 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 MockCommand

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

MockCommand is a mock of Command interface

func NewMockCommand

func NewMockCommand(ctrl *gomock.Controller) *MockCommand

NewMockCommand creates a new mock instance

func (*MockCommand) EXPECT

func (m *MockCommand) EXPECT() *MockCommandMockRecorder

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

func (*MockCommand) SendHttpRequest

func (m *MockCommand) SendHttpRequest(method string, urls []string, queries map[string]interface{}, dataOptional ...[]byte) ([]int, []string)

SendHttpRequest mocks base method

type MockCommandMockRecorder

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

MockCommandMockRecorder is the mock recorder for MockCommand

func (*MockCommandMockRecorder) SendHttpRequest

func (mr *MockCommandMockRecorder) SendHttpRequest(method, urls, queries interface{}, dataOptional ...interface{}) *gomock.Call

SendHttpRequest indicates an expected call of SendHttpRequest

type MockhttpWrapper

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

MockhttpWrapper is a mock of httpWrapper interface

func NewMockhttpWrapper

func NewMockhttpWrapper(ctrl *gomock.Controller) *MockhttpWrapper

NewMockhttpWrapper creates a new mock instance

func (*MockhttpWrapper) DoWrapper

func (m *MockhttpWrapper) DoWrapper(req *http.Request) (*http.Response, error)

DoWrapper mocks base method

func (*MockhttpWrapper) EXPECT

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

type MockhttpWrapperMockRecorder

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

MockhttpWrapperMockRecorder is the mock recorder for MockhttpWrapper

func (*MockhttpWrapperMockRecorder) DoWrapper

func (mr *MockhttpWrapperMockRecorder) DoWrapper(req interface{}) *gomock.Call

DoWrapper indicates an expected call of DoWrapper

Jump to

Keyboard shortcuts

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