deleter

package
v2.0.0-...-b5cbbe0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deleter

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

func NewDeleter

func NewDeleter(db mediaserverproto.DatabaseClient, actionController mediaserverproto.ActionClient, vfs fs.FS, logger zLogger.ZLogger) (*Deleter, error)

func (*Deleter) DeleteCache

func (d *Deleter) DeleteCache(collection, signature, action, params string) error

func (*Deleter) DeleteItem

func (d *Deleter) DeleteItem(collection, signature string) (numItems, numCaches int64, err error)

func (*Deleter) DeleteItemCaches

func (d *Deleter) DeleteItemCaches(collection, signature string, withItem bool) (int64, error)

Jump to

Keyboard shortcuts

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