Documentation ¶
Overview ¶
Package mockshared is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCrypto ¶
type MockCrypto struct {
// contains filtered or unexported fields
}
MockCrypto is a mock of Crypto interface.
func NewMockCrypto ¶
func NewMockCrypto(ctrl *gomock.Controller) *MockCrypto
NewMockCrypto creates a new mock instance.
func (*MockCrypto) CompareHashAndPassword ¶
func (m *MockCrypto) CompareHashAndPassword(hashedPassword, password string) error
CompareHashAndPassword mocks base method.
func (*MockCrypto) EXPECT ¶
func (m *MockCrypto) EXPECT() *MockCryptoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCrypto) HashPassword ¶
func (m *MockCrypto) HashPassword(password string) (string, error)
HashPassword mocks base method.
type MockCryptoMockRecorder ¶
type MockCryptoMockRecorder struct {
// contains filtered or unexported fields
}
MockCryptoMockRecorder is the mock recorder for MockCrypto.
func (*MockCryptoMockRecorder) CompareHashAndPassword ¶
func (mr *MockCryptoMockRecorder) CompareHashAndPassword(hashedPassword, password any) *gomock.Call
CompareHashAndPassword indicates an expected call of CompareHashAndPassword.
func (*MockCryptoMockRecorder) HashPassword ¶
func (mr *MockCryptoMockRecorder) HashPassword(password any) *gomock.Call
HashPassword indicates an expected call of HashPassword.
type MockJwt ¶
type MockJwt struct {
// contains filtered or unexported fields
}
MockJwt is a mock of Jwt interface.
func NewMockJwt ¶
func NewMockJwt(ctrl *gomock.Controller) *MockJwt
NewMockJwt creates a new mock instance.
func (*MockJwt) EXPECT ¶
func (m *MockJwt) EXPECT() *MockJwtMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockJwt) GenerateToken ¶
GenerateToken mocks base method.
type MockJwtMockRecorder ¶
type MockJwtMockRecorder struct {
// contains filtered or unexported fields
}
MockJwtMockRecorder is the mock recorder for MockJwt.
func (*MockJwtMockRecorder) GenerateToken ¶
func (mr *MockJwtMockRecorder) GenerateToken(username any) *gomock.Call
GenerateToken indicates an expected call of GenerateToken.
func (*MockJwtMockRecorder) ParseToken ¶
func (mr *MockJwtMockRecorder) ParseToken(tokenString any) *gomock.Call
ParseToken indicates an expected call of ParseToken.