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 { Api ApiConfig `yaml:"api"` ConfigFile string `yaml:"-"` Version bool `yaml:"-"` Logging LoggingConfig `yaml:"logging"` Debug DebugConfig `yaml:"debug"` Input string `yaml:"input" envconfig:"INPUT"` Output string `yaml:"output" envconfig:"OUTPUT"` Plugin map[string]map[string]map[interface{}]interface{} `yaml:"plugins"` }
type DebugConfig ¶
type LoggingConfig ¶
type LoggingConfig struct {
Level string `yaml:"level" envconfig:"LOGGING_LEVEL"`
}
Click to show internal directories.
Click to hide internal directories.