method

App.Handler

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

Arguments

ArgumentTypeDescription
optionsHandlerOptionsThe options value.

Returns

The declared result.

http.Handler

How it works

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

Full signature

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

Source core/http.go:166

Related types

  • App

    A resolved application bound to operation services.

  • HandlerOptions

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