Documentation
¶
Overview ¶
Package accountfinder provides the use-case of searching for user's accounts.
Package accountfinder provides the use-case of searching for user's accounts.
Package accountfinder provides the use-case of searching for user's accounts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Account ¶
type Account struct { ID string `json:"id"` Balance decimal.Decimal `json:"balance"` Currency string `json:"currency"` }
Account is a model with user's account data that is accessible through API
type Service ¶
Service is the interface that provides methods for accounts lookup.
func NewService ¶
func NewService(accounts coins.AccountRepository) Service
NewService returns new Service with it's dependencies
Click to show internal directories.
Click to hide internal directories.