Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockpoetValidatorPersistor
- func (m *MockpoetValidatorPersistor) EXPECT() *MockpoetValidatorPersistorMockRecorder
- func (m *MockpoetValidatorPersistor) StoreProof(proofMessage *types.PoetProofMessage) error
- func (m *MockpoetValidatorPersistor) Validate(proof types.PoetProof, poetID []byte, roundID string, signature []byte) error
- type MockpoetValidatorPersistorMockRecorder
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 ¶
func (m *MockpoetValidatorPersistor) EXPECT() *MockpoetValidatorPersistorMockRecorder
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.
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.
Click to show internal directories.
Click to hide internal directories.