package
0.19.5
Repository: https://github.com/safing/portbase.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package fstree provides a dead simple file-based database storage backend.
No description provided by the author
No description provided by the author

# Functions

CreateDatabase starts a new database with the given name and storageType at location.
Register registers a new storage type.
StartDatabase starts a new database with the given name and storageType at location.

# Variables

Errors for storages.
ErrNotImplemented is returned when a function is not implemented by a storage.

# Structs

InjectBase is a dummy base structure to reduce boilerplate code for injected storage interfaces.

# Interfaces

Batcher defines the database storage API for backends that support batch operations.
Interface defines the database storage API.
Maintainer defines the database storage API for backends that require regular maintenance.
MetaHandler defines the database storage API for backends that support optimized fetching of only the metadata.
Purger defines the database storage API for backends that support the purge operation.

# Type aliases

A Factory creates a new database of it's type.