Documentation
¶
Overview ¶
Package storage provides object storage for the Gas ecosystem with AWS S3 (and S3-compatible MinIO/LocalStack) backends. Concrete implementations live in the s3 sub-package.
See the module README for usage examples and design rationale.
SPDX-License-Identifier: MIT
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrKeyNotFound is returned by Download or Head when the // requested key does not exist. ErrKeyNotFound = errors.New("storage: key not found") // ErrClosed is returned when an operation is attempted on a closed // storage service. ErrClosed = errors.New("storage: service is closed") // ErrBucketRequired is returned when an operation is invoked without a // bucket configured on the service and without gas.InBucket() supplied // in the call options. ErrBucketRequired = errors.New("storage: bucket required (set Storage.Bucket or pass gas.InBucket())") )
Sentinel errors returned by StorageProvider implementations.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package storagetest provides a mock implementation of gas.StorageProvider for use in tests.
|
Package storagetest provides a mock implementation of gas.StorageProvider for use in tests. |
Click to show internal directories.
Click to hide internal directories.