type
Plugin
A configured SEO extension implementing config transformation, descriptor, and endpoint capabilities.
Methods
| Property | Type | Description |
|---|---|---|
Key() | string | Return the stable seo identity. |
Descriptor() | ridu.PluginDescriptor | Describe Go/admin pairing and compatibility. |
TransformConfig(config) | (ridu.Config, | Validate targets and inject detached field definitions. |
Endpoints() | []ridu.PluginEndpoint | Declare the four bounded generation endpoints. |
Full signature
type Plugin struct {
// contains filtered or unexported fields
}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.