Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(ctx context.Context, name string, options map[string]interface{}, storageDriver storagedriver.StorageDriver) (storagedriver.StorageDriver, error)
Get constructs a StorageMiddleware with the given options using the named backend.
Types ¶
type InitFunc ¶
type InitFunc func(ctx context.Context, storageDriver storagedriver.StorageDriver, options map[string]interface{}) (storagedriver.StorageDriver, error)
InitFunc is the type of a StorageMiddleware factory function and is used to register the constructor for different StorageMiddleware backends.
Directories ¶
Path | Synopsis |
---|---|
Package middleware - cloudfront wrapper for storage libs N.B. currently only works with S3, not arbitrary sites
|
Package middleware - cloudfront wrapper for storage libs N.B. currently only works with S3, not arbitrary sites |
Click to show internal directories.
Click to hide internal directories.