mocks

package
v0.2.14-beta.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: MIT Imports: 3 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 MockpoetValidatorPersistor

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

MockpoetValidatorPersistor is a mock of poetValidatorPersistor interface.

func NewMockpoetValidatorPersistor

func NewMockpoetValidatorPersistor(ctrl *gomock.Controller) *MockpoetValidatorPersistor

NewMockpoetValidatorPersistor creates a new mock instance.

func (*MockpoetValidatorPersistor) EXPECT

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

func (*MockpoetValidatorPersistor) StoreProof

func (m *MockpoetValidatorPersistor) StoreProof(proofMessage *types.PoetProofMessage) error

StoreProof mocks base method.

func (*MockpoetValidatorPersistor) Validate

func (m *MockpoetValidatorPersistor) Validate(proof types.PoetProof, poetID []byte, roundID string, signature []byte) error

Validate mocks base method.

type MockpoetValidatorPersistorMockRecorder

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

MockpoetValidatorPersistorMockRecorder is the mock recorder for MockpoetValidatorPersistor.

func (*MockpoetValidatorPersistorMockRecorder) StoreProof

func (mr *MockpoetValidatorPersistorMockRecorder) StoreProof(proofMessage interface{}) *gomock.Call

StoreProof indicates an expected call of StoreProof.

func (*MockpoetValidatorPersistorMockRecorder) Validate

func (mr *MockpoetValidatorPersistorMockRecorder) Validate(proof, poetID, roundID, signature interface{}) *gomock.Call

Validate indicates an expected call of Validate.

Jump to

Keyboard shortcuts

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