Versions in this module Expand all Collapse all v2 v2.5.2 Apr 27, 2022 Changes in this version + type Config struct + DBRetainPeriod time.Duration + UploadInterval time.Duration + Uploader string + type IndexSet interface + Add func(idx index.Index) + Cleanup func(indexRetainPeriod time.Duration) error + Close func() + ForEach func(callback index.ForEachIndexCallback) error + Upload func(ctx context.Context) error + func NewIndexSet(tableName, userID string, baseIndexSet storage.IndexSet, logger log.Logger) (IndexSet, error) + type Table interface + AddIndex func(userID string, idx index.Index) error + Cleanup func(indexRetainPeriod time.Duration) error + ForEach func(userID string, callback index.ForEachIndexCallback) error + Name func() string + Stop func() + Upload func(ctx context.Context) error + func NewTable(name, uploader string, storageClient storage.Client) Table + type TableManager interface + AddIndex func(tableName, userID string, index index.Index) error + ForEach func(tableName, userID string, callback index.ForEachIndexCallback) error + Stop func() + func NewTableManager(cfg Config, storageClient storage.Client) (TableManager, error)