reporttime

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL