package
Version:
v0.34.2
Opens a new window with list of versions in this module.
Published: Feb 26, 2020
License: AGPL-3.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Chore for flushing reported serials to the database as rollups.
architecture: Chore
NewChore creates new chore for flushing the reported serials to the database as rollups.
Close stops the reported rollups chore.
Run starts the reported rollups chore.
RunOnce finds expired bandwidth as of 'now' and inserts rollups into the appropriate tables.
type Config struct {
Interval time.Duration `help:"how often to flush the reported serial rollups to the database" default:"5m"`
}
Config is a configuration struct for the Chore.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.