Versions in this module Expand all Collapse all v0 v0.1.3 Jun 25, 2022 v0.1.0 Jun 25, 2022 Changes in this version + func SortDescending(dbs []*VersionedDatabase) + type Manager interface + Close func() error + Current func() *VersionedDatabase + GetDatabases func() []*VersionedDatabase + NewCompleteMeterDBManager func(namespace string, registerer prometheus.Registerer) (Manager, error) + NewMeterDBManager func(namespace string, registerer prometheus.Registerer) (Manager, error) + NewNestedPrefixDBManager func(prefix []byte) Manager + NewPrefixDBManager func(prefix []byte) Manager + Previous func() (*VersionedDatabase, bool) + func NewLevelDB(dbDirPath string, log logging.Logger, currentVersion version.Version, ...) (Manager, error) + func NewManagerFromDBs(dbs []*VersionedDatabase) (Manager, error) + func NewMemDB(currentVersion version.Version) Manager + func NewRocksDB(dbDirPath string, log logging.Logger, currentVersion version.Version, ...) (Manager, error) + type VersionedDatabase struct + Database database.Database + Version version.Version + func (db *VersionedDatabase) Close() error