cache

package
v0.15.9 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2020 License: Apache-2.0 Imports: 7 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