Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCachedOpenFGADatastore ¶
func NewCachedOpenFGADatastore(inner storage.OpenFGADatastore, maxSize int) *cachedOpenFGADatastore
NewCachedOpenFGADatastore returns a wrapper over a datastore that caches *openfgapb.AuthorizationModel on every call to storage.ReadAuthorizationModel.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.