Documentation
¶
Overview ¶
Package contentregistry is the Content Registry BASE plugin for togo: One declarative map of every content type (table, slug col, translatable fields, feed-kind, icon, section, searchable) that feed / board / seo / mcp / search / compose all read — replacing five duplicated hardcoded maps.
Driver plugins self-register a Descriptor via contentregistry.Register in their init(); an app installs a driver by blank-importing it. This base owns the registry and exposes it at GET /api/registry.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(d Descriptor)
Register installs a descriptor. Drivers call this from their init().
Types ¶
Click to show internal directories.
Click to hide internal directories.