From 023eae6eda47df078615b46266b01dad056a91ac Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 3 Feb 2020 00:30:45 -0500 Subject: more --- rrdformat/format.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'rrdformat/format.go') diff --git a/rrdformat/format.go b/rrdformat/format.go index ca0c459..2dbcb30 100644 --- a/rrdformat/format.go +++ b/rrdformat/format.go @@ -75,6 +75,14 @@ type DSDef struct { Parameters [10]rrdbinary.Unival `xml:"params>item"` } +const ( + DSParam_MRHBCnt = iota // Minimum Required HeatBeat Count + DSParam_MinVal + DSParam_MaxVal + // When DSType==DST_CDEF, none of the above are used, and the + // parameters are instead interpretted with .AsRPNTokens(). +) + type RRADef struct { CFName rrdbinary.String `rrdbinary:"size=20" xml:"cf"` RowCnt rrdbinary.ULong `xml:"-"` -- cgit v1.2.3