statistics

package
v0.0.0-...-c244579 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStatistic

func NewStatistic(initial float64) map[string]float64

Types

type Statistics

type Statistics struct {
	RemoteIp        string
	ProcessDuration float64
	// contains filtered or unexported fields
}

func NewStatistics

func NewStatistics() *Statistics

func (*Statistics) AddStatistic

func (s *Statistics) AddStatistic(st map[string]float64)

func (*Statistics) AddSuccess

func (s *Statistics) AddSuccess(success bool)

func (*Statistics) Report

func (s *Statistics) Report()

Jump to

Keyboard shortcuts

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