jsonrpcmocks

package
v0.0.0-...-ae0dd77 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package jsonrpcmocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) BatchCall

func (m *MockClient) BatchCall(arg0 context.Context, arg1 *jsonrpc.RequestMethod, arg2 []jsonrpc.Params, arg3 ...jsonrpc.Option) ([]*jsonrpc.Response, error)

BatchCall mocks base method.

func (*MockClient) Call

func (m *MockClient) Call(arg0 context.Context, arg1 *jsonrpc.RequestMethod, arg2 jsonrpc.Params, arg3 ...jsonrpc.Option) (*jsonrpc.Response, error)

Call mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) BatchCall

func (mr *MockClientMockRecorder) BatchCall(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call

BatchCall indicates an expected call of BatchCall.

func (*MockClientMockRecorder) Call

func (mr *MockClientMockRecorder) Call(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call

Call indicates an expected call of Call.

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) Do

func (m *MockHTTPClient) Do(arg0 *http.Request) (*http.Response, error)

Do mocks base method.

func (*MockHTTPClient) EXPECT

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

type MockHTTPClientMockRecorder

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

MockHTTPClientMockRecorder is the mock recorder for MockHTTPClient.

func (*MockHTTPClientMockRecorder) Do

func (mr *MockHTTPClientMockRecorder) Do(arg0 any) *gomock.Call

Do indicates an expected call of Do.

Jump to

Keyboard shortcuts

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