Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHasher ¶
type MockHasher struct {
// contains filtered or unexported fields
}
MockHasher is a mock of Hasher interface.
func NewMockHasher ¶
func NewMockHasher(ctrl *gomock.Controller) *MockHasher
NewMockHasher creates a new mock instance.
func (*MockHasher) EXPECT ¶
func (m *MockHasher) EXPECT() *MockHasherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHasher) Verify ¶
func (m *MockHasher) Verify(pwd, hash []byte) bool
Verify mocks base method.
type MockHasherMockRecorder ¶
type MockHasherMockRecorder struct {
// contains filtered or unexported fields
}
MockHasherMockRecorder is the mock recorder for MockHasher.
func (*MockHasherMockRecorder) Hash ¶
func (mr *MockHasherMockRecorder) Hash(pwd interface{}) *gomock.Call
Hash indicates an expected call of Hash.
func (*MockHasherMockRecorder) Verify ¶
func (mr *MockHasherMockRecorder) Verify(pwd, hash interface{}) *gomock.Call
Verify indicates an expected call of Verify.
Click to show internal directories.
Click to hide internal directories.