Documentation ¶ Index ¶ type Readings func NewReadings() *Readings func (r *Readings) Add(v float64) func (r *Readings) GetAverage(d time.Duration) float64 Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Readings ¶ type Readings struct { // contains filtered or unexported fields } func NewReadings ¶ func NewReadings() *Readings func (*Readings) Add ¶ func (r *Readings) Add(v float64) func (*Readings) GetAverage ¶ func (r *Readings) GetAverage(d time.Duration) float64 Source Files ¶ View all Source files readings.go Directories ¶ Show internal Expand all Path Synopsis storage blocks config device dirtytracker expose integrity metrics metrics/prometheus migrator modules protocol protocol/packets sources util volatilitymonitor waitingcache testutils Click to show internal directories. Click to hide internal directories.