api

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 4 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const ExtensionsVersion = 1

ExtensionsVersion is the manifest payload version served by GetExtensions. Version policy: bump ONLY on a breaking shape change (renamed/removed fields, changed types); a future shell must not render unknown major versions. Additive fields never bump — decoders ignore unknown JSON fields.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtensionsHandler

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

ExtensionsHandler serves the frozen admin-manifest aggregation.

func NewExtensionsHandler

func NewExtensionsHandler(registry *kernel.Registry) *ExtensionsHandler

NewExtensionsHandler creates an ExtensionsHandler over the module registry. Aggregation reads the registry live, so late-registered modules appear without a rebuild.

func (*ExtensionsHandler) GetExtensions

func (h *ExtensionsHandler) GetExtensions(w http.ResponseWriter, r *http.Request)

GetExtensions aggregates every registered AdminExtensionProvider in registry name order into the versioned manifest payload.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL