Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthHandler ¶
type HealthHandler struct{}
func NewHealthHandler ¶
func NewHealthHandler() HealthHandler
func (HealthHandler) ServeHTTP ¶
func (h HealthHandler) ServeHTTP(w http.ResponseWriter, _ *http.Request)
type MetricsHTTPHandler ¶
type MetricsHTTPHandler struct {
// contains filtered or unexported fields
}
func New ¶
func New(logger *slog.Logger, metricCollectors *collector.MetricCollectors, options *Options) *MetricsHTTPHandler
func (*MetricsHTTPHandler) ServeHTTP ¶
func (c *MetricsHTTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type VersionHandler ¶
type VersionHandler struct{}
func NewVersionHandler ¶
func NewVersionHandler() VersionHandler
func (VersionHandler) ServeHTTP ¶
func (h VersionHandler) ServeHTTP(w http.ResponseWriter, _ *http.Request)
Click to show internal directories.
Click to hide internal directories.