package
0.13.0
Repository: https://github.com/restic/rest-server.git
Documentation: pkg.go.dev

# Functions

New creates a new Handler for a single Restic backup repo.

# Constants

A blob has been deleted.
A blob has been read.
A blob has been written.
DefaultDirMode is the file mode used for directory creation if not overridden in the Options.
DefaultFileMode is the file mode used for file creation if not overridden in the Options.

# Variables

BlobPathRE matches valid blob URI paths with optional object IDs.
FileTypes are files stored directly under the repo direct that are accessible through a request.
ObjectTypes are subdirs that are used for object storage.

# Structs

Blob represents a single blob, its name and its size.
Handler handles all REST API requests for a single Restic backup repo Spec: https://restic.readthedocs.io/en/latest/100_references.html#rest-backend.
Options are options for the Handler accepted by New.

# Type aliases

BlobMetricFunc is the callback signature for blob metrics.
BlobOperation describe the current blob operation in the BlobMetricFunc callback.