Documentation ¶
Index ¶
- Variables
- func Cp(f, t string) error
- func CpOrigin(f, t string) error
- func Exist(obj string) (bool, error)
- func GetObjectBytes(obj string) ([]byte, error)
- func Init(endpoint, keyID, keySecret, prefix string) error
- func Ls(dir string) ([]string, error)
- func Mv(f, t string) error
- func MvWithoutPrefix(f, t string) error
- func Rm(objs ...string) error
- func Touch(reader io.Reader, to string) error
- func TouchFormatImg(reader io.Reader, to string) error
- func TouchPrefix(reader io.Reader, to string, addPfx bool) error
- func Url(obj string) (string, error)
- func UrlPfx(obj string, addPfx bool) (string, error)
- func ZoomUrl(obj, s string) (string, error)
- func ZoomUrlPfx(obj, s string, addPfx bool) (string, error)
- type ObjectInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var Bkt *oss.Bucket
Functions ¶
func GetObjectBytes ¶
func MvWithoutPrefix ¶
Types ¶
type ObjectInfo ¶ added in v1.4.2
func LsDetails ¶ added in v1.4.2
func LsDetails(dir string) ([]ObjectInfo, error)
Click to show internal directories.
Click to hide internal directories.