Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Coin ¶
type Coin struct { Rank float64 Name string Symbol string Market_Cap float64 Price float64 Circulating_Supply float64 Volume_24h float64 Change_1h float64 Change_24h float64 Change_7d float64 }
Struct for scaping coinmarket data
type CoinStats ¶
type CoinStats struct {
// contains filtered or unexported fields
}
func NewCoinStats ¶
NewCoinStats returns a new Collector exposing Coin stats.
func (*CoinStats) Collect ¶
func (c *CoinStats) Collect(ch chan<- prometheus.Metric)
Collect collects CoinStats metrics.
func (*CoinStats) Describe ¶
func (c *CoinStats) Describe(ch chan<- *prometheus.Desc)
Describe set Prometheus metrics descriptions.
Click to show internal directories.
Click to hide internal directories.