metrics

package
v4.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler registers the metrics endpoint.

func New

func New(cfg config.File, logger *slog.Logger, redis rediscli.Client) *Handler

New provides the exported New function.

func (*Handler) Register

func (h *Handler) Register(router gin.IRouter)

Register provides the exported Register method.

Jump to

Keyboard shortcuts

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