dep

package
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package cachedep manages notifications to cache invalidation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	// contains filtered or unexported fields
}

func NewCache

func NewCache(index *cache.InvalidationIndex) *Cache

func (*Cache) AlbumChanged

func (n *Cache) AlbumChanged(ctx context.Context, name string) error

func (*Cache) AlbumDependency

func (n *Cache) AlbumDependency(cacheName string, cacheKey []byte, albumNames ...string)

func (*Cache) AlbumListChanged

func (n *Cache) AlbumListChanged(ctx context.Context) error

func (*Cache) AlbumListDependency

func (n *Cache) AlbumListDependency(cacheName string, cacheKey []byte)

func (*Cache) DepCache

func (n *Cache) DepCache() *Cache

func (*Cache) ServiceSettingsChanged

func (n *Cache) ServiceSettingsChanged(ctx context.Context) error

func (*Cache) ServiceSettingsDependency

func (n *Cache) ServiceSettingsDependency(cacheName string, cacheKey []byte)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL