cache

package
v0.20.10 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: Apache-2.0 Imports: 24 Imported by: 103

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(authenticator authenticator.Token, cacheErrs bool, successTTL, failureTTL time.Duration) authenticator.Token

New returns a token authenticator that caches the results of the specified authenticator. A ttl of 0 bypasses the cache.

Types

This section is empty.

Jump to

Keyboard shortcuts

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