MCPcopy
hub / github.com/apache/casbin / SyncCache

Struct SyncCache

persist/cache/cache_sync.go:22–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20)
21
22type SyncCache struct {
23 cache DefaultCache
24 sync.RWMutex
25}
26
27func (c *SyncCache) Set(key string, value bool, extra ...interface{}) error {
28 ttl := time.Duration(-1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected