package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Jul 9, 2026
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
StartServer starts the metrics HTTP server. Returns nil if port is 0.
Metrics tracks server statistics.
func (*Metrics) Handler ¶
Handler returns an HTTP handler that serves JSON metrics at GET /metrics.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.