Documentation ¶
Index ¶
- type FSStorage
- func (s *FSStorage) GetResource(key string) io.ReadCloser
- func (s *FSStorage) GetResourceSize(key string) uint
- func (s *FSStorage) GetSnapshot(key string) io.ReadCloser
- func (s *FSStorage) GetSnapshotSize(key string) uint
- func (s *FSStorage) Init(dir string) error
- func (s *FSStorage) SaveResource(key string, resource []byte) error
- func (s *FSStorage) SaveSnapshot(key string, snapshot []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FSStorage ¶
type FSStorage struct {
// contains filtered or unexported fields
}
func (*FSStorage) GetResource ¶ added in v0.2.0
func (s *FSStorage) GetResource(key string) io.ReadCloser
func (*FSStorage) GetResourceSize ¶ added in v0.2.0
func (*FSStorage) GetSnapshot ¶
func (s *FSStorage) GetSnapshot(key string) io.ReadCloser
func (*FSStorage) GetSnapshotSize ¶ added in v0.2.0
func (*FSStorage) SaveResource ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.