Documentation ¶
Overview ¶
Package forexprovider utilises foreign exchange API services to manage relational FIAT currencies
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSupportedForexProviders ¶
func GetSupportedForexProviders() []string
GetSupportedForexProviders returns a list of supported forex providers
Types ¶
type ForexProviders ¶
ForexProviders is a foreign exchange handler type
func NewDefaultFXProvider ¶
func NewDefaultFXProvider() *ForexProviders
NewDefaultFXProvider returns the default forex provider (currencyconverterAPI)
func StartFXService ¶
func StartFXService(fxProviders []base.Settings) (*ForexProviders, error)
StartFXService starts the forex provider service and returns a pointer to it
func (*ForexProviders) SetProvider ¶
func (f *ForexProviders) SetProvider(b base.IFXProvider) error
SetProvider sets provider to the FX handler
Directories ¶
Path | Synopsis |
---|---|
Package currencyconverter package https://free.currencyconverterapi.com/
|
Package currencyconverter package https://free.currencyconverterapi.com/ |
Package currencylayer provides a simple REST API with real-time and historical exchange rates for 168 world currencies, delivering currency pairs in universally usable JSON format - compatible with any of your applications.
|
Package currencylayer provides a simple REST API with real-time and historical exchange rates for 168 world currencies, delivering currency pairs in universally usable JSON format - compatible with any of your applications. |
Click to show internal directories.
Click to hide internal directories.