Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SciensanoCache ¶
type SciensanoCache struct {
Cases cacher[sciensano.Cases]
Hospitalisations cacher[sciensano.Hospitalisations]
Mortalities cacher[sciensano.Mortalities]
TestResults cacher[sciensano.TestResults]
Vaccinations cacher[sciensano.Vaccinations]
// contains filtered or unexported fields
}
func NewSciensanoCache ¶
func NewSciensanoCache(target string) *SciensanoCache
func (*SciensanoCache) AutoRefresh ¶
func (c *SciensanoCache) AutoRefresh(ctx context.Context, interval time.Duration)
func (*SciensanoCache) Collect ¶
func (c *SciensanoCache) Collect(metrics chan<- prometheus.Metric)
func (*SciensanoCache) Describe ¶
func (c *SciensanoCache) Describe(descs chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.