keys

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCheckEngineWithKeys

func NewCheckEngineWithKeys(checker invoke.Check, cache cache.Cache, l *logger.Logger) invoke.Check

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

Types

type CheckEngineWithKeys

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

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

func (*CheckEngineWithKeys) 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