Documentation ¶
Index ¶
- Variables
- type Config
- type Storage
- func (d *Storage) Delete(ctx context.Context, filePaths ...string) error
- func (d *Storage) DeleteAll(ctx context.Context, pathPrefix string) error
- func (d *Storage) Dirname() string
- func (d *Storage) Exists(ctx context.Context, fileName string) (bool, error)
- func (d *Storage) GetCwd() string
- func (d *Storage) GetObject(ctx context.Context, filePath string) (reader io.ReadCloser, err error)
- func (d *Storage) ListDir(ctx context.Context) (files []string, dirs []storages.Storager, err error)
- func (d *Storage) PutObject(ctx context.Context, filePath string, body io.Reader) error
- func (d *Storage) SubStorage(dp string, relative bool) storages.Storager
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPathIsRequired = errors.New("path is required")
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.