mocks

package
v0.0.0-...-6802d5b Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 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 MockIClient

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

MockIClient is a mock of IClient interface.

func NewMockIClient

func NewMockIClient(ctrl *gomock.Controller) *MockIClient

NewMockIClient creates a new mock instance.

func (*MockIClient) EXPECT

func (m *MockIClient) EXPECT() *MockIClientMockRecorder

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

func (*MockIClient) GetBlockByHash

func (m *MockIClient) GetBlockByHash(ctx context.Context, hash string) (*types.Block, error)

GetBlockByHash mocks base method.

func (*MockIClient) GetLatestBlock

func (m *MockIClient) GetLatestBlock(ctx context.Context) (*types.Block, error)

GetLatestBlock mocks base method.

type MockIClientMockRecorder

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

MockIClientMockRecorder is the mock recorder for MockIClient.

func (*MockIClientMockRecorder) GetBlockByHash

func (mr *MockIClientMockRecorder) GetBlockByHash(ctx, hash interface{}) *gomock.Call

GetBlockByHash indicates an expected call of GetBlockByHash.

func (*MockIClientMockRecorder) GetLatestBlock

func (mr *MockIClientMockRecorder) GetLatestBlock(ctx interface{}) *gomock.Call

GetLatestBlock indicates an expected call of GetLatestBlock.

Jump to

Keyboard shortcuts

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