cache

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthCache

type AuthCache struct {
	Keys   interface{}
	Expiry time.Time
}

AuthCache is a general purpose cache

func (*AuthCache) IsExpired

func (cache *AuthCache) IsExpired() bool

IsExpired checks if the Keys have expired. Compares Expiry time with current time.

Jump to

Keyboard shortcuts

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