Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Accounts ¶
type Accounts interface { ListOfAccounts(context.Context, models.OffsetLimit) ([]models.Account, error) AddAccount(context.Context, NewAccount) (uuid.UUID, error) AccountByID(context.Context, uuid.UUID) (*models.Account, error) }
func NewAccountsService ¶
func NewAccountsService(ar repositories.Accounts, cr repositories.Currencies) Accounts
type Currencies ¶
func NewCurrenciesService ¶
func NewCurrenciesService(cr repositories.Currencies) Currencies
type NewAccount ¶
type NewPayment ¶
type Payments ¶
type Payments interface { CreatePayment(context.Context, NewPayment) (uuid.UUID, error) AccountPayments(context.Context, uuid.UUID, models.OffsetLimit) ([]models.Payment, error) }
func NewPaymentsService ¶
func NewPaymentsService( pr repositories.Payments, ar repositories.Accounts, cr repositories.Currencies, er repositories.ExchangeRates, withTx repositories.WithTransactionFunc, ) Payments
Click to show internal directories.
Click to hide internal directories.