Documentation ¶
Index ¶
- Variables
- type MockAuthRepository
- type MockClient
- type MockNegativationRepository
- func (nr *MockNegativationRepository) Delete(id string) error
- func (nr *MockNegativationRepository) GetAll() ([]di.Negativation, error)
- func (nr *MockNegativationRepository) GetByID(id string) (di.Negativation, error)
- func (nr *MockNegativationRepository) GetOne(customerDocument string) ([]di.Negativation, error)
- func (nr *MockNegativationRepository) InsertMany(nList []di.Negativation) error
- func (nr *MockNegativationRepository) InsertOne(n di.Negativation) error
- func (nr *MockNegativationRepository) Update(id string, n *bson.M) (di.Negativation, error)
- type MockUsersRepository
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type MockAuthRepository ¶
func (*MockAuthRepository) CreateAuth ¶
func (a *MockAuthRepository) CreateAuth(userID string, td *di.TokenDetails) error
func (*MockAuthRepository) DeleteRefresh ¶
func (a *MockAuthRepository) DeleteRefresh(refreshUUID string) error
func (*MockAuthRepository) DeleteTokens ¶
func (a *MockAuthRepository) DeleteTokens(authD *di.AccessDetails) error
type MockClient ¶
type MockNegativationRepository ¶
func (*MockNegativationRepository) Delete ¶
func (nr *MockNegativationRepository) Delete(id string) error
func (*MockNegativationRepository) GetAll ¶
func (nr *MockNegativationRepository) GetAll() ([]di.Negativation, error)
func (*MockNegativationRepository) GetByID ¶
func (nr *MockNegativationRepository) GetByID(id string) (di.Negativation, error)
func (*MockNegativationRepository) GetOne ¶
func (nr *MockNegativationRepository) GetOne(customerDocument string) ([]di.Negativation, error)
func (*MockNegativationRepository) InsertMany ¶
func (nr *MockNegativationRepository) InsertMany(nList []di.Negativation) error
func (*MockNegativationRepository) InsertOne ¶
func (nr *MockNegativationRepository) InsertOne(n di.Negativation) error
func (*MockNegativationRepository) Update ¶
func (nr *MockNegativationRepository) Update(id string, n *bson.M) (di.Negativation, error)
type MockUsersRepository ¶
func (*MockUsersRepository) FindByEmail ¶
func (r *MockUsersRepository) FindByEmail(email string) (di.User, error)
Click to show internal directories.
Click to hide internal directories.