stats

package
v0.0.0-...-9826313 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatsCollection

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

func Stats

func Stats(getEnv func(string) string) *StatsCollection

func (*StatsCollection) BadRequestInc

func (s *StatsCollection) BadRequestInc(endpoint string)

func (*StatsCollection) InternalServerErrorInc

func (s *StatsCollection) InternalServerErrorInc(endpoint string)

func (*StatsCollection) ResponseTime

func (s *StatsCollection) ResponseTime(endpoint string, responseTimeMs int64)

func (*StatsCollection) StatusOkInc

func (s *StatsCollection) StatusOkInc(endpoint string)

Jump to

Keyboard shortcuts

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