Documentation
¶
Overview ¶
Package config defines the doze-aws binary's runtime configuration and its defaults. Construct with Default, overlay a TOML file, then flags, then call Validate — the same flags > file > defaults model as doze-kafka.
Index ¶
Constants ¶
View Source
const DefaultConfigFile = "doze-aws.toml"
DefaultConfigFile is loaded automatically from the working directory when no --config flag is given and the file exists.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// ListenAddr is the shared endpoint every enabled service answers on.
ListenAddr string
// DataDir is the root data directory; each service owns a subdirectory.
DataDir string
// Services to enable; empty means every implemented service.
Services []string
// S3Host is the base host for virtual-hosted-style S3 bucket detection
// (reserved until the s3 service lands).
S3Host string
}
Config holds every tunable for the doze-aws binary.
Click to show internal directories.
Click to hide internal directories.