Documentation ¶
Index ¶
- type TransactionsRepository
- func (repository *TransactionsRepository) Close()
- func (repository *TransactionsRepository) DepositMoney(request *input.Deposit) error
- func (repository *TransactionsRepository) GetTransactionsByAccount(accountID uint32) ([]*entity.Transaction, error)
- func (repository *TransactionsRepository) HasConnection() bool
- func (repository *TransactionsRepository) TransferMoney(request *input.Transfer) error
- func (repository *TransactionsRepository) WithdrawMoney(request *input.Withdraw) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TransactionsRepository ¶
func (*TransactionsRepository) Close ¶
func (repository *TransactionsRepository) Close()
func (*TransactionsRepository) DepositMoney ¶
func (repository *TransactionsRepository) DepositMoney(request *input.Deposit) error
func (*TransactionsRepository) GetTransactionsByAccount ¶
func (repository *TransactionsRepository) GetTransactionsByAccount(accountID uint32) ([]*entity.Transaction, error)
func (*TransactionsRepository) HasConnection ¶
func (repository *TransactionsRepository) HasConnection() bool
func (*TransactionsRepository) TransferMoney ¶
func (repository *TransactionsRepository) TransferMoney(request *input.Transfer) error
func (*TransactionsRepository) WithdrawMoney ¶
func (repository *TransactionsRepository) WithdrawMoney(request *input.Withdraw) error
Click to show internal directories.
Click to hide internal directories.