mockshared

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 2 Imported by: 0

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

func (m *MockJwt) GenerateToken(username string) (string, error)

GenerateToken mocks base method.

func (*MockJwt) ParseToken

func (m *MockJwt) ParseToken(tokenString string) (string, error)

ParseToken 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL