Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadyExists = storage.ErrAlreadyExists
ErrAlreadyExists is a ptr to underlying storage.ErrAlreadyExists, to put the related errors in the same package as our storage wrapper.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct { // Underlying storage *kv.KVStore Storage storage.Storage // S3-only parameters Proxy bool Bucket string PresignedCache *ttl.Cache[string, *url.URL] }
Driver wraps a kv.KVStore to also provide S3 presigned GET URLs.
func AutoConfig ¶
func NewFileStorage ¶ added in v0.6.0
func NewS3Storage ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.