Documentation ¶
Overview ¶
Package snowmanmock is a generated GoMock package.
Index ¶
- type Block
- func (m *Block) Accept(arg0 context.Context) error
- func (m *Block) Bytes() []byte
- func (m *Block) EXPECT() *BlockMockRecorder
- func (m *Block) Height() uint64
- func (m *Block) ID() ids.ID
- func (m *Block) Parent() ids.ID
- func (m *Block) Reject(arg0 context.Context) error
- func (m *Block) Timestamp() time.Time
- func (m *Block) Verify(arg0 context.Context) error
- type BlockMockRecorder
- func (mr *BlockMockRecorder) Accept(arg0 any) *gomock.Call
- func (mr *BlockMockRecorder) Bytes() *gomock.Call
- func (mr *BlockMockRecorder) Height() *gomock.Call
- func (mr *BlockMockRecorder) ID() *gomock.Call
- func (mr *BlockMockRecorder) Parent() *gomock.Call
- func (mr *BlockMockRecorder) Reject(arg0 any) *gomock.Call
- func (mr *BlockMockRecorder) Timestamp() *gomock.Call
- func (mr *BlockMockRecorder) Verify(arg0 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct {
// contains filtered or unexported fields
}
Block is a mock of Block interface.
func (*Block) EXPECT ¶
func (m *Block) EXPECT() *BlockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type BlockMockRecorder ¶
type BlockMockRecorder struct {
// contains filtered or unexported fields
}
BlockMockRecorder is the mock recorder for Block.
func (*BlockMockRecorder) Accept ¶
func (mr *BlockMockRecorder) Accept(arg0 any) *gomock.Call
Accept indicates an expected call of Accept.
func (*BlockMockRecorder) Bytes ¶
func (mr *BlockMockRecorder) Bytes() *gomock.Call
Bytes indicates an expected call of Bytes.
func (*BlockMockRecorder) Height ¶
func (mr *BlockMockRecorder) Height() *gomock.Call
Height indicates an expected call of Height.
func (*BlockMockRecorder) ID ¶
func (mr *BlockMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*BlockMockRecorder) Parent ¶
func (mr *BlockMockRecorder) Parent() *gomock.Call
Parent indicates an expected call of Parent.
func (*BlockMockRecorder) Reject ¶
func (mr *BlockMockRecorder) Reject(arg0 any) *gomock.Call
Reject indicates an expected call of Reject.
func (*BlockMockRecorder) Timestamp ¶
func (mr *BlockMockRecorder) Timestamp() *gomock.Call
Timestamp indicates an expected call of Timestamp.
Click to show internal directories.
Click to hide internal directories.