Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { CreateTransaction(context.Context, entities.Transaction) error GetAccountBalance(ctx context.Context, account vos.AccountPath) (vos.AccountBalance, error) GetAnalyticalData(ctx context.Context, query vos.AccountQuery, fn func(vos.Statement) error) error GetAccountHistory(ctxt context.Context, account vos.AccountPath, fn func(vos.EntryHistory) error) error }
type UseCase ¶
type UseCase interface { CreateTransaction(context.Context, entities.Transaction) error GetAccountBalance(context.Context, vos.AccountPath) (vos.AccountBalance, error) GetAnalyticalData(context.Context, vos.AccountQuery, func(vos.Statement) error) error GetAccountHistory(context.Context, vos.AccountPath, func(vos.EntryHistory) error) error }
Click to show internal directories.
Click to hide internal directories.