Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metric ¶ added in v0.10.0
type Metric interface {
// part of the Getter interface
GetFieldInt64(field string) (int64, error)
GetFieldKeys() []string
Add(m Metric) Metric
Sub(m Metric) Metric
Split(cut int64) (Metric, Metric)
GetStart() int64
SetStart(start int64)
GetLast() int64
SetLast(last int64)
IsZero() bool
}
Metric defines a common metric interface
Click to show internal directories.
Click to hide internal directories.