function
WithHandlerOptions
func WithHandlerOptions(options HandlerOptions) ExecuteOptionConfigure the generated HTTP handler used by Execute.
Generated projects use this option to attach the compiled admin assets and environment-derived HTTP policy. Passing it replaces the complete HandlerOptions value; combine settings in one value rather than scattering repeated WithHandlerOptions calls.
Example
ridu.WithHandlerOptions(ridu.HandlerOptions{
AdminAssets: adminassets.FS(),
AllowedHosts: []string{"cms.example.com"},
SecureCookies: true,
})Related types
HandlerOptionsHTTP security, size bounds, observers, and trusted-proxy policy.
ExecuteOptionOne opaque runtime option accepted by Execute.