metrics

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package metrics contains all application-logic metrics

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware(next http.Handler) http.Handler

Types

type MetricsServer

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

func NewMetricsServer

func NewMetricsServer(listenAddr string, log *httplog.Logger) *MetricsServer

func (*MetricsServer) Shutdown

func (srv *MetricsServer) Shutdown(ctx context.Context) error

func (*MetricsServer) Start

func (srv *MetricsServer) Start() error

Jump to

Keyboard shortcuts

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