Versions in this module Expand all Collapse all v1 v1.0.28 Oct 13, 2026 Changes in this version + type CacheDriver struct + Cache *xsync.Map + func GetMemoryCacheDriver(cfg *models.Config) (*CacheDriver, error) + func (b *CacheDriver) Expire(ctx context.Context, id string) error + func (b *CacheDriver) Get(ctx context.Context, id string) (interface{}, error) + func (b *CacheDriver) GetAppCache(ctx context.Context, projectID string) (*models.ApplicationCache, error) + func (b *CacheDriver) GetProject(ctx context.Context, projectID string) (*models.Project, error) + func (b *CacheDriver) ListKeys(ctx context.Context) ([]string, error) + func (b *CacheDriver) Put(ctx context.Context, id string, cache interface{}) error + func (b *CacheDriver) PutAppCache(ctx context.Context, projectID string, cache *models.ApplicationCache) error + func (b *CacheDriver) SaveProject(ctx context.Context, project *models.Project) (*models.Project, error)