cache

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCheckEngineWithCache

func NewCheckEngineWithCache(checker invoke.Check, schemaReader storage.SchemaReader, cache cache.Cache) invoke.Check

NewCheckEngineWithCache creates a new instance of EngineKeyManager by initializing an EngineKeys struct with the provided cache.Cache instance.

Types

type CheckEngineWithCache

type CheckEngineWithCache struct {
	// contains filtered or unexported fields
}

CheckEngineWithCache is a struct that holds an instance of a cache.Cache for managing engine cache.

func (*CheckEngineWithCache) Check

Check performs a permission check for a given request, using the cached results if available.

Jump to

Keyboard shortcuts

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