Versions in this module Expand all Collapse all v0 v0.0.2 Jul 2, 2024 v0.0.1 Jun 9, 2024 Changes in this version + var InputQueue = make(chan []*metricsdb.HostMetricDataPoint, 128) + var RequestQueue = make(chan *metricsdb.HostMetricsRequest, 128) + type Interface interface + Close func() + Last func(keyPrefix []byte) (*metricsdb.HostMetricDataPoint, error) + Query func(r *metricsdb.HostMetricsRequest) (*metricsdb.HostMetricsResponse, error) + Scan func(keyPrefix []byte) ([]*metricsdb.HostMetricDataPoint, error) + WriteBatch func(dps []*metricsdb.HostMetricDataPoint) error + func Open(db *badger.DB) Interface