Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseLogsConfig ¶
type Config ¶
type Config struct { Logs struct { BaseLogsConfig `yaml:",inline"` Filename string `yaml:"filename"` } `yaml:"logs"` WriteAheadLogging WriteAheadLogging `yaml:"write_ahead_logging"` Printer struct { Name string `yaml:"name"` MonitorInterval int `yaml:"monitor_interval_ms"` } `yaml:"printer"` Engine struct { Handlers []HandlerConfig `yaml:"handlers"` IgnoreRecoveryErrors bool `yaml:"ignore_recovery_errors"` MaxWorkers int `yaml:"max_workers"` } `yaml:"engine"` Workdir string `yaml:"workdir"` }
func ParseConfig ¶
type HandlerConfig ¶
type HandlerConfig struct { Name string `yaml:"name"` Retry HandlerRetryMechanism `yaml:"retry,omitempty"` Config map[string]interface{} `yaml:"config,omitempty"` }
type HandlerRetryMechanism ¶
type WriteAheadLogging ¶
type WriteAheadLogging struct { BaseLogsConfig `yaml:",inline"` Enabled bool `yaml:"enabled"` }
Click to show internal directories.
Click to hide internal directories.