MCPcopy Index your code
hub / github.com/apache/casbin / getKey

Method getKey

enforcer_cached_synced.go:143–145  ·  view source on GitHub ↗
(params ...interface{})

Source from the content-addressed store, hash-verified

141}
142
143func (e *SyncedCachedEnforcer) getKey(params ...interface{}) (string, bool) {
144 return GetCacheKey(params...)
145}
146
147// InvalidateCache deletes all the existing cached decisions.
148func (e *SyncedCachedEnforcer) InvalidateCache() error {

Callers 3

EnforceMethod · 0.95

Calls 1

GetCacheKeyFunction · 0.85

Tested by

no test coverage detected