Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultInterval is the default time between rollups. // Rollups will be synchronized with the clock so that // they happen 13:00, 13:05, 13:10, etc. DefaultInterval = 5 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Rolluper)
func WithEventChannel ¶
WithEventChannel sets the event channel to use for rollup events.
This is only used for testing.
func WithInterval ¶
WithInterval sets the interval between rollups.
type Rolluper ¶
type Rolluper struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.