stats

package
v0.0.0-...-e479ca6 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StatsMap = make(map[int]*Stats)

StatsMap should only be used directly if all worker threads are done.

Functions

func AddErrorMessage

func AddErrorMessage(companyId int, errorMessage string)

func AddForwardDrop

func AddForwardDrop(companyId int, delta int) int

func AddForwardError

func AddForwardError(companyId int, delta int) int

func AddForwardOk

func AddForwardOk(companyId int, delta int) int

func AddInMessage

func AddInMessage(companyId int, inMessage string)

func AddPollOk

func AddPollOk(companyId int, delta int) int

Types

type Stats

type Stats struct {
	PollOk       int
	ForwardError int
	ForwardOk    int
	ForwardDrop  int
	ErrorMessage string
	InMessage    string
}

Jump to

Keyboard shortcuts

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