Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultInputPlugin = "chainsync" DefaultOutputPlugin = "log" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Plugin map[string]map[string]map[any]any `yaml:"plugins"`
Logging LoggingConfig `yaml:"logging"`
ConfigFile string `yaml:"-"`
Input string `yaml:"input" envconfig:"INPUT"`
Output string `yaml:"output" envconfig:"OUTPUT"`
KupoUrl string `yaml:"kupo_url" envconfig:"KUPO_URL"`
Api ApiConfig `yaml:"api"`
Debug DebugConfig `yaml:"debug"`
Version bool `yaml:"-"`
}
type DebugConfig ¶
type LoggingConfig ¶
type LoggingConfig struct {
Level string `yaml:"level" envconfig:"LOGGING_LEVEL"`
}
Click to show internal directories.
Click to hide internal directories.