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
Click to show internal directories.
Click to hide internal directories.