Documentation
¶
Index ¶
- type FileSystem
- func (f *FileSystem) GetFullPath(url string, option *base.Option) (path string, err error)
- func (f *FileSystem) Retrieve(url string) (base.FileInterface, error)
- func (f *FileSystem) Store(name string, option *base.Option, reader io.Reader) (err error)
- func (f *FileSystem) Symlink(srcName string, name string, option *base.Option) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶
FileSystem defined a media library storage using file system
func (*FileSystem) GetFullPath ¶
GetFullPath return full file path from a relative file path
func (*FileSystem) Retrieve ¶
func (f *FileSystem) Retrieve(url string) (base.FileInterface, error)
Retrieve retrieve file content with url
Click to show internal directories.
Click to hide internal directories.