Documentation ¶
Index ¶
- type PixKeyRepositoryDb
- func (repository *PixKeyRepositoryDb) AddAccount(account *model.Account) error
- func (repository *PixKeyRepositoryDb) AddBank(bank *model.Bank) error
- func (repository *PixKeyRepositoryDb) FindAccount(id string) (*model.Account, error)
- func (repository *PixKeyRepositoryDb) FindBank(id string) (*model.Bank, error)
- func (repository *PixKeyRepositoryDb) FindKeyByKind(key string, kind string) (*model.PixKey, error)
- func (repository *PixKeyRepositoryDb) RegisterKey(pixKey *model.PixKey) (*model.PixKey, error)
- type TransactionRepositoryDb
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PixKeyRepositoryDb ¶
PixKeyRepositoryDb represents a repository for pixKey operations
func (*PixKeyRepositoryDb) AddAccount ¶
func (repository *PixKeyRepositoryDb) AddAccount(account *model.Account) error
AddAccount adds a new account to the database
func (*PixKeyRepositoryDb) AddBank ¶
func (repository *PixKeyRepositoryDb) AddBank(bank *model.Bank) error
AddBank adds a new bank to the database
func (*PixKeyRepositoryDb) FindAccount ¶
func (repository *PixKeyRepositoryDb) FindAccount(id string) (*model.Account, error)
FindAccount search for a account
func (*PixKeyRepositoryDb) FindBank ¶
func (repository *PixKeyRepositoryDb) FindBank(id string) (*model.Bank, error)
FindBank search for a bank
func (*PixKeyRepositoryDb) FindKeyByKind ¶
FindKeyByKind search for a key and kind
func (*PixKeyRepositoryDb) RegisterKey ¶
RegisterKey registers a new pixKey to the database
type TransactionRepositoryDb ¶
TransactionRepositoryDb represents a repository for transaction operations
func (*TransactionRepositoryDb) Find ¶
func (repository *TransactionRepositoryDb) Find(id string) (*model.Transaction, error)
Find search for a transaction
func (*TransactionRepositoryDb) Register ¶
func (repository *TransactionRepositoryDb) Register(transaction *model.Transaction) error
Register registers a new transaction
func (*TransactionRepositoryDb) Save ¶
func (repository *TransactionRepositoryDb) Save(transaction *model.Transaction) error
Save saves a existing transaction
Click to show internal directories.
Click to hide internal directories.