Documentation
¶
Index ¶
- type Adapter
- func (a *Adapter) Copy(src, dst string) error
- func (a *Adapter) CreateDir(path string, args ...interface{}) error
- func (a *Adapter) Delete(path string) error
- func (a *Adapter) DeleteDir(path string) error
- func (a *Adapter) Has(path string) (bool, error)
- func (a *Adapter) HasDir(path string) (bool, error)
- func (a *Adapter) MimeType(path string) (string, error)
- func (a *Adapter) Read(path string) (string, error)
- func (a *Adapter) ReadAndDelete(path string) (string, error)
- func (a *Adapter) Rename(src string, dst string) error
- func (a *Adapter) Write(path, content string, args ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
Adapter represents a AWS S3 adapter.
func NewAdapter ¶
NewAdapter creates a new AWS S3 adapter.
func (*Adapter) ReadAndDelete ¶
ReadAndDelete will read a file and delete it if any.
Click to show internal directories.
Click to hide internal directories.