Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminConfig ¶
type AdminConfig struct {
Key string `env:"ADMIN_KEY,required"`
}
type AppConfig ¶
type AppConfig struct { CORS CORSConfig TrackingPublicUrl string `env:"TRACKING_PUBLIC_URL" envDefault:"https://custosmetrics.com"` InvoicePaidRedirectUrl string `env:"INVOICE_PAID_REDIRECT_URL" envDefault:"https://customeros.ai/payments/status/paid/"` Mailstack MailstackConfig DefaultGlobalOrgPrimaryDomainsInSearch []string `` /* 508-byte string literal not displayed */ }
type CORSConfig ¶
type Config ¶
type Config struct { Server ServerConfig GraphQL GraphQLConfig Admin AdminConfig Database DatabaseConfig Messaging MessagingConfig Observability ObservabilityConfig App AppConfig InternalServices InternalServicesConfig ExternalServices ExternalServicesConfig GrpcClient config.GrpcClientConfig }
func InitConfig ¶
type DatabaseConfig ¶
type DatabaseConfig struct { Postgres config.PostgresConfig PostgresAsync config.PostgresAsyncConfig Neo4j config.Neo4jConfig }
type ExternalServicesConfig ¶
type ExternalServicesConfig struct { Anthropic config.AnthropicConfig Cloudflare config.CloudflareConfig IntegrationApp IntegrationAppConfig Namecheap config.NamecheapConfig OpenSRS config.OpenSRSConfig Postmark config.PostmarkConfig Stripe config.StripeConfig }
type GraphQLConfig ¶
type IntegrationAppConfig ¶
type InternalServicesConfig ¶
type InternalServicesConfig struct { CustomerOsApiUrl string `env:"CUSTOMER_OS_API_URL" envDefault:"https://api.customeros.ai" validate:"required"` ValidationApi string `env:"VALIDATION_API" validate:"required"` ValidationApiKey string `env:"VALIDATION_API_KEY" validate:"required"` EnrichmentApiUrl string `env:"ENRICHMENT_API_URL" validate:"required"` EnrichmentApiKey string `env:"ENRICHMENT_API_KEY" validate:"required"` FileStoreApi fsc.FileStoreApiConfig }
type MailstackConfig ¶
type MailstackConfig struct {
SupportedTlds []string `env:"MAILSTACK_SUPPORTED_TLDS" envDefault:"com"`
}
type MessagingConfig ¶
type MessagingConfig struct {
RabbitMQ config.RabbitMQConfig
}
type ObservabilityConfig ¶
type ObservabilityConfig struct { Jaeger tracing.JaegerConfig Metrics metrics.Config }
Click to show internal directories.
Click to hide internal directories.