Versions in this module Expand all Collapse all v1 v1.1.1 Feb 7, 2025 v1.1.0 Feb 7, 2025 v1.0.1 Feb 7, 2025 v0 v0.1.0 Oct 21, 2024 Changes in this version + const CopyOperate + const DeleteOperate + const MoveOperate + const OrderByName + const OrderBySize + const OrderByTime + const RenameOperate + func BodyList(slice []string) string + func BoolToInt(b bool) int + func BoolToStr(b bool) string + func EncryptMd5(e string) string + func FixToBaiduPath(rclonePath string) string + func FixToBaiduPathList(rclonePath []string) []string + type BaiduApi struct + func (b *BaiduApi) Create(path string, preCreateFileData *PreCreateFileData, uploadId string) (opts *rest.Opts, err error) + func (b *BaiduApi) CreateDir(path string, isdir bool) (opts *rest.Opts, err error) + func (b *BaiduApi) DeleteDirsOrFiles(fileList []string, async int) (opts *rest.Opts, err error) + func (b *BaiduApi) DownFileDisguiseBaiduClient(dLink string) (opts *rest.Opts, err error) + func (b *BaiduApi) GetFileMetas(path []string, dlink bool, text bool) (opts *rest.Opts, err error) + func (b *BaiduApi) GetLocateDownloadUrl(path string) (opts *rest.Opts, err error) + func (b *BaiduApi) GetTemplateVariable() (opts *rest.Opts, err error) + func (b *BaiduApi) ListDirFiles(dir string, order OrderType, desc bool, showEmpty bool, page int, num int) (opts *rest.Opts, err error) + func (b *BaiduApi) MoveOrCopyDirsOrFiles(fileList []FileManagerParam, async int, operate Operate) (opts *rest.Opts, err error) + func (b *BaiduApi) Precreate(path string, rapidOffsetData *RapidOffsetData, ...) (opts *rest.Opts, err error) + func (b *BaiduApi) RenameDirsOrFiles(fileList []FileManagerParam, async int) (opts *rest.Opts, err error) + func (b *BaiduApi) Superfile2(path string, uploadId string, partseq int, realChunkSize int64, ...) (opts *rest.Opts, err error) + type BaiduResponse struct + Guid int64 + GuidInf string + type BaseBaiduResponse struct + Errno int + RequestId int64 + func (b BaseBaiduResponse) GetErrno() int + type BaseItem struct + Category int + Ctime int64 + FromType int + FsId int64 + Isdir int + Md5 string + Mtime int64 + Name string + Path string + Size int64 + type CreateVO struct + type FileManagerParam struct + Dest string + NewName string + Ondup string + Path string + type FragmentVO struct + Md5 string + Partseq string + RequestId int64 + UploadId int32 + func (b FragmentVO) GetErrno() int + type InfoResponse struct + Info []*Item + type Item struct + Category int + DirEmpty int + Dlink string + Docpreview string + Empty int + Errno int + ExtentInt3 int64 + ExtentTinyint1 int + ExtentTinyint2 int + ExtentTinyint3 int64 + ExtentTinyint4 int + ExtentTinyint7 int + FileKey string + FromType int + FsID int64 + IsDir int + LocalCtime int64 + LocalMtime int64 + Lodocpreview string + Md5 string + OperID int64 + OwnerID int + OwnerType int + Path string + PathMd5 int + Picdocpreview string + Pl int + Privacy int + RealCategory string + ServerAtime int + ServerCtime int64 + ServerFilename string + ServerMtime int64 + Share int + Size int64 + Thumbs struct{ ... } + TkbindID int + Unlist int + Videotag int + WpFile int + type ListResponse struct + List []*Item + type LocateDownloadVO struct + BakURLs string + ClientIP string + FSL int + IV int + MaxTimeout int + MinTimeout int + RankParam struct{ ... } + RequestID int64 + URLs []struct{ ... } + type Operate string + type OrderType string + type PreCreateFileData struct + BlockList []string + ContentMd5 string + LocalCtime int64 + LocalMtime int64 + Size int64 + SliceMd5 string + type PreCreateVO struct + BlockList []fs.StringValue + Info *BaseItem + Path string + ReturnType int + UploadId string + type RapidOffsetData struct + DataContent string + DataOffset int64 + DataTime int64 + type TemplateInfo struct + Bdstoken string + IsDocuser int32 + ServerTime int64 + Token string + Uk int64 + type TemplateResponse struct + Result *TemplateInfo