package
0.0.0-20240611155925-ec252d0ef534
Repository: https://github.com/andrewhowdencom/x40.link.git
Documentation: pkg.go.dev
# Packages
Package boltdb implements storage based on the BoltDB database, backed by the filesystem.
Package di provides a mechanism to select storage providers.
Package firestore implements a storage layer with Google cloud firestore.
Package memory stores the entire data set in memory.
Package test provides a storage implementation designed explicitly for testing.
Package yaml provides a read only storage implementation which sources its URLs from a YAML file.
# Constants
CtxKeyAgent is the context address at which the owner will be found, if there is one.
# Variables
Err* are common errors that the storage implementations will return.
Err* are common errors that the storage implementations will return.
Err* are common errors that the storage implementations will return.
Err* are common errors that the storage implementations will return.
Err* are common errors that the storage implementations will return.
Err* are common errors that the storage implementations will return.
# Interfaces
Authenticator is an extension to the storage interface that allows verifying whether a given user is the canonical owner of a given URL.
Storer is the interface that retrieves links supplied to it.
# Type aliases
CtxKey is a type designed to allow delimiting key/value pairs.