Categorygithub.com/chyroc/go-aliyundrive
modulepackage
0.9.0
Repository: https://github.com/chyroc/go-aliyundrive.git
Documentation: pkg.go.dev

# README

go-aliyundrive

阿里云盘 Go SDK

安装

go get github.com/chyroc/go-aliyundrive

使用

初始化 SDK 实例

ins := aliyundrive.New()

// 下面所有提到的 ins 都是指这个实例

登录

具体代码参考这里

user, err := ins.Auth.LoginByQrcode(context.TODO())

读取文件

具体代码参考这里

resp, err := ins.File.GetFileList(context.TODO(), &aliyundrive.GetFileListReq{
    DriveID:      driveID,
    ParentFileID: parentID,
    Marker:       next,
})

获取分享的内容

具体代码参考这里

sharedInfo, err := ins.ShareLink.GetShareByAnonymous(ctx, &aliyundrive.GetShareByAnonymousReq{
    ShareID: shareID,
})

其他

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
文件.
文件夹.
No description provided by the author
No description provided by the author
No description provided by the author
只有两个 log req 和 resp 的 文本内容.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
Store 定义一个存储的接口,使用者可以按照自己的需求来实现.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author