Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnvOrDefault ¶
GetEnvOrDefault returns environment variable or default value
func LoadFromEnv ¶
func LoadFromEnv(cfg *Config)
LoadFromEnv loads configuration from environment variables
Types ¶
type BackendConfig ¶
type CacheConfig ¶
type Config ¶
type Config struct {
Server ServerConfig `yaml:"server"`
Engine EngineConfig `yaml:"engine"`
Pipeline PipelineConfig `yaml:"pipeline"`
Events EventConfig `yaml:"events"`
Cache CacheConfig `yaml:"cache"`
Backends map[string]BackendConfig `yaml:"backends"`
}
type EngineConfig ¶
type EventConfig ¶
type PipelineConfig ¶
type PipelineConfig struct {
Stages []string `yaml:"stages"` // ["compress", "encrypt"] for MVP
}
type ServerConfig ¶
Click to show internal directories.
Click to hide internal directories.