package
Version:
v0.0.0-...-24865f3
Opens a new window with list of versions in this module.
Published: Oct 19, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
config.Config `yaml:",inline"`
LogLevel string `validate:"omitempty,oneof=debug trace info warn error fatal panic" yaml:"log_level"`
Indexer Indexer `yaml:"indexer"`
Profiler *profiler.Config `validate:"omitempty" yaml:"profiler"`
}
type Indexer struct {
Name string `validate:"omitempty" yaml:"name"`
ThreadsCount uint32 `validate:"omitempty,min=1" yaml:"threads_count"`
StartLevel int64 `validate:"omitempty" yaml:"start_level"`
BlockPeriod int64 `validate:"omitempty" yaml:"block_period"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.