Documentation
¶
Index ¶
- func SaveMarket(db *leveldb.DB, market Market, truncate string, debug bool) (err error)
- type Currency
- func BtcJpy(db *leveldb.DB, in int64, truncate string, debug bool) (out Currency, err error)
- func BtcJpyArray(db *leveldb.DB, start, end int64, truncate string, debug bool) (out []Currency, err error)
- func BtcUsd(db *leveldb.DB, in int64, truncate string, debug bool) (out Currency, err error)
- func BtcUsdArray(db *leveldb.DB, start, end int64, truncate string, debug bool) (out []Currency, err error)
- type Market
- type Price
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Currency ¶
type Currency struct { CurrencyCode string `json:"currencyCode"` Price float64 `json:"price"` TimestampSec int64 `json:"timestampSec"` Provider string `json"provider"` }
func BtcJpyArray ¶
Click to show internal directories.
Click to hide internal directories.