verifiercache

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VerifierCache

type VerifierCache interface {
	// GetVerifyResult gets the result from the cache with the given subject as the key
	GetVerifyResult(ctx context.Context, subjectRefString string) (et.VerifyResult, bool)

	// SetVerifyResult sets the verify result in the cache with the given TTL
	SetVerifyResult(ctx context.Context, subjectRefString string, verifyResult et.VerifyResult, ttl time.Duration)
}

VerifierCache is an interface that defines methods to set/get results from a cache

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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