cache

package
v0.17.8-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 14 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