package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jun 14, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Storage struct {
afero.Fs `json:"-"`
Prefix string `json:"prefix"`
Cache int64 `json:"cache"`
}
Storage defines a storage service based on your filesystem
GetObject returns the specified object if found
Init configures the underlying storage engine
WithPrefix returns a new storage service with the new prefixed appended to the current one
Source Files
¶
Click to show internal directories.
Click to hide internal directories.