implement first draft of sprockets

This commit is contained in:
2025-10-09 19:09:37 +01:00
parent 09b00c76ed
commit d2d0821d19
20 changed files with 3075 additions and 4 deletions

View File

@@ -51,6 +51,9 @@ type C struct {
// Web UI and dev mode settings
WebDisableEmbedded bool `env:"ORLY_WEB_DISABLE" default:"false" usage:"disable serving the embedded web UI; useful for hot-reload during development"`
WebDevProxyURL string `env:"ORLY_WEB_DEV_PROXY_URL" usage:"when ORLY_WEB_DISABLE is true, reverse-proxy non-API paths to this dev server URL (e.g. http://localhost:5173)"`
// Sprocket settings
SprocketEnabled bool `env:"ORLY_SPROCKET_ENABLED" default:"false" usage:"enable sprocket event processing plugin system"`
}
// New creates and initializes a new configuration object for the relay