mocks

package
v0.12.6 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 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 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) Close

func (m *MockScrypter) Close() error

Close mocks base method.

func (*MockScrypter) EXPECT

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

type MockScrypterCloseCall struct {
	*gomock.Call
}

MockScrypterCloseCall wrap *gomock.Call

func (*MockScrypterCloseCall) Do added in v0.12.0

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

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

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

type MockScrypterPositionsCall struct {
	*gomock.Call
}

MockScrypterPositionsCall wrap *gomock.Call

func (*MockScrypterPositionsCall) Do added in v0.12.0

Do rewrite *gomock.Call.Do

func (*MockScrypterPositionsCall) DoAndReturn added in v0.12.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockScrypterPositionsCall) Return added in v0.12.0

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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