Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetReportFileTime ¶
func GetReportFileTime()
GetReportFileTime stops and restarts the report file generation ticker using the interval defined in 'utils.TimeReportFile'.
The function performs:
- Stops 'processor.TickerReportFile' using Stop()
- Restarts it using Reset(utils.TimeReportFile) to apply new interval.
func GetReportPartialTime ¶
func GetReportPartialTime()
GetReportPartialTime updates the partial report interval based on the current configuration (options.Config.ReportInterval) and restarts the corresponding ticker.
The function performs:
- Calculates processor.TimeReport as options.Config.ReportInterval (in minutes) converted to time.Duration
- Stops processor.Ticker using Stop()
- Restarts the ticket with the new interval using Reset(processor.TimeReport),
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.