MCPcopy Create free account
hub / github.com/Permify/permify / CheckEngineWithCache

Struct CheckEngineWithCache

internal/engines/cache/check.go:21–29  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

19
20// CheckEngineWithCache is a struct that holds an instance of a cache.Cache for managing engine cache.
21type CheckEngineWithCache struct {
22 // schemaReader is responsible for reading schema information
23 schemaReader storage.SchemaReader
24 checker invoke.Check
25 cache cache.Cache
26
27 // Metrics
28 cacheHitHistogram metric.Int64Histogram
29}
30
31// NewCheckEngineWithCache creates a new instance of EngineKeyManager by initializing an EngineKeys
32// struct with the provided cache.Cache instance.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected