Versions in this module Expand all Collapse all v1 v1.1.0 Jun 19, 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, dbConfig []byte, log logging.Logger, ...) (Manager, error) + func NewManagerFromDBs(dbs []*VersionedDatabase) (Manager, error) + func NewMemDB(currentVersion version.Version) Manager + func NewRocksDB(dbDirPath string, dbConfig []byte, log logging.Logger, ...) (Manager, error) + type VersionedDatabase struct + Database database.Database + Version version.Version + func (db *VersionedDatabase) Close() error