stats

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Types

type KassetteStats

type KassetteStats struct {
	Name string

	DestID   string
	StatCode StatCode
	Sink     metrics.MetricSink
	// contains filtered or unexported fields
}

func NewStat

func NewStat(Name string) (kStats *KassetteStats)

func (*KassetteStats) Increment

func (kStats *KassetteStats) Increment(name string, count int)

type StatCode

type StatCode int64
const (
	Success StatCode = iota
	Failed
	Disabled
	Waiting
)

func (StatCode) String

func (s StatCode) String() string

Jump to

Keyboard shortcuts

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