cache

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CanonicalHostnameKey the canonical hostname key
	CanonicalHostnameKey = "canonical_hostname"
	// NoExpiration for use with functions that take an expiration time.
	NoExpiration = gocache.NoExpiration
)

Variables

View Source
var Cache = gocache.New(20*time.Minute, 10*time.Minute)

Cache global cache instance.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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