Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// HTTP server settings
Host string
Port int
// Valkey/Redis connection
ValkeyURL string
ValkeyPassword string
ValkeyDB int
// UI settings
OpenBrowser bool
// Security settings
ReadOnly bool
Prefix string // Only show/allow keys matching this prefix
DisableFlush bool // Block FLUSHDB even in write mode
MaxKeys int64 // Limit SCAN count to prevent UI overload (0 = no limit)
CORSOrigin string // Allowed CORS origin (default: same-origin only)
// WebSocket settings
Notifications bool // Auto-enable Valkey keyspace notifications for live updates
// Development
Dev bool // Skip serving embedded frontend
// Build info (set at build time via main.go)
Version string
Commit string
Dirty bool
}
Config holds all application configuration
Click to show internal directories.
Click to hide internal directories.