clientstest

package
v0.0.78 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package clientstest is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBlock added in v0.0.47

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

MockBlock is a mock of Block interface.

func NewMockBlock added in v0.0.47

func NewMockBlock(ctrl *gomock.Controller) *MockBlock

NewMockBlock creates a new mock instance.

func (*MockBlock) BlockByNumber added in v0.0.47

func (m *MockBlock) BlockByNumber(ctx context.Context, blockNo uint64) (interface{}, error)

BlockByNumber mocks base method.

func (*MockBlock) EXPECT added in v0.0.47

func (m *MockBlock) EXPECT() *MockBlockMockRecorder

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

func (*MockBlock) LatestBlockNumber added in v0.0.47

func (m *MockBlock) LatestBlockNumber(ctx context.Context) (uint64, error)

LatestBlockNumber mocks base method.

type MockBlockMockRecorder added in v0.0.47

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

MockBlockMockRecorder is the mock recorder for MockBlock.

func (*MockBlockMockRecorder) BlockByNumber added in v0.0.47

func (mr *MockBlockMockRecorder) BlockByNumber(ctx, blockNo interface{}) *gomock.Call

BlockByNumber indicates an expected call of BlockByNumber.

func (*MockBlockMockRecorder) LatestBlockNumber added in v0.0.47

func (mr *MockBlockMockRecorder) LatestBlockNumber(ctx interface{}) *gomock.Call

LatestBlockNumber indicates an expected call of LatestBlockNumber.

Jump to

Keyboard shortcuts

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