prometrics

package module
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2020 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

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

func NewRegistry

func NewRegistry() *Registry

func (*Registry) DefaultHandler

func (r *Registry) DefaultHandler(c *gin.Context)

func (*Registry) ReportConcurrentReq

func (r *Registry) ReportConcurrentReq() func(*gin.Context)

func (*Registry) ReportDuration

func (r *Registry) ReportDuration(buckets []float64) func(*gin.Context)

Jump to

Keyboard shortcuts

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