Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DurationString ¶ added in v0.3.0
Types ¶
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
Iterator achieves a loop for a specified period of time
func NewIterator ¶
NewIterator create Iterator
func (*Iterator) Next ¶
Next returns the current rolling window and recommends Iterator to the next window
func (*Iterator) SetEnableOverWindow ¶
SetEnableOverWindow affects the Iterator's end condition and specifies whether to allow the end time of the rolling window to exceed the end time of the specified period.
Click to show internal directories.
Click to hide internal directories.