Documentation
¶
Overview ¶
Package argon is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidHash = errors.New("the encoded hash is not in the correct format") ErrIncompatibleVersion = errors.New("incompatible version of argon2") )
Functions ¶
This section is empty.
Types ¶
type Argon ¶
type MockArgon ¶
type MockArgon struct {
// contains filtered or unexported fields
}
MockArgon is a mock of Argon interface.
func NewMockArgon ¶
func NewMockArgon(ctrl *gomock.Controller) *MockArgon
NewMockArgon creates a new mock instance.
func (*MockArgon) EXPECT ¶
func (m *MockArgon) EXPECT() *MockArgonMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockArgonMockRecorder ¶
type MockArgonMockRecorder struct {
// contains filtered or unexported fields
}
MockArgonMockRecorder is the mock recorder for MockArgon.
func (*MockArgonMockRecorder) Hash ¶
func (mr *MockArgonMockRecorder) Hash(password interface{}) *gomock.Call
Hash indicates an expected call of Hash.
func (*MockArgonMockRecorder) Verify ¶
func (mr *MockArgonMockRecorder) Verify(password, hash interface{}) *gomock.Call
Verify indicates an expected call of Verify.
Click to show internal directories.
Click to hide internal directories.