method

App.Handler

func (application *App) Handler(options HandlerOptions) http.Handler

Build the REST API, admin, plugin routes, health, and readiness handler.

Source core/http.go:153

@param options
The options value.
@returns
The declared result.

Use this when embedding Ridu in an existing Go server. ridu.Execute owns the ordinary production server lifecycle.

Related types

  • App

    A resolved application bound to operation services.

  • HandlerOptions

    HTTP API, embedded admin, observability, security, and worker configuration.