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)
Click to show internal directories.
Click to hide internal directories.