background_services

package
v0.0.0-...-8e06d68 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLastTickTime

func GetLastTickTime() time.Time

func GetLatestProcessedReportFile

func GetLatestProcessedReportFile(lastProcessedFile string) ([]byte, string, string, error)

func GetUpdateInterval

func GetUpdateInterval() time.Duration

GetUpdateInterval returns the update interval used by the background process

func ProcessReportFile

func ProcessReportFile(file []byte) error

func ProcessReportsBackground

func ProcessReportsBackground(updateInterval time.Duration)

func SetLastTickTime

func SetLastTickTime(t time.Time)

func SetUpdateInterval

func SetUpdateInterval(interval time.Duration)

SetUpdateInterval sets the update interval used by the background process

func TimeInDaysFormat

func TimeInDaysFormat(duration time.Duration) string

func TimeRemainingForNextUpdate

func TimeRemainingForNextUpdate(updateInterval time.Duration) time.Duration

Types

This section is empty.

Jump to

Keyboard shortcuts

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