Documentation
¶
Overview ¶
Package debug is the chok v2 introspection module: /componentz renders the assembled component topology straight from Descriptor data (single source of truth, SPEC axiom 5) plus a bounded history of lifecycle events from the bus.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Enabled bool `mapstructure:"enabled" default:"false"`
Path string `mapstructure:"path" default:"/componentz" reload:"restart"`
// EventHistory bounds the retained lifecycle event lines.
EventHistory int `mapstructure:"event_history" default:"64" reload:"restart"`
}
Options is the "debug" yaml section. Disabled by default — enable in development/staging; the endpoint exposes topology and timing.
Click to show internal directories.
Click to hide internal directories.