Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystemStorage ¶
type FileSystemStorage struct {
// contains filtered or unexported fields
}
func NewFileSystemStorage ¶
func NewFileSystemStorage(root string, perm os.FileMode) *FileSystemStorage
func (*FileSystemStorage) Download ¶
func (s *FileSystemStorage) Download(w io.Writer, path string) (err error)
func (*FileSystemStorage) Upload ¶
func (s *FileSystemStorage) Upload(path string, body io.ReadSeeker) (err error)
Click to show internal directories.
Click to hide internal directories.