Documentation ¶
Index ¶
- func Cp(f, t string) error
- func Destroy()
- func Exist(obj string) (bool, error)
- func Init(bucket string, storageID string, baseUrl string, timeoutSec time.Duration)
- func Ls(dir string) ([]string, error)
- func Mv(f, t string) error
- func Rm(objs ...string) error
- func Touch(reader io.Reader, to string) error
- func Url(obj string) (string, error)
- func ZoomUrl(obj, s string) (string, error)
- type CheckObjectExistRequest
- type CheckObjectExistResponse
- type CreateBucketRequest
- type DeleteObjectsRequest
- type GetObjectUrlRequest
- type GetObjectUrlResponse
- type LsObjectExistResponse
- type LsObjectsExistRequest
- type MoveOrCpObjectRequest
- type PutObjectRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CheckObjectExistRequest ¶
type CheckObjectExistResponse ¶
type CheckObjectExistResponse struct { Exist bool `json:"exist" binding:"required"` // contains filtered or unexported fields }
type CreateBucketRequest ¶
type DeleteObjectsRequest ¶
type GetObjectUrlRequest ¶
type GetObjectUrlResponse ¶
type GetObjectUrlResponse struct { Url string `json:"url" binding:"required"` // contains filtered or unexported fields }
type LsObjectExistResponse ¶
type LsObjectExistResponse struct { Objs []string `json:"objs" binding:"required"` // contains filtered or unexported fields }
type LsObjectsExistRequest ¶
type MoveOrCpObjectRequest ¶
Click to show internal directories.
Click to hide internal directories.