Versions in this module Expand all Collapse all v4 v4.6.0 Dec 12, 2024 Changes in this version + var BackendCacheProvider = BackendCacheInterface(nil) + type BackendCache struct + func NewBackendCache() *BackendCache + func (b *BackendCache) Clear(ctx context.Context) + func (b *BackendCache) Count() int + func (b *BackendCache) Delete(ctx context.Context, backendName string) + func (b *BackendCache) List(ctx context.Context) []model.Backend + func (b *BackendCache) Load(backendName string) (model.Backend, bool) + func (b *BackendCache) PrintCacheContent(ctx context.Context) + func (b *BackendCache) Store(ctx context.Context, backendName string, backend model.Backend) + type BackendCacheInterface interface + Clear func(ctx context.Context) + Count func() int + Delete func(ctx context.Context, backendName string) + List func(ctx context.Context) []model.Backend + Load func(backendName string) (model.Backend, bool) + PrintCacheContent func(ctx context.Context) + Store func(ctx context.Context, backendName string, backend model.Backend)