Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ApplicationSettings *util.Settings
Reference here, so main can give it. Will prevent circular dependances.
View Source
var Databasefiles embed.FS
Functions ¶
func ImportLegacyCsv ¶
func ImportLegacyCsv(filepath string)
Import the legacy CSV from V0.1 into the new database storage format.
func SaveMultipleToDb ¶
func SaveMultipleToDb(timeBrowserInfoMap *[]TimedBrowserInfo) error
Save multiple info entries from different timestamps to the database from **1** browser per entry.
func SaveToDb ¶
func SaveToDb(browserInfoList []browser.BrowserInfo)
Save a single entry with multiple browsers to the database at the current timestamp.
Types ¶
type TimedBrowserInfo ¶
type TimedBrowserInfo struct {
Timestamp int64
BrowserInfo browser.BrowserInfo
}
Click to show internal directories.
Click to hide internal directories.