Documentation
¶
Index ¶
- func DownloadFile(prompt string, downloadURL string, filename string, accessToken string) error
- func GetShareDownloadURL(driveID string, fileID string, shareID string, shareToken string, ...) (string, error)
- func GetShareInfo(shareURL string) (shareID string, parentFileID string, creatorID string, err error)
- func Login() (string, string, error)
- func ShareToken(shareID string, passwd string) (string, error)
- type AliyunDriverFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
func GetShareDownloadURL ¶
func GetShareInfo ¶
Types ¶
type AliyunDriverFile ¶
type AliyunDriverFile struct { DriveID string `json:"drive_id"` DomainID string `json:"domain_id"` FileID string `json:"file_id"` Name string `json:"name"` Type string `json:"type:"` CreateAt string `json:"create_at"` UpdateAt string `json:"update_at"` ParentFileID string `json:"parent_file_id"` RevisionID string `json:"revision_id"` }
Click to show internal directories.
Click to hide internal directories.