Versions in this module Expand all Collapse all v0 v0.2.0 Jun 11, 2026 Changes in this version + const DefaultTTL + type MemoryCache struct + func NewMemoryCache(ttl time.Duration) *MemoryCache + func (m *MemoryCache) LoadContext(apiKey string) (*flagmint.EvaluationContext, error) + func (m *MemoryCache) LoadFlags(apiKey string) (*flagmint.FeatureFlags, error) + func (m *MemoryCache) SaveContext(apiKey string, ctx *flagmint.EvaluationContext) error + func (m *MemoryCache) SaveFlags(apiKey string, flags flagmint.FeatureFlags) error + type NopCache struct + func (NopCache) LoadContext(_ string) (*flagmint.EvaluationContext, error) + func (NopCache) LoadFlags(_ string) (*flagmint.FeatureFlags, error) + func (NopCache) SaveContext(_ string, _ *flagmint.EvaluationContext) error + func (NopCache) SaveFlags(_ string, _ flagmint.FeatureFlags) error v0.1.0 Jun 5, 2026