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 ¶
func (c *CheckEngineWithCache) Check(ctx context.Context, request *base.PermissionCheckRequest) (response *base.PermissionCheckResponse, err error)
Check performs a permission check for a given request, using the cached results if available.
Click to show internal directories.
Click to hide internal directories.