Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockIDHasher
- type MockIDHasherMockRecorder
- func (mr *MockIDHasherMockRecorder) Decode(hashed interface{}) *gomock.Call
- func (mr *MockIDHasherMockRecorder) DecodeUint64(hashed interface{}) *gomock.Call
- func (mr *MockIDHasherMockRecorder) Encode(id interface{}) *gomock.Call
- func (mr *MockIDHasherMockRecorder) EncodeUint64(id interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIDHasher ¶
type MockIDHasher struct {
// contains filtered or unexported fields
}
MockIDHasher is a mock of IDHasher interface.
func NewMockIDHasher ¶
func NewMockIDHasher(ctrl *gomock.Controller) *MockIDHasher
NewMockIDHasher creates a new mock instance.
func (*MockIDHasher) Decode ¶
func (m *MockIDHasher) Decode(hashed string) (uint32, error)
Decode mocks base method.
func (*MockIDHasher) DecodeUint64 ¶
func (m *MockIDHasher) DecodeUint64(hashed string) (uint64, error)
DecodeUint64 mocks base method.
func (*MockIDHasher) EXPECT ¶
func (m *MockIDHasher) EXPECT() *MockIDHasherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIDHasher) Encode ¶
func (m *MockIDHasher) Encode(id uint32) string
Encode mocks base method.
func (*MockIDHasher) EncodeUint64 ¶
func (m *MockIDHasher) EncodeUint64(id uint64) string
EncodeUint64 mocks base method.
type MockIDHasherMockRecorder ¶
type MockIDHasherMockRecorder struct {
// contains filtered or unexported fields
}
MockIDHasherMockRecorder is the mock recorder for MockIDHasher.
func (*MockIDHasherMockRecorder) Decode ¶
func (mr *MockIDHasherMockRecorder) Decode(hashed interface{}) *gomock.Call
Decode indicates an expected call of Decode.
func (*MockIDHasherMockRecorder) DecodeUint64 ¶
func (mr *MockIDHasherMockRecorder) DecodeUint64(hashed interface{}) *gomock.Call
DecodeUint64 indicates an expected call of DecodeUint64.
func (*MockIDHasherMockRecorder) Encode ¶
func (mr *MockIDHasherMockRecorder) Encode(id interface{}) *gomock.Call
Encode indicates an expected call of Encode.
func (*MockIDHasherMockRecorder) EncodeUint64 ¶
func (mr *MockIDHasherMockRecorder) EncodeUint64(id interface{}) *gomock.Call
EncodeUint64 indicates an expected call of EncodeUint64.
Click to show internal directories.
Click to hide internal directories.