Documentation ¶
Index ¶
Constants ¶
View Source
const (
Version string = "0.2.0"
)
Global version definition
Variables ¶
View Source
var ( InfoLog = log.New(os.Stdout, "", log.LstdFlags) ErrorLog = log.New(os.Stderr, "", log.LstdFlags) )
InfoLog and ErrorLog are providing a general logging facility.
Functions ¶
func Download ¶
func Download()
Download is starting the process of downloading all objects from an OSS Bucket.
func OssEndpoint ¶
OssEndpoint returns the endpoint which will be used for the client connection.
Types ¶
type LocalFileInfo ¶
type LocalFileInfo struct { AbsDir string AbsPath string Exists bool IsDir bool Name string Size int64 }
LocalFileInfo denotes required information for the local files.
func LocalFile ¶
func LocalFile(ossObject oss.ObjectProperties) (*LocalFileInfo, error)
LocalFile returns LocalFileInfo for on OSS object.
Click to show internal directories.
Click to hide internal directories.