package
Version:
v0.0.0-...-49a0fbc
Opens a new window with list of versions in this module.
Published: Sep 1, 2023
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
fx does Foreign Exchange / currency conversions.
FX represents the currency coversion (Foreign Exchange) package.
New returns an instace of the FX converter.
Dump produces a gob dump of the cached data.
Load loads a gob dump of cached data.
Query handles a currency rate conversion query.
Format: 100USD-INR.FX
type Opt struct {
RefreshInterval time.Duration `json:"refresh_interval"`
}
Opt represents the config options for the FX converter.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.