Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFileDoesNotExists = errors.New("storage : File does not exist")
Functions ¶
This section is empty.
Types ¶
type FilerStorage ¶
type FilerStorage struct {
// contains filtered or unexported fields
}
FilerStorage is a storage types that embed afero in other to save files in multiple storage systems
func NewFilerStorage ¶
func NewFilerStorage(fs afero.Fs, pathGenerator PathFunc) *FilerStorage
func (*FilerStorage) Delete ¶
func (l *FilerStorage) Delete(path string) error
func (*FilerStorage) URL ¶
func (l *FilerStorage) URL(path string) string
Click to show internal directories.
Click to hide internal directories.