Documentation ¶
Index ¶
- type Driver
- func (driver *Driver) DeleteDir(path string) error
- func (driver *Driver) DeleteFile(path string) error
- func (driver *Driver) GetFile(path string, offset int64) (int64, io.ReadCloser, error)
- func (driver *Driver) ListDir(path string, callback func(core.FileInfo) error) error
- func (driver *Driver) MakeDir(path string) error
- func (driver *Driver) PutFile(destPath string, data io.Reader, appendData bool) (int64, error)
- func (driver *Driver) Rename(fromPath string, toPath string) error
- func (driver *Driver) Stat(path string) (core.FileInfo, error)
- type DriverFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
Driver implements Driver to store files in minio
func (*Driver) DeleteFile ¶
DeleteFile implements Driver
type DriverFactory ¶
type DriverFactory struct {
// contains filtered or unexported fields
}
DriverFactory implements DriverFactory
func NewDriverFactory ¶
func NewDriverFactory(endpoint, accessKeyID, secretAccessKey, location, bucket string, useSSL bool, perm core.Perm) *DriverFactory
NewDriverFactory creates a DriverFactory implementation
Click to show internal directories.
Click to hide internal directories.