Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileStorage ¶
type LocalFileStorage ¶
type LocalFileStorage struct {
// contains filtered or unexported fields
}
func NewLocalDiskStorage ¶
func NewLocalDiskStorage(dirPath string) *LocalFileStorage
func (*LocalFileStorage) List ¶
func (fs *LocalFileStorage) List() ([]string, error)
func (*LocalFileStorage) Open ¶
func (fs *LocalFileStorage) Open(id string) (io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.