type

Plugin

A configured SEO extension implementing config transformation, descriptor, and endpoint capabilities.

Methods

PropertyTypeDescription
Key()stringReturn the stable seo identity.
Descriptor()ridu.PluginDescriptorDescribe Go/admin pairing and compatibility.
TransformConfig(config)(ridu.Config, error)Validate targets and inject detached field definitions.
Endpoints()[]ridu.PluginEndpointDeclare the four bounded generation endpoints.

Full signature

type Plugin struct { // contains filtered or unexported fields }

Source plugins/seo/seo.go:102

Methods

  • Plugin.Descriptor()

    Descriptor exposes only deterministic build metadata. Generators remain executable Go values owned by the runtime plugin instance.

  • Plugin.Endpoints()

    Endpoints contributes generation calls below /api/plugins/seo/. All are declared for a stable OpenAPI surface; absent callbacks return an empty value.

  • Plugin.Key()

    Key implements ridu.Plugin.

  • Plugin.TransformConfig()

    TransformConfig injects one meta group into each selected resource.

  • Plugin.TransformFields()

    TransformFields attaches the SEO group through the same immutable graph used by application fields, preserving behavior on every existing node.