Documentation ¶
Index ¶
- type Accumulator
- func (a *Accumulator) Add(measurement string, value interface{}, tags map[string]string)
- func (a *Accumulator) AddValuesWithTime(measurement string, values map[string]interface{}, tags map[string]string, ...)
- func (a *Accumulator) CheckTaggedValue(measurement string, val interface{}, tags map[string]string) bool
- func (a *Accumulator) CheckValue(measurement string, val interface{}) bool
- func (a *Accumulator) Get(measurement string) (*Point, bool)
- func (a *Accumulator) HasFloatValue(measurement string) bool
- func (a *Accumulator) HasIntValue(measurement string) bool
- func (a *Accumulator) ValidateTaggedValue(measurement string, val interface{}, tags map[string]string) error
- func (a *Accumulator) ValidateValue(measurement string, val interface{}) error
- type Point
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Accumulator ¶
type Accumulator struct {
Points []*Point
}
func (*Accumulator) Add ¶
func (a *Accumulator) Add(measurement string, value interface{}, tags map[string]string)
func (*Accumulator) AddValuesWithTime ¶
func (*Accumulator) CheckTaggedValue ¶
func (a *Accumulator) CheckTaggedValue(measurement string, val interface{}, tags map[string]string) bool
func (*Accumulator) CheckValue ¶
func (a *Accumulator) CheckValue(measurement string, val interface{}) bool
func (*Accumulator) HasFloatValue ¶
func (a *Accumulator) HasFloatValue(measurement string) bool
func (*Accumulator) HasIntValue ¶
func (a *Accumulator) HasIntValue(measurement string) bool
func (*Accumulator) ValidateTaggedValue ¶
func (a *Accumulator) ValidateTaggedValue(measurement string, val interface{}, tags map[string]string) error
func (*Accumulator) ValidateValue ¶
func (a *Accumulator) ValidateValue(measurement string, val interface{}) error
Click to show internal directories.
Click to hide internal directories.