Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetIngestrURI ¶
type Config ¶
type Config struct {
// AccessKey is the exchangeratesapi.io API access key. Required.
AccessKey string
// Base is the base currency for the returned rates, e.g. USD. Optional,
// defaults to the API's own default (EUR). Changing the base requires a paid
// plan.
Base string
}
Config holds the settings required to connect to exchangeratesapi.io (an APILayer product) serving current and historical foreign exchange rates.
func (*Config) GetIngestrURI ¶
GetIngestrURI builds the ingestr source URI for exchangeratesapi.io. Format: exchangeratesapi://?access_key=<access_key>[&base=<currency-code>]
Click to show internal directories.
Click to hide internal directories.