cache

package
v0.38.48 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cache = &cache{
	Checks:       make(map[string]*pkg.Check),
	CheckConfigs: make(map[string]external.Check),
}
View Source
var Size = 5

Functions

func AddCheck

func AddCheck(check v1.Canary, result *pkg.CheckResult) *pkg.Check

func GetChecks

func GetChecks(duration string) pkg.Checks

func GetConfig added in v0.12.0

func GetConfig(key string) external.Check

func RemoveCheck added in v0.11.4

func RemoveCheck(checks v1.Canary)

func RemoveCheckByKey added in v0.38.11

func RemoveCheckByKey(key string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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