Documentation
¶
Index ¶
- type Disk
- func (d *Disk) CreateBucket(bucketName, region string) error
- func (d *Disk) DeleteFile(bucketName, fileName string) error
- func (d *Disk) FilePath(bucketName, fileName string) string
- func (d *Disk) GetFile(bucketName, fileName string) string
- func (d *Disk) UploadFile(bucketName, fileName string, content []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Disk ¶
Disk client
func (*Disk) CreateBucket ¶
CreateBucket create bucket
func (*Disk) DeleteFile ¶
DeleteFile delete file
Click to show internal directories.
Click to hide internal directories.