Documentation
¶
Index ¶
- func DeleteEntry(ctx context.Context, id string) error
- func GetAccount(ctx context.Context, accountId string) (*model.Account, error)
- func GetAllAccountsAndMostRecentBalances(ctx context.Context, userId string) ([]*model.AccountBalance, error)
- func InsertAccountBalance(ctx context.Context, account *model.QldbAccount) error
- func InsertEntry(ctx context.Context, a, b *model.Entry) error
- func InsertTransaction(ctx context.Context, t *model.Transaction, sender, receiver *model.Account) error
- func NewRepo(a *config.AppConfig, l *log.Entry)
- func UpsertHold(ctx context.Context, hold *model.Hold) error
- type DbManager
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertAccountBalance ¶
func InsertAccountBalance( ctx context.Context, account *model.QldbAccount, ) error
func InsertTransaction ¶
Types ¶
type Repository ¶
var Repo *Repository
Click to show internal directories.
Click to hide internal directories.