monitoring

package
v0.0.0-...-38b1c69 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Monitoring

func Monitoring(pathExporter string, metrics Metrics) func(http.Handler) http.Handler

Types

type Metrics

type Metrics interface {
	AddRequest(method, path string, statusResponse int, executed time.Duration)
}

type StatusReceiver

type StatusReceiver interface {
	StatusCode() int
}

Jump to

Keyboard shortcuts

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