Documentation ¶
Overview ¶
Package cachedep manages notifications to cache invalidation.
Index ¶
- type Cache
- func (n *Cache) AlbumChanged(ctx context.Context, name string) error
- func (n *Cache) AlbumDependency(cacheName string, cacheKey []byte, albumNames ...string)
- func (n *Cache) AlbumListChanged(ctx context.Context) error
- func (n *Cache) AlbumListDependency(cacheName string, cacheKey []byte)
- func (n *Cache) DepCache() *Cache
- func (n *Cache) ServiceSettingsChanged(ctx context.Context) error
- func (n *Cache) ServiceSettingsDependency(cacheName string, cacheKey []byte)
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) AlbumDependency ¶
func (*Cache) AlbumListDependency ¶
func (*Cache) ServiceSettingsChanged ¶
func (*Cache) ServiceSettingsDependency ¶
Click to show internal directories.
Click to hide internal directories.