Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockScrypter
- type MockScrypterCloseCall
- type MockScrypterMockRecorder
- type MockScrypterPositionsCall
- func (c *MockScrypterPositionsCall) Do(f func(uint64, uint64) (postrs.ScryptPositionsResult, error)) *MockScrypterPositionsCall
- func (c *MockScrypterPositionsCall) DoAndReturn(f func(uint64, uint64) (postrs.ScryptPositionsResult, error)) *MockScrypterPositionsCall
- func (c *MockScrypterPositionsCall) Return(arg0 postrs.ScryptPositionsResult, arg1 error) *MockScrypterPositionsCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockScrypter ¶
type MockScrypter struct {
// contains filtered or unexported fields
}
MockScrypter is a mock of Scrypter interface.
func NewMockScrypter ¶
func NewMockScrypter(ctrl *gomock.Controller) *MockScrypter
NewMockScrypter creates a new mock instance.
func (*MockScrypter) EXPECT ¶
func (m *MockScrypter) EXPECT() *MockScrypterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScrypter) Positions ¶
func (m *MockScrypter) Positions(arg0, arg1 uint64) (postrs.ScryptPositionsResult, error)
Positions mocks base method.
type MockScrypterCloseCall ¶ added in v0.12.0
MockScrypterCloseCall wrap *gomock.Call
func (*MockScrypterCloseCall) Do ¶ added in v0.12.0
func (c *MockScrypterCloseCall) Do(f func() error) *MockScrypterCloseCall
Do rewrite *gomock.Call.Do
func (*MockScrypterCloseCall) DoAndReturn ¶ added in v0.12.0
func (c *MockScrypterCloseCall) DoAndReturn(f func() error) *MockScrypterCloseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockScrypterCloseCall) Return ¶ added in v0.12.0
func (c *MockScrypterCloseCall) Return(arg0 error) *MockScrypterCloseCall
Return rewrite *gomock.Call.Return
type MockScrypterMockRecorder ¶
type MockScrypterMockRecorder struct {
// contains filtered or unexported fields
}
MockScrypterMockRecorder is the mock recorder for MockScrypter.
func (*MockScrypterMockRecorder) Close ¶
func (mr *MockScrypterMockRecorder) Close() *MockScrypterCloseCall
Close indicates an expected call of Close.
func (*MockScrypterMockRecorder) Positions ¶
func (mr *MockScrypterMockRecorder) Positions(arg0, arg1 any) *MockScrypterPositionsCall
Positions indicates an expected call of Positions.
type MockScrypterPositionsCall ¶ added in v0.12.0
MockScrypterPositionsCall wrap *gomock.Call
func (*MockScrypterPositionsCall) Do ¶ added in v0.12.0
func (c *MockScrypterPositionsCall) Do(f func(uint64, uint64) (postrs.ScryptPositionsResult, error)) *MockScrypterPositionsCall
Do rewrite *gomock.Call.Do
func (*MockScrypterPositionsCall) DoAndReturn ¶ added in v0.12.0
func (c *MockScrypterPositionsCall) DoAndReturn(f func(uint64, uint64) (postrs.ScryptPositionsResult, error)) *MockScrypterPositionsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockScrypterPositionsCall) Return ¶ added in v0.12.0
func (c *MockScrypterPositionsCall) Return(arg0 postrs.ScryptPositionsResult, arg1 error) *MockScrypterPositionsCall
Return rewrite *gomock.Call.Return