Documentation ¶
Index ¶
- func Add(x, y int) int
- func CreateDirectory(directory, fileName string) string
- func DownBlock(url, userName, bucketName, fileName string, blockNum int) ([]byte, error)
- func DownloadObject(url, filePath, fileName, bucketName string) string
- func ListObjects(bucketName, publicKey string) []string
- func Md5SumFile(file string) string
- func ReadUserInfo() []byte
- func Register(userName, privateKey string) string
- func UploadObject(url, filePath, bucketName, userName, privateKey string)
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDirectory ¶
func DownloadObject ¶
func ListObjects ¶
func Md5SumFile ¶
func ReadUserInfo ¶
func ReadUserInfo() []byte
func UploadObject ¶
func UploadObject(url, filePath, bucketName, userName, privateKey string)
Types ¶
Click to show internal directories.
Click to hide internal directories.