package
Version:
v0.0.0-...-2b49957
Opens a new window with list of versions in this module.
Published: Jul 31, 2022
License: MIT
Opens a new window with license information.
Imports: 21
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Coin struct {
Symbol string `json:"symbol"`
Name string `json:"name"`
}
type Coins struct {
Coins []Coin `json:"coins"`
}
type Settings struct {
APIKey string `json:"coinmarketcap_api_key"`
Currency string `json:"currency"`
Interval time.Duration `json:"refresh_interval"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.