package
Version:
v0.0.0-...-5bdfbad
Opens a new window with list of versions in this module.
Published: Jun 10, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Bpi struct {
USD `json:"USD"`
GBP `json:"GBP"`
EUR `json:"EUR"`
}
type CurrentPrice struct {
Time struct {
Updated string `json:"updated"`
UpdatedISO time.Time `json:"updatedISO"`
Updateduk string `json:"updateduk"`
} `json:"time"`
Disclaimer string `json:"disclaimer"`
ChartName string `json:"chartName"`
Bpi `json:"bpi"`
}
type EUR struct {
Code string `json:"code"`
Symbol string `json:"symbol"`
Rate string `json:"rate"`
Description string `json:"description"`
RateFloat float64 `json:"rate_float"`
}
type GBP struct {
Code string `json:"code"`
Symbol string `json:"symbol"`
Rate string `json:"rate"`
Description string `json:"description"`
RateFloat float64 `json:"rate_float"`
}
type Rate struct {
ID string `json:"id" bson:"id"`
Exchange float64 `json:"exchange" bson:"exchange"`
TradeType string `json:"trade_type" bson:"trade_type"`
Price float64 `json:"price"`
Ts time.Time `json:"ts" bson:"ts"`
}
type USD struct {
Code string `json:"code"`
Symbol string `json:"symbol"`
Rate string `json:"rate"`
Description string `json:"description"`
RateFloat float64 `json:"rate_float"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.