Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Datum ¶
type Datum interface {
// Type returns the Datum type.
Type() Type
ValueString() string
TimeString() string
}
Datum
type FloatDatum ¶
floatDatum describes a floating point value at a given timestamp.
func (*FloatDatum) Get ¶
func (d *FloatDatum) Get() float64
func (*FloatDatum) MarshalJSON ¶
func (d *FloatDatum) MarshalJSON() ([]byte, error)
func (*FloatDatum) Set ¶
func (d *FloatDatum) Set(v float64, ts time.Time)
func (*FloatDatum) String ¶
func (d *FloatDatum) String() string
func (*FloatDatum) Type ¶
func (*FloatDatum) Type() Type
func (*FloatDatum) ValueString ¶
func (d *FloatDatum) ValueString() string
Source Files
¶
- datum.go
- float.go
- int.go
Click to show internal directories.
Click to hide internal directories.