metrics

package
v0.16.0-20240907 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 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 added in v0.14.1

func NewHandler() http.Handler

func SetHealthy added in v0.14.1

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 added in v0.14.1

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