Documentation
¶
Overview ¶
Package features handles feature entitlements
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cache ¶
Cache stores enabled feature sets in Redis keyed by organization ID. It reuses the same Redis instance as the session store but keeps feature data separate from user session values so entries can expire independently.
func CacheFromContext ¶
CacheFromContext retrieves the feature cache from context if present.
Click to show internal directories.
Click to hide internal directories.