mocks

package
v0.5.0-rc7 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: Apache-2.0 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 MockGRPC added in v0.5.0

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

MockGRPC is a mock of GRPC interface

func NewMockGRPC added in v0.5.0

func NewMockGRPC(ctrl *gomock.Controller) *MockGRPC

NewMockGRPC creates a new mock instance

func (*MockGRPC) EXPECT added in v0.5.0

func (m *MockGRPC) EXPECT() *MockGRPCMockRecorder

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

func (*MockGRPC) GetBlock added in v0.5.0

func (m *MockGRPC) GetBlock(arg0 context.Context, arg1 structs.HeightHash) (structs.Block, error)

GetBlock mocks base method

func (*MockGRPC) SearchTx added in v0.5.0

func (m *MockGRPC) SearchTx(arg0 context.Context, arg1 structs.HeightHash, arg2 structs.Block, arg3 uint64) ([]structs.Transaction, error)

SearchTx mocks base method

type MockGRPCMockRecorder added in v0.5.0

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

MockGRPCMockRecorder is the mock recorder for MockGRPC

func (*MockGRPCMockRecorder) GetBlock added in v0.5.0

func (mr *MockGRPCMockRecorder) GetBlock(arg0, arg1 interface{}) *gomock.Call

GetBlock indicates an expected call of GetBlock

func (*MockGRPCMockRecorder) SearchTx added in v0.5.0

func (mr *MockGRPCMockRecorder) SearchTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SearchTx indicates an expected call of SearchTx

Jump to

Keyboard shortcuts

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