mocks

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: MIT Imports: 5 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 MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) BlockHeader

func (m *MockInterface) BlockHeader(arg0 context.Context, arg1 uint32) (*proto.BlockHeader, error)

BlockHeader mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) Height

func (m *MockInterface) Height(arg0 context.Context) (uint32, error)

Height mocks base method.

func (*MockInterface) Transaction

Transaction mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) BlockHeader

func (mr *MockInterfaceMockRecorder) BlockHeader(arg0, arg1 interface{}) *gomock.Call

BlockHeader indicates an expected call of BlockHeader.

func (*MockInterfaceMockRecorder) Height

func (mr *MockInterfaceMockRecorder) Height(arg0 interface{}) *gomock.Call

Height indicates an expected call of Height.

func (*MockInterfaceMockRecorder) Transaction

func (mr *MockInterfaceMockRecorder) Transaction(arg0, arg1 interface{}) *gomock.Call

Transaction indicates an expected call of Transaction.

Jump to

Keyboard shortcuts

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