Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WireSet = wire.NewSet( NewOpenExchangeRateClient, )
Functions ¶
This section is empty.
Types ¶
type OpenExchangeRateClient ¶
type OpenExchangeRateClient interface {
FetchLatestRate(baseCurrency string, targetCurrencies []string) (map[string]float64, error)
}
func NewOpenExchangeRateClient ¶
func NewOpenExchangeRateClient(cfg configs.APIsConfig) (OpenExchangeRateClient, error)
Click to show internal directories.
Click to hide internal directories.