function
WithAddress
func WithAddress(address string) ExecuteOptionConfigure the HTTP listen address independently from the store adapter.
The default is :8080, which listens on every interface. Use a loopback address when Ridu must be reachable only through a local reverse proxy or during development.
This controls only the listener. Public host validation belongs to HandlerOptions.AllowedHosts.
Example
ridu.WithAddress("127.0.0.1:8080")Related types
ExecuteOptionOne opaque runtime option accepted by Execute.