intermetric

package
v0.6.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecIn

func DecIn()

func DecOut

func DecOut()

func IncIn

func IncIn()

func IncInFailed

func IncInFailed()

func IncOut

func IncOut()

func IncOutFailed

func IncOutFailed()

func Reset

func Reset()

Types

type InternalMetric

type InternalMetric struct {
	InSuccess  uint64 `json:"inSuccess"`
	OutSuccess uint64 `json:"outSuccess"`
	InFailed   uint64 `json:"inFailed"`
	OutFailed  uint64 `json:"outFailed"`
	// contains filtered or unexported fields
}

func GetMetric

func GetMetric() InternalMetric

func InitInternalMetric

func InitInternalMetric(rulex typex.RuleX) *InternalMetric

Jump to

Keyboard shortcuts

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