package
Version:
v0.28.2
Opens a new window with list of versions in this module.
Published: Oct 8, 2026
License: BSD-3-Clause
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package monitor serves authenticated, process-local monitoring snapshots.
Handler serves the embedded monitoring console and token-protected node API.
type Config struct {
Token string `yaml:"token" json:"-"`
}
Config grants read-only access to this node; an empty token disables node data.
Validate expands environment variables and requires a distinct monitor token.
type Node struct {
Role, PublicKey string
Version, Commit string
}
Node identifies the process a snapshot describes. Empty build fields report
"dev", matching the Peer server info of unversioned builds.
Source Files
¶
Directories
¶
Package monitorapi provides primitives to interact with the openapi HTTP API.
|
Package monitorapi provides primitives to interact with the openapi HTTP API. |
Click to show internal directories.
Click to hide internal directories.