Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAccountRepo
- func (m *MockAccountRepo) AddTransfer(ctx context.Context, transferUUID string, ...) error
- func (m *MockAccountRepo) CreateAccount(ctx context.Context, account entity.Account) (int64, error)
- func (m *MockAccountRepo) EXPECT() *MockAccountRepoMockRecorder
- func (m *MockAccountRepo) GetAccountByDocument(ctx context.Context, encryptedCPF string) (entity.Account, error)
- func (m *MockAccountRepo) GetAccountByUUID(ctx context.Context, accountUUID string) (entity.Account, error)
- func (m *MockAccountRepo) GetAccounts(ctx context.Context, take, skip int64) ([]entity.Account, int64, error)
- func (m *MockAccountRepo) GetTransfersByAccountID(ctx context.Context, accountID, take, skip int64, origin bool) ([]entity.Transfer, int64, error)
- func (m *MockAccountRepo) UpdateAccountBalance(ctx context.Context, accountID int64, balance float64) error
- type MockAccountRepoMockRecorder
- func (mr *MockAccountRepoMockRecorder) AddTransfer(ctx, transferUUID, accountOriginID, accountDestinationID, amount interface{}) *gomock.Call
- func (mr *MockAccountRepoMockRecorder) CreateAccount(ctx, account interface{}) *gomock.Call
- func (mr *MockAccountRepoMockRecorder) GetAccountByDocument(ctx, encryptedCPF interface{}) *gomock.Call
- func (mr *MockAccountRepoMockRecorder) GetAccountByUUID(ctx, accountUUID interface{}) *gomock.Call
- func (mr *MockAccountRepoMockRecorder) GetAccounts(ctx, take, skip interface{}) *gomock.Call
- func (mr *MockAccountRepoMockRecorder) GetTransfersByAccountID(ctx, accountID, take, skip, origin interface{}) *gomock.Call
- func (mr *MockAccountRepoMockRecorder) UpdateAccountBalance(ctx, accountID, balance interface{}) *gomock.Call
- type MockAccountService
- func (m *MockAccountService) AddBalance(ctx context.Context, input dto.AddBalanceInput) error
- func (m *MockAccountService) CreateAccount(ctx context.Context, input dto.AccountInput) error
- func (m *MockAccountService) EXPECT() *MockAccountServiceMockRecorder
- func (m *MockAccountService) GetAccountByUUID(ctx context.Context, accountUUID string) (entity.Account, error)
- func (m *MockAccountService) GetAccounts(ctx context.Context, take, skip int64) ([]entity.Account, int64, error)
- type MockAccountServiceMockRecorder
- func (mr *MockAccountServiceMockRecorder) AddBalance(ctx, input interface{}) *gomock.Call
- func (mr *MockAccountServiceMockRecorder) CreateAccount(ctx, input interface{}) *gomock.Call
- func (mr *MockAccountServiceMockRecorder) GetAccountByUUID(ctx, accountUUID interface{}) *gomock.Call
- func (mr *MockAccountServiceMockRecorder) GetAccounts(ctx, take, skip interface{}) *gomock.Call
- type MockAuthRepo
- type MockAuthRepoMockRecorder
- type MockAuthService
- func (m *MockAuthService) CreateSession(ctx context.Context, session dto.Session) error
- func (m *MockAuthService) EXPECT() *MockAuthServiceMockRecorder
- func (m *MockAuthService) GetSessionByUUID(ctx context.Context, sessionUUID string) (dto.Session, error)
- func (m *MockAuthService) Login(ctx context.Context, input dto.LoginInput) (entity.Account, error)
- type MockAuthServiceMockRecorder
- type MockAuthToken
- func (m *MockAuthToken) CreateAccessToken(ctx context.Context, input auth.TokenPayloadInput) (string, *auth.TokenPayload, error)
- func (m *MockAuthToken) CreateRefreshToken(ctx context.Context, input auth.TokenPayloadInput) (string, *auth.TokenPayload, error)
- func (m *MockAuthToken) EXPECT() *MockAuthTokenMockRecorder
- func (m *MockAuthToken) VerifyToken(ctx context.Context, token string) (*auth.TokenPayload, error)
- type MockAuthTokenMockRecorder
- type MockCacheManager
- func (m *MockCacheManager) CleanAll(ctx context.Context) error
- func (m *MockCacheManager) Delete(ctx context.Context, keys ...string) error
- func (m *MockCacheManager) EXPECT() *MockCacheManagerMockRecorder
- func (m *MockCacheManager) GetExpiration(ctx context.Context, key string) (time.Duration, error)
- func (m *MockCacheManager) GetInt(ctx context.Context, key string) (int64, error)
- func (m *MockCacheManager) GetItem(ctx context.Context, key string) ([]byte, error)
- func (m *MockCacheManager) GetString(ctx context.Context, key string) (string, error)
- func (m *MockCacheManager) GetStruct(ctx context.Context, key string, data interface{}) error
- func (m *MockCacheManager) Increase(ctx context.Context, key string) error
- func (m *MockCacheManager) SetExpiration(ctx context.Context, key string, expiration time.Duration) error
- func (m *MockCacheManager) SetItem(ctx context.Context, key string, data []byte) error
- func (m *MockCacheManager) SetItemWithExpiration(ctx context.Context, key string, data []byte, expiration time.Duration) error
- func (m *MockCacheManager) SetString(ctx context.Context, key, data string) error
- func (m *MockCacheManager) SetStringWithExpiration(ctx context.Context, key, data string, expiration time.Duration) error
- func (m *MockCacheManager) SetStruct(ctx context.Context, key string, data interface{}, expiration time.Duration) error
- func (m *MockCacheManager) SetStructWithExpiration(ctx context.Context, key string, data interface{}, expiration time.Duration) error
- type MockCacheManagerMockRecorder
- func (mr *MockCacheManagerMockRecorder) CleanAll(ctx interface{}) *gomock.Call
- func (mr *MockCacheManagerMockRecorder) Delete(ctx interface{}, keys ...interface{}) *gomock.Call
- func (mr *MockCacheManagerMockRecorder) GetExpiration(ctx, key interface{}) *gomock.Call
- func (mr *MockCacheManagerMockRecorder) GetInt(ctx, key interface{}) *gomock.Call
- func (mr *MockCacheManagerMockRecorder) GetItem(ctx, key interface{}) *gomock.Call
- func (mr *MockCacheManagerMockRecorder) GetString(ctx, key interface{}) *gomock.Call
- func (mr *MockCacheManagerMockRecorder) GetStruct(ctx, key, data interface{}) *gomock.Call
- func (mr *MockCacheManagerMockRecorder) Increase(ctx, key interface{}) *gomock.Call
- func (mr *MockCacheManagerMockRecorder) SetExpiration(ctx, key, expiration interface{}) *gomock.Call
- func (mr *MockCacheManagerMockRecorder) SetItem(ctx, key, data interface{}) *gomock.Call
- func (mr *MockCacheManagerMockRecorder) SetItemWithExpiration(ctx, key, data, expiration interface{}) *gomock.Call
- func (mr *MockCacheManagerMockRecorder) SetString(ctx, key, data interface{}) *gomock.Call
- func (mr *MockCacheManagerMockRecorder) SetStringWithExpiration(ctx, key, data, expiration interface{}) *gomock.Call
- func (mr *MockCacheManagerMockRecorder) SetStruct(ctx, key, data, expiration interface{}) *gomock.Call
- func (mr *MockCacheManagerMockRecorder) SetStructWithExpiration(ctx, key, data, expiration interface{}) *gomock.Call
- type MockCrypto
- type MockCryptoMockRecorder
- type MockDataManager
- type MockDataManagerMockRecorder
- type MockIRedisCache
- func (m *MockIRedisCache) Del(ctx context.Context, keys ...string) *redis.IntCmd
- func (m *MockIRedisCache) EXPECT() *MockIRedisCacheMockRecorder
- func (m *MockIRedisCache) Expire(ctx context.Context, key string, expiration time.Duration) *redis.BoolCmd
- func (m *MockIRedisCache) Get(ctx context.Context, key string) *redis.StringCmd
- func (m *MockIRedisCache) Incr(ctx context.Context, key string) *redis.IntCmd
- func (m *MockIRedisCache) Keys(ctx context.Context, pattern string) *redis.StringSliceCmd
- func (m *MockIRedisCache) Set(ctx context.Context, key string, value interface{}, expiration time.Duration) *redis.StatusCmd
- func (m *MockIRedisCache) TTL(ctx context.Context, key string) *redis.DurationCmd
- type MockIRedisCacheMockRecorder
- func (mr *MockIRedisCacheMockRecorder) Del(ctx interface{}, keys ...interface{}) *gomock.Call
- func (mr *MockIRedisCacheMockRecorder) Expire(ctx, key, expiration interface{}) *gomock.Call
- func (mr *MockIRedisCacheMockRecorder) Get(ctx, key interface{}) *gomock.Call
- func (mr *MockIRedisCacheMockRecorder) Incr(ctx, key interface{}) *gomock.Call
- func (mr *MockIRedisCacheMockRecorder) Keys(ctx, pattern interface{}) *gomock.Call
- func (mr *MockIRedisCacheMockRecorder) Set(ctx, key, value, expiration interface{}) *gomock.Call
- func (mr *MockIRedisCacheMockRecorder) TTL(ctx, key interface{}) *gomock.Call
- type MockTransferService
- type MockTransferServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAccountRepo ¶
type MockAccountRepo struct {
// contains filtered or unexported fields
}
MockAccountRepo is a mock of AccountRepo interface.
func NewMockAccountRepo ¶
func NewMockAccountRepo(ctrl *gomock.Controller) *MockAccountRepo
NewMockAccountRepo creates a new mock instance.
func (*MockAccountRepo) AddTransfer ¶
func (m *MockAccountRepo) AddTransfer(ctx context.Context, transferUUID string, accountOriginID, accountDestinationID int64, amount float64) error
AddTransfer mocks base method.
func (*MockAccountRepo) CreateAccount ¶
CreateAccount mocks base method.
func (*MockAccountRepo) EXPECT ¶
func (m *MockAccountRepo) EXPECT() *MockAccountRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountRepo) GetAccountByDocument ¶
func (m *MockAccountRepo) GetAccountByDocument(ctx context.Context, encryptedCPF string) (entity.Account, error)
GetAccountByDocument mocks base method.
func (*MockAccountRepo) GetAccountByUUID ¶
func (m *MockAccountRepo) GetAccountByUUID(ctx context.Context, accountUUID string) (entity.Account, error)
GetAccountByUUID mocks base method.
func (*MockAccountRepo) GetAccounts ¶
func (m *MockAccountRepo) GetAccounts(ctx context.Context, take, skip int64) ([]entity.Account, int64, error)
GetAccounts mocks base method.
func (*MockAccountRepo) GetTransfersByAccountID ¶
func (m *MockAccountRepo) GetTransfersByAccountID(ctx context.Context, accountID, take, skip int64, origin bool) ([]entity.Transfer, int64, error)
GetTransfersByAccountID mocks base method.
func (*MockAccountRepo) UpdateAccountBalance ¶
func (m *MockAccountRepo) UpdateAccountBalance(ctx context.Context, accountID int64, balance float64) error
UpdateAccountBalance mocks base method.
type MockAccountRepoMockRecorder ¶
type MockAccountRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountRepoMockRecorder is the mock recorder for MockAccountRepo.
func (*MockAccountRepoMockRecorder) AddTransfer ¶
func (mr *MockAccountRepoMockRecorder) AddTransfer(ctx, transferUUID, accountOriginID, accountDestinationID, amount interface{}) *gomock.Call
AddTransfer indicates an expected call of AddTransfer.
func (*MockAccountRepoMockRecorder) CreateAccount ¶
func (mr *MockAccountRepoMockRecorder) CreateAccount(ctx, account interface{}) *gomock.Call
CreateAccount indicates an expected call of CreateAccount.
func (*MockAccountRepoMockRecorder) GetAccountByDocument ¶
func (mr *MockAccountRepoMockRecorder) GetAccountByDocument(ctx, encryptedCPF interface{}) *gomock.Call
GetAccountByDocument indicates an expected call of GetAccountByDocument.
func (*MockAccountRepoMockRecorder) GetAccountByUUID ¶
func (mr *MockAccountRepoMockRecorder) GetAccountByUUID(ctx, accountUUID interface{}) *gomock.Call
GetAccountByUUID indicates an expected call of GetAccountByUUID.
func (*MockAccountRepoMockRecorder) GetAccounts ¶
func (mr *MockAccountRepoMockRecorder) GetAccounts(ctx, take, skip interface{}) *gomock.Call
GetAccounts indicates an expected call of GetAccounts.
func (*MockAccountRepoMockRecorder) GetTransfersByAccountID ¶
func (mr *MockAccountRepoMockRecorder) GetTransfersByAccountID(ctx, accountID, take, skip, origin interface{}) *gomock.Call
GetTransfersByAccountID indicates an expected call of GetTransfersByAccountID.
func (*MockAccountRepoMockRecorder) UpdateAccountBalance ¶
func (mr *MockAccountRepoMockRecorder) UpdateAccountBalance(ctx, accountID, balance interface{}) *gomock.Call
UpdateAccountBalance indicates an expected call of UpdateAccountBalance.
type MockAccountService ¶
type MockAccountService struct {
// contains filtered or unexported fields
}
MockAccountService is a mock of AccountService interface.
func NewMockAccountService ¶
func NewMockAccountService(ctrl *gomock.Controller) *MockAccountService
NewMockAccountService creates a new mock instance.
func (*MockAccountService) AddBalance ¶
func (m *MockAccountService) AddBalance(ctx context.Context, input dto.AddBalanceInput) error
AddBalance mocks base method.
func (*MockAccountService) CreateAccount ¶
func (m *MockAccountService) CreateAccount(ctx context.Context, input dto.AccountInput) error
CreateAccount mocks base method.
func (*MockAccountService) EXPECT ¶
func (m *MockAccountService) EXPECT() *MockAccountServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountService) GetAccountByUUID ¶
func (m *MockAccountService) GetAccountByUUID(ctx context.Context, accountUUID string) (entity.Account, error)
GetAccountByUUID mocks base method.
func (*MockAccountService) GetAccounts ¶
func (m *MockAccountService) GetAccounts(ctx context.Context, take, skip int64) ([]entity.Account, int64, error)
GetAccounts mocks base method.
type MockAccountServiceMockRecorder ¶
type MockAccountServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountServiceMockRecorder is the mock recorder for MockAccountService.
func (*MockAccountServiceMockRecorder) AddBalance ¶
func (mr *MockAccountServiceMockRecorder) AddBalance(ctx, input interface{}) *gomock.Call
AddBalance indicates an expected call of AddBalance.
func (*MockAccountServiceMockRecorder) CreateAccount ¶
func (mr *MockAccountServiceMockRecorder) CreateAccount(ctx, input interface{}) *gomock.Call
CreateAccount indicates an expected call of CreateAccount.
func (*MockAccountServiceMockRecorder) GetAccountByUUID ¶
func (mr *MockAccountServiceMockRecorder) GetAccountByUUID(ctx, accountUUID interface{}) *gomock.Call
GetAccountByUUID indicates an expected call of GetAccountByUUID.
func (*MockAccountServiceMockRecorder) GetAccounts ¶
func (mr *MockAccountServiceMockRecorder) GetAccounts(ctx, take, skip interface{}) *gomock.Call
GetAccounts indicates an expected call of GetAccounts.
type MockAuthRepo ¶
type MockAuthRepo struct {
// contains filtered or unexported fields
}
MockAuthRepo is a mock of AuthRepo interface.
func NewMockAuthRepo ¶
func NewMockAuthRepo(ctrl *gomock.Controller) *MockAuthRepo
NewMockAuthRepo creates a new mock instance.
func (*MockAuthRepo) CreateSession ¶
CreateSession mocks base method.
func (*MockAuthRepo) EXPECT ¶
func (m *MockAuthRepo) EXPECT() *MockAuthRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthRepo) GetSessionByUUID ¶
func (m *MockAuthRepo) GetSessionByUUID(ctx context.Context, sessionUUID string) (dto.Session, error)
GetSessionByUUID mocks base method.
type MockAuthRepoMockRecorder ¶
type MockAuthRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthRepoMockRecorder is the mock recorder for MockAuthRepo.
func (*MockAuthRepoMockRecorder) CreateSession ¶
func (mr *MockAuthRepoMockRecorder) CreateSession(ctx, session interface{}) *gomock.Call
CreateSession indicates an expected call of CreateSession.
func (*MockAuthRepoMockRecorder) GetSessionByUUID ¶
func (mr *MockAuthRepoMockRecorder) GetSessionByUUID(ctx, sessionUUID interface{}) *gomock.Call
GetSessionByUUID indicates an expected call of GetSessionByUUID.
type MockAuthService ¶
type MockAuthService struct {
// contains filtered or unexported fields
}
MockAuthService is a mock of AuthService interface.
func NewMockAuthService ¶
func NewMockAuthService(ctrl *gomock.Controller) *MockAuthService
NewMockAuthService creates a new mock instance.
func (*MockAuthService) CreateSession ¶
CreateSession mocks base method.
func (*MockAuthService) EXPECT ¶
func (m *MockAuthService) EXPECT() *MockAuthServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthService) GetSessionByUUID ¶
func (m *MockAuthService) GetSessionByUUID(ctx context.Context, sessionUUID string) (dto.Session, error)
GetSessionByUUID mocks base method.
func (*MockAuthService) Login ¶
func (m *MockAuthService) Login(ctx context.Context, input dto.LoginInput) (entity.Account, error)
Login mocks base method.
type MockAuthServiceMockRecorder ¶
type MockAuthServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthServiceMockRecorder is the mock recorder for MockAuthService.
func (*MockAuthServiceMockRecorder) CreateSession ¶
func (mr *MockAuthServiceMockRecorder) CreateSession(ctx, session interface{}) *gomock.Call
CreateSession indicates an expected call of CreateSession.
func (*MockAuthServiceMockRecorder) GetSessionByUUID ¶
func (mr *MockAuthServiceMockRecorder) GetSessionByUUID(ctx, sessionUUID interface{}) *gomock.Call
GetSessionByUUID indicates an expected call of GetSessionByUUID.
func (*MockAuthServiceMockRecorder) Login ¶
func (mr *MockAuthServiceMockRecorder) Login(ctx, input interface{}) *gomock.Call
Login indicates an expected call of Login.
type MockAuthToken ¶
type MockAuthToken struct {
// contains filtered or unexported fields
}
MockAuthToken is a mock of AuthToken interface.
func NewMockAuthToken ¶
func NewMockAuthToken(ctrl *gomock.Controller) *MockAuthToken
NewMockAuthToken creates a new mock instance.
func (*MockAuthToken) CreateAccessToken ¶
func (m *MockAuthToken) CreateAccessToken(ctx context.Context, input auth.TokenPayloadInput) (string, *auth.TokenPayload, error)
CreateAccessToken mocks base method.
func (*MockAuthToken) CreateRefreshToken ¶
func (m *MockAuthToken) CreateRefreshToken(ctx context.Context, input auth.TokenPayloadInput) (string, *auth.TokenPayload, error)
CreateRefreshToken mocks base method.
func (*MockAuthToken) EXPECT ¶
func (m *MockAuthToken) EXPECT() *MockAuthTokenMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthToken) VerifyToken ¶
func (m *MockAuthToken) VerifyToken(ctx context.Context, token string) (*auth.TokenPayload, error)
VerifyToken mocks base method.
type MockAuthTokenMockRecorder ¶
type MockAuthTokenMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthTokenMockRecorder is the mock recorder for MockAuthToken.
func (*MockAuthTokenMockRecorder) CreateAccessToken ¶
func (mr *MockAuthTokenMockRecorder) CreateAccessToken(ctx, input interface{}) *gomock.Call
CreateAccessToken indicates an expected call of CreateAccessToken.
func (*MockAuthTokenMockRecorder) CreateRefreshToken ¶
func (mr *MockAuthTokenMockRecorder) CreateRefreshToken(ctx, input interface{}) *gomock.Call
CreateRefreshToken indicates an expected call of CreateRefreshToken.
func (*MockAuthTokenMockRecorder) VerifyToken ¶
func (mr *MockAuthTokenMockRecorder) VerifyToken(ctx, token interface{}) *gomock.Call
VerifyToken indicates an expected call of VerifyToken.
type MockCacheManager ¶
type MockCacheManager struct {
// contains filtered or unexported fields
}
MockCacheManager is a mock of CacheManager interface.
func NewMockCacheManager ¶
func NewMockCacheManager(ctrl *gomock.Controller) *MockCacheManager
NewMockCacheManager creates a new mock instance.
func (*MockCacheManager) CleanAll ¶
func (m *MockCacheManager) CleanAll(ctx context.Context) error
CleanAll mocks base method.
func (*MockCacheManager) Delete ¶
func (m *MockCacheManager) Delete(ctx context.Context, keys ...string) error
Delete mocks base method.
func (*MockCacheManager) EXPECT ¶
func (m *MockCacheManager) EXPECT() *MockCacheManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCacheManager) GetExpiration ¶
GetExpiration mocks base method.
func (*MockCacheManager) GetStruct ¶
func (m *MockCacheManager) GetStruct(ctx context.Context, key string, data interface{}) error
GetStruct mocks base method.
func (*MockCacheManager) Increase ¶
func (m *MockCacheManager) Increase(ctx context.Context, key string) error
Increase mocks base method.
func (*MockCacheManager) SetExpiration ¶
func (m *MockCacheManager) SetExpiration(ctx context.Context, key string, expiration time.Duration) error
SetExpiration mocks base method.
func (*MockCacheManager) SetItemWithExpiration ¶
func (m *MockCacheManager) SetItemWithExpiration(ctx context.Context, key string, data []byte, expiration time.Duration) error
SetItemWithExpiration mocks base method.
func (*MockCacheManager) SetString ¶
func (m *MockCacheManager) SetString(ctx context.Context, key, data string) error
SetString mocks base method.
func (*MockCacheManager) SetStringWithExpiration ¶
func (m *MockCacheManager) SetStringWithExpiration(ctx context.Context, key, data string, expiration time.Duration) error
SetStringWithExpiration mocks base method.
func (*MockCacheManager) SetStruct ¶
func (m *MockCacheManager) SetStruct(ctx context.Context, key string, data interface{}, expiration time.Duration) error
SetStruct mocks base method.
func (*MockCacheManager) SetStructWithExpiration ¶
func (m *MockCacheManager) SetStructWithExpiration(ctx context.Context, key string, data interface{}, expiration time.Duration) error
SetStructWithExpiration mocks base method.
type MockCacheManagerMockRecorder ¶
type MockCacheManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheManagerMockRecorder is the mock recorder for MockCacheManager.
func (*MockCacheManagerMockRecorder) CleanAll ¶
func (mr *MockCacheManagerMockRecorder) CleanAll(ctx interface{}) *gomock.Call
CleanAll indicates an expected call of CleanAll.
func (*MockCacheManagerMockRecorder) Delete ¶
func (mr *MockCacheManagerMockRecorder) Delete(ctx interface{}, keys ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockCacheManagerMockRecorder) GetExpiration ¶
func (mr *MockCacheManagerMockRecorder) GetExpiration(ctx, key interface{}) *gomock.Call
GetExpiration indicates an expected call of GetExpiration.
func (*MockCacheManagerMockRecorder) GetInt ¶
func (mr *MockCacheManagerMockRecorder) GetInt(ctx, key interface{}) *gomock.Call
GetInt indicates an expected call of GetInt.
func (*MockCacheManagerMockRecorder) GetItem ¶
func (mr *MockCacheManagerMockRecorder) GetItem(ctx, key interface{}) *gomock.Call
GetItem indicates an expected call of GetItem.
func (*MockCacheManagerMockRecorder) GetString ¶
func (mr *MockCacheManagerMockRecorder) GetString(ctx, key interface{}) *gomock.Call
GetString indicates an expected call of GetString.
func (*MockCacheManagerMockRecorder) GetStruct ¶
func (mr *MockCacheManagerMockRecorder) GetStruct(ctx, key, data interface{}) *gomock.Call
GetStruct indicates an expected call of GetStruct.
func (*MockCacheManagerMockRecorder) Increase ¶
func (mr *MockCacheManagerMockRecorder) Increase(ctx, key interface{}) *gomock.Call
Increase indicates an expected call of Increase.
func (*MockCacheManagerMockRecorder) SetExpiration ¶
func (mr *MockCacheManagerMockRecorder) SetExpiration(ctx, key, expiration interface{}) *gomock.Call
SetExpiration indicates an expected call of SetExpiration.
func (*MockCacheManagerMockRecorder) SetItem ¶
func (mr *MockCacheManagerMockRecorder) SetItem(ctx, key, data interface{}) *gomock.Call
SetItem indicates an expected call of SetItem.
func (*MockCacheManagerMockRecorder) SetItemWithExpiration ¶
func (mr *MockCacheManagerMockRecorder) SetItemWithExpiration(ctx, key, data, expiration interface{}) *gomock.Call
SetItemWithExpiration indicates an expected call of SetItemWithExpiration.
func (*MockCacheManagerMockRecorder) SetString ¶
func (mr *MockCacheManagerMockRecorder) SetString(ctx, key, data interface{}) *gomock.Call
SetString indicates an expected call of SetString.
func (*MockCacheManagerMockRecorder) SetStringWithExpiration ¶
func (mr *MockCacheManagerMockRecorder) SetStringWithExpiration(ctx, key, data, expiration interface{}) *gomock.Call
SetStringWithExpiration indicates an expected call of SetStringWithExpiration.
func (*MockCacheManagerMockRecorder) SetStruct ¶
func (mr *MockCacheManagerMockRecorder) SetStruct(ctx, key, data, expiration interface{}) *gomock.Call
SetStruct indicates an expected call of SetStruct.
func (*MockCacheManagerMockRecorder) SetStructWithExpiration ¶
func (mr *MockCacheManagerMockRecorder) SetStructWithExpiration(ctx, key, data, expiration interface{}) *gomock.Call
SetStructWithExpiration indicates an expected call of SetStructWithExpiration.
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) CheckPassword ¶
func (m *MockCrypto) CheckPassword(password, hashedPassword string) error
CheckPassword 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) CheckPassword ¶
func (mr *MockCryptoMockRecorder) CheckPassword(password, hashedPassword interface{}) *gomock.Call
CheckPassword indicates an expected call of CheckPassword.
func (*MockCryptoMockRecorder) HashPassword ¶
func (mr *MockCryptoMockRecorder) HashPassword(password interface{}) *gomock.Call
HashPassword indicates an expected call of HashPassword.
type MockDataManager ¶
type MockDataManager struct {
// contains filtered or unexported fields
}
MockDataManager is a mock of DataManager interface.
func NewMockDataManager ¶
func NewMockDataManager(ctrl *gomock.Controller) *MockDataManager
NewMockDataManager creates a new mock instance.
func (*MockDataManager) Account ¶
func (m *MockDataManager) Account() contract.AccountRepo
Account mocks base method.
func (*MockDataManager) Auth ¶
func (m *MockDataManager) Auth() contract.AuthRepo
Auth mocks base method.
func (*MockDataManager) EXPECT ¶
func (m *MockDataManager) EXPECT() *MockDataManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDataManager) WithTransaction ¶
func (m *MockDataManager) WithTransaction(ctx context.Context, fn func(contract.DataManager) error) error
WithTransaction mocks base method.
type MockDataManagerMockRecorder ¶
type MockDataManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockDataManagerMockRecorder is the mock recorder for MockDataManager.
func (*MockDataManagerMockRecorder) Account ¶
func (mr *MockDataManagerMockRecorder) Account() *gomock.Call
Account indicates an expected call of Account.
func (*MockDataManagerMockRecorder) Auth ¶
func (mr *MockDataManagerMockRecorder) Auth() *gomock.Call
Auth indicates an expected call of Auth.
func (*MockDataManagerMockRecorder) WithTransaction ¶
func (mr *MockDataManagerMockRecorder) WithTransaction(ctx, fn interface{}) *gomock.Call
WithTransaction indicates an expected call of WithTransaction.
type MockIRedisCache ¶
type MockIRedisCache struct {
// contains filtered or unexported fields
}
MockIRedisCache is a mock of IRedisCache interface.
func NewMockIRedisCache ¶
func NewMockIRedisCache(ctrl *gomock.Controller) *MockIRedisCache
NewMockIRedisCache creates a new mock instance.
func (*MockIRedisCache) EXPECT ¶
func (m *MockIRedisCache) EXPECT() *MockIRedisCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIRedisCache) Expire ¶
func (m *MockIRedisCache) Expire(ctx context.Context, key string, expiration time.Duration) *redis.BoolCmd
Expire mocks base method.
func (*MockIRedisCache) Keys ¶
func (m *MockIRedisCache) Keys(ctx context.Context, pattern string) *redis.StringSliceCmd
Keys mocks base method.
func (*MockIRedisCache) Set ¶
func (m *MockIRedisCache) Set(ctx context.Context, key string, value interface{}, expiration time.Duration) *redis.StatusCmd
Set mocks base method.
func (*MockIRedisCache) TTL ¶
func (m *MockIRedisCache) TTL(ctx context.Context, key string) *redis.DurationCmd
TTL mocks base method.
type MockIRedisCacheMockRecorder ¶
type MockIRedisCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockIRedisCacheMockRecorder is the mock recorder for MockIRedisCache.
func (*MockIRedisCacheMockRecorder) Del ¶
func (mr *MockIRedisCacheMockRecorder) Del(ctx interface{}, keys ...interface{}) *gomock.Call
Del indicates an expected call of Del.
func (*MockIRedisCacheMockRecorder) Expire ¶
func (mr *MockIRedisCacheMockRecorder) Expire(ctx, key, expiration interface{}) *gomock.Call
Expire indicates an expected call of Expire.
func (*MockIRedisCacheMockRecorder) Get ¶
func (mr *MockIRedisCacheMockRecorder) Get(ctx, key interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockIRedisCacheMockRecorder) Incr ¶
func (mr *MockIRedisCacheMockRecorder) Incr(ctx, key interface{}) *gomock.Call
Incr indicates an expected call of Incr.
func (*MockIRedisCacheMockRecorder) Keys ¶
func (mr *MockIRedisCacheMockRecorder) Keys(ctx, pattern interface{}) *gomock.Call
Keys indicates an expected call of Keys.
func (*MockIRedisCacheMockRecorder) Set ¶
func (mr *MockIRedisCacheMockRecorder) Set(ctx, key, value, expiration interface{}) *gomock.Call
Set indicates an expected call of Set.
func (*MockIRedisCacheMockRecorder) TTL ¶
func (mr *MockIRedisCacheMockRecorder) TTL(ctx, key interface{}) *gomock.Call
TTL indicates an expected call of TTL.
type MockTransferService ¶
type MockTransferService struct {
// contains filtered or unexported fields
}
MockTransferService is a mock of TransferService interface.
func NewMockTransferService ¶
func NewMockTransferService(ctrl *gomock.Controller) *MockTransferService
NewMockTransferService creates a new mock instance.
func (*MockTransferService) CreateTransfer ¶
func (m *MockTransferService) CreateTransfer(ctx context.Context, transfer dto.TransferInput) error
CreateTransfer mocks base method.
func (*MockTransferService) EXPECT ¶
func (m *MockTransferService) EXPECT() *MockTransferServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTransferService) GetTransfers ¶
func (m *MockTransferService) GetTransfers(ctx context.Context, take, skip int64) ([]entity.Transfer, int64, error)
GetTransfers mocks base method.
type MockTransferServiceMockRecorder ¶
type MockTransferServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTransferServiceMockRecorder is the mock recorder for MockTransferService.
func (*MockTransferServiceMockRecorder) CreateTransfer ¶
func (mr *MockTransferServiceMockRecorder) CreateTransfer(ctx, transfer interface{}) *gomock.Call
CreateTransfer indicates an expected call of CreateTransfer.
func (*MockTransferServiceMockRecorder) GetTransfers ¶
func (mr *MockTransferServiceMockRecorder) GetTransfers(ctx, take, skip interface{}) *gomock.Call
GetTransfers indicates an expected call of GetTransfers.