Help us shape the future of Go! Take the 2026 Go Developer Survey

chainmock

package
v1.16.14 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package chainmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block added in v0.15.6

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

Block is a mock of Block interface.

func NewBlock added in v0.15.6

func NewBlock(ctrl *gomock.Controller) *Block

NewBlock creates a new mock instance.

func (*Block) Accept added in v0.15.6

func (m *Block) Accept(arg0 context.Context) error

Accept mocks base method.

func (*Block) Bytes added in v0.15.6

func (m *Block) Bytes() []byte

Bytes mocks base method.

func (*Block) EXPECT added in v0.15.6

func (m *Block) EXPECT() *BlockMockRecorder

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

func (*Block) Height added in v0.15.6

func (m *Block) Height() uint64

Height mocks base method.

func (*Block) ID added in v0.15.6

func (m *Block) ID() ids.ID

ID mocks base method.

func (*Block) Parent added in v0.15.6

func (m *Block) Parent() ids.ID

Parent mocks base method.

func (*Block) Reject added in v0.15.6

func (m *Block) Reject(arg0 context.Context) error

Reject mocks base method.

func (*Block) Timestamp added in v0.15.6

func (m *Block) Timestamp() time.Time

Timestamp mocks base method.

func (*Block) Verify added in v0.15.6

func (m *Block) Verify(arg0 context.Context) error

Verify mocks base method.

type BlockMockRecorder added in v0.15.6

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

BlockMockRecorder is the mock recorder for Block.

func (*BlockMockRecorder) Accept added in v0.15.6

func (mr *BlockMockRecorder) Accept(arg0 any) *gomock.Call

Accept indicates an expected call of Accept.

func (*BlockMockRecorder) Bytes added in v0.15.6

func (mr *BlockMockRecorder) Bytes() *gomock.Call

Bytes indicates an expected call of Bytes.

func (*BlockMockRecorder) Height added in v0.15.6

func (mr *BlockMockRecorder) Height() *gomock.Call

Height indicates an expected call of Height.

func (*BlockMockRecorder) ID added in v0.15.6

func (mr *BlockMockRecorder) ID() *gomock.Call

ID indicates an expected call of ID.

func (*BlockMockRecorder) Parent added in v0.15.6

func (mr *BlockMockRecorder) Parent() *gomock.Call

Parent indicates an expected call of Parent.

func (*BlockMockRecorder) Reject added in v0.15.6

func (mr *BlockMockRecorder) Reject(arg0 any) *gomock.Call

Reject indicates an expected call of Reject.

func (*BlockMockRecorder) Timestamp added in v0.15.6

func (mr *BlockMockRecorder) Timestamp() *gomock.Call

Timestamp indicates an expected call of Timestamp.

func (*BlockMockRecorder) Verify added in v0.15.6

func (mr *BlockMockRecorder) Verify(arg0 any) *gomock.Call

Verify indicates an expected call of Verify.

Jump to

Keyboard shortcuts

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