Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type CORSConfig ¶
type CloudConfig ¶
type Config ¶
type Config struct {
Environment string
Server ServerConfig
Database DatabaseConfig
Logging LoggingConfig
Webhook WebhookConfig
Auth AuthConfig
CORS CORSConfig
Cloud CloudConfig
Integrations IntegrationsConfig
RateLimit RateLimitConfig
}
Config is the fully-resolved runtime configuration.
func LoadFromFile ¶
LoadFromFile loads config with precedence: defaults < YAML < env. Secrets referenced via *_env fields are resolved from env vars.
type DatabaseConfig ¶
type DatadogConfig ¶
type IntegrationsConfig ¶
type IntegrationsConfig struct {
Sentry SentryConfig
Datadog DatadogConfig
Slack SlackConfig
}
type LoggingConfig ¶
type RateLimitConfig ¶
type SentryConfig ¶
type ServerConfig ¶
type SlackConfig ¶
type WebhookConfig ¶
Click to show internal directories.
Click to hide internal directories.