Documentation ¶
Index ¶
- Constants
- type Filesystem
- func (f *Filesystem) Delete(dstFile string) error
- func (f *Filesystem) DeleteDir(dstDir string) error
- func (f *Filesystem) Engine() string
- func (f *Filesystem) FixURL(content string, embedded ...bool) string
- func (f *Filesystem) FixURLWithParams(content string, values url.Values, embedded ...bool) string
- func (f *Filesystem) Get(dstFile string) (io.ReadCloser, error)
- func (f *Filesystem) PublicURL(dstFile string) string
- func (f *Filesystem) Put(dstFile string, src io.Reader, size int64) (string, error)
- func (f *Filesystem) URLWithParams(rawURL string, values url.Values) string
Constants ¶
View Source
const Name = `filesystem`
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filesystem ¶
func NewFilesystem ¶
func NewFilesystem(typ string) *Filesystem
func (*Filesystem) Delete ¶
func (f *Filesystem) Delete(dstFile string) error
func (*Filesystem) DeleteDir ¶
func (f *Filesystem) DeleteDir(dstDir string) error
func (*Filesystem) Engine ¶
func (f *Filesystem) Engine() string
func (*Filesystem) FixURLWithParams ¶
func (*Filesystem) Get ¶
func (f *Filesystem) Get(dstFile string) (io.ReadCloser, error)
func (*Filesystem) PublicURL ¶
func (f *Filesystem) PublicURL(dstFile string) string
func (*Filesystem) URLWithParams ¶
func (f *Filesystem) URLWithParams(rawURL string, values url.Values) string
Click to show internal directories.
Click to hide internal directories.