Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimeWindow ¶
type TimeWindow struct {
// contains filtered or unexported fields
}
func NewTimeWindow ¶
func NewTimeWindow(duration, granularity time.Duration) *TimeWindow
func (*TimeWindow) Avg ¶
func (t *TimeWindow) Avg() (float64, error)
func (*TimeWindow) Max ¶
func (t *TimeWindow) Max() (float64, error)
func (*TimeWindow) Min ¶
func (t *TimeWindow) Min() (float64, error)
func (*TimeWindow) String ¶
func (tw *TimeWindow) String() string
Click to show internal directories.
Click to hide internal directories.