Versions in this module Expand all Collapse all v0 v0.12.0 Sep 18, 2019 v0.11.0 Nov 9, 2018 Changes in this version + const Days + const Hours + const Minutes + const PointSize + const Seconds + const Weeks + const Years + type Retention struct + func NewRetention(secondsPerPoint, numberOfPoints int) Retention + func ParseRetentionDef(retentionDef string) (*Retention, error) + func (retention *Retention) MaxRetention() int + func (retention *Retention) NumberOfPoints() int + func (retention *Retention) SecondsPerPoint() int + func (retention *Retention) Size() int + type Retentions []*Retention + func ParseRetentionDefs(retentionDefs string) (Retentions, error) + func (r Retentions) Len() int + func (r Retentions) Swap(i, j int)