Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoApiKeyProvided = fmt.Errorf("it is necessary an Api Key to do requests") ErrEmptyCurrencyFile = fmt.Errorf("currency file is empty") )
Functions ¶
This section is empty.
Types ¶
type ConvertedCurrency ¶
type ExchangeApi ¶
func NewClient ¶
func NewClient(config *config.AppConfigParameters) (*ExchangeApi, error)
func (*ExchangeApi) ConvertCurrencyLatest ¶
func (eapi *ExchangeApi) ConvertCurrencyLatest(from string, to string) (*ConvertedCurrency, error)
Click to show internal directories.
Click to hide internal directories.