Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ProviderS3 denotes S3 compatability backed storage provider.
ProviderS3 = "s3"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // Store creates a new object in the underlying provider's datastore if it does not exist, // or replaces the existing object if it does exist. Store(key string, body io.ReadCloser) error // Retrieve return the object in the underlying provider's datastore if it exists. Retrieve(key string) (io.ReadCloser, error) }
Interface abstracts the underlying storage provider.
Click to show internal directories.
Click to hide internal directories.