Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseDatum ¶
type BaseDatum struct {
Time int64 // nanoseconds since unix epoch
}
func (*BaseDatum) TimeString ¶
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) String ¶
func (d *FloatDatum) String() string
func (*FloatDatum) Type ¶
func (*FloatDatum) Type() Type
func (*FloatDatum) ValueString ¶
func (d *FloatDatum) ValueString() string
type IntDatum ¶
IntDatum describes an integer value at a given timestamp.
func (*IntDatum) MarshalJSON ¶
func (*IntDatum) ValueString ¶
Click to show internal directories.
Click to hide internal directories.