Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockIdByHash
- type MockIdByHashIdByHashCall
- func (c *MockIdByHashIdByHashCall) Do(f func(context.Context, ...[]byte) ([]uint64, error)) *MockIdByHashIdByHashCall
- func (c *MockIdByHashIdByHashCall) DoAndReturn(f func(context.Context, ...[]byte) ([]uint64, error)) *MockIdByHashIdByHashCall
- func (c *MockIdByHashIdByHashCall) Return(arg0 []uint64, arg1 error) *MockIdByHashIdByHashCall
- type MockIdByHashMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIdByHash ¶
type MockIdByHash struct {
// contains filtered or unexported fields
}
MockIdByHash is a mock of IdByHash interface.
func NewMockIdByHash ¶
func NewMockIdByHash(ctrl *gomock.Controller) *MockIdByHash
NewMockIdByHash creates a new mock instance.
func (*MockIdByHash) EXPECT ¶
func (m *MockIdByHash) EXPECT() *MockIdByHashMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIdByHashIdByHashCall ¶
MockIdByHashIdByHashCall wrap *gomock.Call
func (*MockIdByHashIdByHashCall) Do ¶
func (c *MockIdByHashIdByHashCall) Do(f func(context.Context, ...[]byte) ([]uint64, error)) *MockIdByHashIdByHashCall
Do rewrite *gomock.Call.Do
func (*MockIdByHashIdByHashCall) DoAndReturn ¶
func (c *MockIdByHashIdByHashCall) DoAndReturn(f func(context.Context, ...[]byte) ([]uint64, error)) *MockIdByHashIdByHashCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIdByHashIdByHashCall) Return ¶
func (c *MockIdByHashIdByHashCall) Return(arg0 []uint64, arg1 error) *MockIdByHashIdByHashCall
Return rewrite *gomock.Call.Return
type MockIdByHashMockRecorder ¶
type MockIdByHashMockRecorder struct {
// contains filtered or unexported fields
}
MockIdByHashMockRecorder is the mock recorder for MockIdByHash.
func (*MockIdByHashMockRecorder) IdByHash ¶
func (mr *MockIdByHashMockRecorder) IdByHash(ctx any, hash ...any) *MockIdByHashIdByHashCall
IdByHash indicates an expected call of IdByHash.
Click to show internal directories.
Click to hide internal directories.