importtime

package
v2.0.18-core Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDatasetImportUnixTimeSec

func GetDatasetImportUnixTimeSec(fs fileaccess.FileAccess, configBucket string, datasetID string) (int, error)

GetDatasetImportUnixTimeSec - Returns the last unix time seconds timestamp that the dataset with given datasetID was imported or 0 if never

func SaveDatasetImportUnixTimeSec

func SaveDatasetImportUnixTimeSec(fs fileaccess.FileAccess, log logger.ILogger, configBucket string, datasetID string, unixTimeSec int) error

Types

type LastImportTimes

type LastImportTimes struct {
	Times map[string]int `json:"times"`
}

Jump to

Keyboard shortcuts

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