interface

EndpointProvider

type EndpointProvider interface { Plugin Endpoints() []PluginEndpoint }

Contribute exact REST endpoints below a namespaced plugin prefix.

Source core/plugin.go:237

PluginPlugin
The Plugin value.
Endpointsfunc() []PluginEndpoint
The Endpoints value.

Routes live below /api/plugins/<key>/. Handlers receive exact actor identity, LocalAPI, trusted client IP, auth-admission, and diagnostic reporting helpers. Body limits inherit the application bound unless explicitly overridden.