Documentation
¶
Index ¶
- type Config
- type Driver
- func (d *Driver) Delete(paths ...string) error
- func (d *Driver) Get(path string) (io.ReadCloser, error)
- func (d *Driver) List(path string) ([]core.Object, error)
- func (d *Driver) Put(file core.FileHeader) error
- func (d *Driver) Source(path string, ttl time.Duration) (string, error)
- func (d *Driver) TempDir() string
- func (d *Driver) Token(info core.FileInfo, ttl time.Duration) (*core.UploadCredential, error)
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
}
func NewFromConfig ¶
func NewWithConfig ¶
Click to show internal directories.
Click to hide internal directories.