trasher

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileStorage added in v0.3.0

type FileStorage interface {
	GetBucketMeta(ctx context.Context, id bucket.ID) (BucketMeta, error)
	RemoveBucket(ctx context.Context, id bucket.ID) error
}

type Trasher

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

func NewTrasher

func NewTrasher(log *slog.Logger, cfg config.TrasherConfig) (*Trasher, error)

func (*Trasher) Start

func (t *Trasher) Start(storage FileStorage, rootDir string)

func (*Trasher) Stop

func (t *Trasher) Stop()

Jump to

Keyboard shortcuts

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