stats

package
v0.11.9 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const STATS_PATH string = "/stats"

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtocolStats added in v0.10.0

type ProtocolStats struct {
	Invalid map[string]map[string]int64 `json:"invalid"`
	Valid   map[string]map[string]int64 `json:"valid"`
	// contains filtered or unexported fields
}

func BuildProtocolStats added in v0.10.0

func BuildProtocolStats() *ProtocolStats

func (*ProtocolStats) Build added in v0.10.0

func (ps *ProtocolStats) Build()

func (*ProtocolStats) IncrementInvalid added in v0.10.0

func (ps *ProtocolStats) IncrementInvalid(event *envelope.EventMeta, count int64)

func (*ProtocolStats) IncrementValid added in v0.10.0

func (ps *ProtocolStats) IncrementValid(event *envelope.EventMeta, count int64)

Jump to

Keyboard shortcuts

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