metrics

package
v0.0.0-...-b6584d0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

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

func New

func New() (*Metrics, error)

func (*Metrics) Handler

func (m *Metrics) Handler() http.Handler

func (*Metrics) Request

func (m *Metrics) Request(link string, duration time.Duration)

func (*Metrics) ResponceCode

func (m *Metrics) ResponceCode(respCode int)

Jump to

Keyboard shortcuts

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