Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Server ServerConfig
Export ExportConfig
Features FeatureFlags
}
Config holds the web example configuration.
type ExportConfig ¶
type ExportConfig struct {
ArtifactDir string
MaxRows int
DefaultFormat string
EnableAsync bool
CleanupOnStart bool
Template TemplateConfig
PDF PDFConfig
Notifications NotificationConfig
}
ExportConfig holds export-specific settings.
type FeatureFlags ¶
type FeatureFlags struct {
EnableAuth bool
}
FeatureFlags toggles optional features.
type NotificationConfig ¶
type NotificationConfig struct {
Enabled bool
Recipients []string
Channels []string
SMTP SMTPConfig
}
NotificationConfig holds export-ready notification settings.
type PDFConfig ¶
type PDFConfig struct {
Enabled bool
Engine string
WKHTMLTOPDFPath string
ChromiumPath string
Headless bool
Args []string
Timeout int // seconds
PageSize string
PrintBackground bool
PreferCSSPageSize bool
Scale float64
MarginTop string
MarginBottom string
MarginLeft string
MarginRight string
BaseURL string
ExternalAssetsPolicy string
}
PDFConfig holds PDF renderer settings.
type SMTPConfig ¶
type SMTPConfig struct {
Host string
Port int
From string
Username string
Password string
UseTLS bool
UseStartTLS bool
SkipTLSVerify bool
AuthDisabled bool
PlainOnly bool
}
SMTPConfig holds SMTP adapter settings for notifications.
type ServerConfig ¶
ServerConfig holds HTTP server settings.
Click to show internal directories.
Click to hide internal directories.