Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// HTTP settings
UserAgent string
RequestTimeout time.Duration
MaxConcurrentHosts int
MaxRequestsPerHost int
// Logging
EnableDebugLogging bool
// CacheTTL is the default time-to-live for all cache layers.
CacheTTL time.Duration
// MaxCacheEntries affects memory LRU capacity.
MaxCacheEntries int
// Memory cache enabled flag
EnableMemoryCache bool
// File cache enabled flag
EnableFileCache bool
// Directory where file cache entries are stored
CacheDirectory string
// Redis cache enabled flag
EnableRedisCache bool
// Redis server address, e.g. "localhost:6379"
RedisAddress string
}
Config holds core configuration values used across Aether.
Many of these values control networking behavior and logging verbosity; Stage 3 extends this struct with caching configuration.
Click to show internal directories.
Click to hide internal directories.