Documentation ¶ Index ¶ Constants func DecodeAugmentedCBOR[T any](input []byte, mode cbor.DecMode) (*T, error) type Config func GetConfig() *Config type Indexer func New(dbh db.Handler) (*Indexer, error) func (i *Indexer) Close() func (i *Indexer) Start() Constants ¶ View Source const ( DefaultIndexFromBackup = false ) Variables ¶ This section is empty. Functions ¶ func DecodeAugmentedCBOR ¶ func DecodeAugmentedCBOR[T any](input []byte, mode cbor.DecMode) (*T, error) Types ¶ type Config ¶ type Config struct { IndexFromBackup bool `mapstructure:"indexFromBackup"` Dir string `mapstructure:"backupDir"` NamePrefix string `mapstructure:"backupNamePrefix"` From uint64 `mapstructure:"from"` To uint64 `mapstructure:"to"` } func GetConfig ¶ func GetConfig() *Config type Indexer ¶ type Indexer struct { Config *Config // contains filtered or unexported fields } func New ¶ func New(dbh db.Handler) (*Indexer, error) func (*Indexer) Close ¶ func (i *Indexer) Close() func (*Indexer) Start ¶ func (i *Indexer) Start() Source Files ¶ View all Source files config.go indexer.go Click to show internal directories. Click to hide internal directories.