Documentation ¶
Index ¶
- type LocalfsBackend
- func (b LocalfsBackend) Delete(key string) (err error)
- func (b LocalfsBackend) Exists(key string) (bool, error)
- func (b LocalfsBackend) Get(key string) (metadata backends.Metadata, f io.ReadCloser, err error)
- func (b LocalfsBackend) Head(key string) (metadata backends.Metadata, err error)
- func (b LocalfsBackend) List() ([]string, error)
- func (b LocalfsBackend) Put(key string, r io.Reader, expiry time.Time, deleteKey, accessKey string) (m backends.Metadata, err error)
- func (b LocalfsBackend) PutMetadata(key string, m backends.Metadata) (err error)
- func (b LocalfsBackend) Size(key string) (int64, error)
- type MetadataJSON
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalfsBackend ¶
type LocalfsBackend struct {
// contains filtered or unexported fields
}
func NewLocalfsBackend ¶
func NewLocalfsBackend(metaPath string, filesPath string) LocalfsBackend
func (LocalfsBackend) Delete ¶
func (b LocalfsBackend) Delete(key string) (err error)
func (LocalfsBackend) Get ¶
func (b LocalfsBackend) Get(key string) (metadata backends.Metadata, f io.ReadCloser, err error)
func (LocalfsBackend) Head ¶
func (b LocalfsBackend) Head(key string) (metadata backends.Metadata, err error)
func (LocalfsBackend) List ¶ added in v1.2.8
func (b LocalfsBackend) List() ([]string, error)
func (LocalfsBackend) PutMetadata ¶
func (b LocalfsBackend) PutMetadata(key string, m backends.Metadata) (err error)
type MetadataJSON ¶
Click to show internal directories.
Click to hide internal directories.