handler

package
v0.0.0-...-dfda651 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMetrics

func NewMetrics() http.Handler

NewMetrics creates and initializes the Metrics http handler with all the metric definitions and starts generating them

Types

type Default

type Default struct{}

Default implements http.Handler interface

func (Default) ServeHTTP

func (d Default) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP prints default webpage

Jump to

Keyboard shortcuts

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