metrics

package
v0.16.13 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IncrementQueriesCount

func IncrementQueriesCount()

func NewHandler

func NewHandler() http.Handler

func SetHealthy

func SetHealthy(val bool)

func SetSessionsCount

func SetSessionsCount(val int)

func StartServer

func StartServer(logger *logrus.Logger, path string, addr string) error

Types

type Handler

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

func (Handler) ServeHTTP

func (h Handler) ServeHTTP(rw http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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