Documentation
¶
Index ¶
Constants ¶
View Source
const EolStoreFileName = "xeol.db"
View Source
const SchemaVersion = 1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cycle ¶
type Cycle struct { ProductName string `json:"productName"` ProductPermalink string `json:"productPermalink"` ReleaseDate string `json:"releaseDate"` ReleaseCycle string `json:"releaseCycle"` LatestReleaseDate string `json:"latestReleaseDate"` LatestRelease string `json:"latestRelease"` LTS string `json:"lts"` Eol string `json:"eol"` EolBool bool `json:"eolBool"` }
type EolStore ¶
type EolStore interface { EolStoreReader EolStoreWriter }
type EolStoreReader ¶
type EolStoreWriter ¶
type EolStoreWriter interface { }
type ID ¶
type ID struct { // BuildTimestamp is the timestamp used to define the age of the DB, ideally including the age of the data // contained in the DB, not just when the DB file was created. BuildTimestamp time.Time `json:"build_timestamp"` SchemaVersion int `json:"schema_version"` }
ID represents identifying information for a DB and the data it contains.
type Store ¶
type Store interface { StoreReader StoreWriter DBCloser }
type StoreReader ¶
type StoreReader interface { IDReader EolStoreReader }
type StoreWriter ¶
type StoreWriter interface { IDWriter EolStoreWriter }
Click to show internal directories.
Click to hide internal directories.