Versions in this module Expand all Collapse all v1 v1.1.0 Sep 28, 2026 Changes in this version + type AerospikeStore struct + func NewAerospikeStore(client *as.Client, namespace, set, owner string) (*AerospikeStore, error) + func (s *AerospikeStore) Read(ctx context.Context) (Generation, error) + func (s *AerospikeStore) Rotate(ctx context.Context, scope Scope) (string, error) + type Cache struct + func New(native cache.Cache, store Store, owner string, observers ...func(string, int)) *Cache + func (c *Cache) Close(ctx context.Context, entry *cache.Entry) error + func (c *Cache) Delete(ctx context.Context, entry *cache.Entry) error + func (c *Cache) Get(ctx context.Context, sql string, args []interface{}, options ...interface{}) (*cache.Entry, error) + func (c *Cache) IndexBy(ctx context.Context, db *sql.DB, column, sql string, args []interface{}, ...) (int, error) + func (c *Cache) IndexByWithResult(ctx context.Context, db *sql.DB, column, sql string, args []interface{}, ...) (*cache.IndexByResult, error) + func (c *Cache) Invalidate(ctx context.Context, scope Scope) (string, error) + func (c *Cache) InvalidateCache(ctx context.Context, scope string) (string, error) + func (c *Cache) Lookup(ctx context.Context, sql string, args []interface{}, options ...interface{}) (*cache.Entry, error) + func (c *Cache) Rollback(ctx context.Context, entry *cache.Entry) error + func (c *Cache) UpdateType(ctx context.Context, entry *cache.Entry, values []interface{}) (bool, error) + type FileStore struct + func NewFileStore(location string) *FileStore + func (s *FileStore) Read(ctx context.Context) (Generation, error) + func (s *FileStore) Rotate(ctx context.Context, scope Scope) (string, error) + type Generation struct + All string + Lazy string + Warmup string + type Scope string + const All + const Lazy + const Warmup + func (s Scope) Validate() error + type Store interface + Read func(context.Context) (Generation, error) + Rotate func(context.Context, Scope) (string, error)