SYMBOL INDEX (6685 symbols across 680 files) FILE: cmd/admin.go function setAdminPassword (line 73) | func setAdminPassword(pwd string) { function init (line 93) | func init() { FILE: cmd/cancel2FA.go function init (line 38) | func init() { FILE: cmd/common.go function Init (line 13) | func Init() { function Release (line 17) | func Release() { function initDaemon (line 24) | func initDaemon() { FILE: cmd/crypt.go type options (line 19) | type options struct method validate (line 68) | func (o *options) validate() { method cryptFileDir (line 84) | func (o *options) cryptFileDir() { method cryptFile (line 219) | func (o *options) cryptFile(cipher *rcCrypt.Cipher, src string, dst st... function init (line 46) | func init() { function checkCreateDir (line 283) | func checkCreateDir(dir string) { function updateObfusParm (line 298) | func updateObfusParm(str string) string { FILE: cmd/kill.go function kill (line 19) | func kill() { function init (line 43) | func init() { FILE: cmd/lang.go type KV (line 23) | type KV type Drivers (line 25) | type Drivers function firstUpper (line 29) | func firstUpper(s string) string { function convert (line 36) | func convert(s string) string { function writeFile (line 42) | func writeFile(name string, data interface{}) { function mergeJson (line 80) | func mergeJson(source, target map[string]interface{}) bool { function generateDriversJson (line 98) | func generateDriversJson() { function generateSettingsJson (line 134) | func generateSettingsJson() { function init (line 171) | func init() { FILE: cmd/restart.go function init (line 20) | func init() { FILE: cmd/root.go function Execute (line 22) | func Execute() { function init (line 29) | func init() { FILE: cmd/server.go function init (line 35) | func init() { function OutOpenListInit (line 50) | func OutOpenListInit() { FILE: cmd/start.go function start (line 25) | func start() { function init (line 59) | func init() { FILE: cmd/stop_default.go function stop (line 22) | func stop() { function init (line 46) | func init() { FILE: cmd/stop_windows.go function stop (line 18) | func stop() { function init (line 22) | func init() { FILE: cmd/storage.go type model (line 89) | type model struct method Init (line 93) | func (m model) Init() tea.Cmd { return nil } method Update (line 95) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 118) | func (m model) View() string { function init (line 184) | func init() { FILE: cmd/user.go function DelAdminCacheOnline (line 15) | func DelAdminCacheOnline() { function DelUserCacheOnline (line 24) | func DelUserCacheOnline(username string) { FILE: cmd/version.go function init (line 33) | func init() { FILE: drivers/115/appver.go method getAppVersion (line 16) | func (d *Pan115) getAppVersion() (string, error) { method getAppVer (line 32) | func (d *Pan115) getAppVer() string { method initAppVer (line 44) | func (d *Pan115) initAppVer() { type VersionResp (line 49) | type VersionResp struct type Versions (line 54) | type Versions struct type Version (line 58) | type Version struct FILE: drivers/115/driver.go type Pan115 (line 18) | type Pan115 struct method Config (line 26) | func (d *Pan115) Config() driver.Config { method GetAddition (line 30) | func (d *Pan115) GetAddition() driver.Additional { method Init (line 34) | func (d *Pan115) Init(ctx context.Context) error { method WaitLimit (line 42) | func (d *Pan115) WaitLimit(ctx context.Context) error { method Drop (line 49) | func (d *Pan115) Drop(ctx context.Context) error { method List (line 53) | func (d *Pan115) List(ctx context.Context, dir model.Obj, args model.L... method Link (line 66) | func (d *Pan115) Link(ctx context.Context, file model.Obj, args model.... method MakeDir (line 82) | func (d *Pan115) MakeDir(ctx context.Context, parentDir model.Obj, dir... method Move (line 110) | func (d *Pan115) Move(ctx context.Context, srcObj, dstDir model.Obj) (... method Rename (line 124) | func (d *Pan115) Rename(ctx context.Context, srcObj model.Obj, newName... method Copy (line 138) | func (d *Pan115) Copy(ctx context.Context, srcObj, dstDir model.Obj) e... method Remove (line 145) | func (d *Pan115) Remove(ctx context.Context, obj model.Obj) error { method Put (line 152) | func (d *Pan115) Put(ctx context.Context, dstDir model.Obj, stream mod... method OfflineList (line 231) | func (d *Pan115) OfflineList(ctx context.Context) ([]*driver115.Offlin... method OfflineDownload (line 239) | func (d *Pan115) OfflineDownload(ctx context.Context, uris []string, d... method DeleteOfflineTasks (line 243) | func (d *Pan115) DeleteOfflineTasks(ctx context.Context, hashes []stri... method GetDetails (line 247) | func (d *Pan115) GetDetails(ctx context.Context) (*model.StorageDetail... FILE: drivers/115/meta.go type Addition (line 8) | type Addition struct function init (line 23) | func init() { FILE: drivers/115/types.go type FileObj (line 13) | type FileObj struct method CreateTime (line 17) | func (f *FileObj) CreateTime() time.Time { method GetHash (line 21) | func (f *FileObj) GetHash() utils.HashInfo { method Thumb (line 25) | func (f *FileObj) Thumb() string { type UploadResult (line 29) | type UploadResult struct FILE: drivers/115/util.go method login (line 32) | func (d *Pan115) login() error { method getFiles (line 62) | func (d *Pan115) getFiles(fileId string) ([]FileObj, error) { method getNewFile (line 77) | func (d *Pan115) getNewFile(fileId string) (*FileObj, error) { method getNewFileByPickCode (line 85) | func (d *Pan115) getNewFileByPickCode(pickCode string) (*FileObj, error) { method getUA (line 105) | func (d *Pan115) getUA() string { method GenerateToken (line 109) | func (c *Pan115) GenerateToken(fileID, preID, timeStamp, fileSize, signK... method rapidUpload (line 116) | func (d *Pan115) rapidUpload(fileSize int64, fileName, dirID, preID, fil... function UploadDigestRange (line 201) | func UploadDigestRange(stream model.FileStreamer, rangeSpec string) (res... method UploadByOSS (line 221) | func (c *Pan115) UploadByOSS(ctx context.Context, params *driver115.Uplo... method UploadByMultipart (line 255) | func (d *Pan115) UploadByMultipart(ctx context.Context, params *driver11... function chunksProducer (line 408) | func chunksProducer(ch chan oss.FileChunk, chunks []oss.FileChunk) { function SplitFile (line 414) | func SplitFile(fileSize int64) (chunks []oss.FileChunk, err error) { function SplitFileByPartNum (line 439) | func SplitFileByPartNum(fileSize int64, chunkNum int) ([]oss.FileChunk, ... function SplitFileByPartSize (line 467) | func SplitFileByPartSize(fileSize int64, chunkSize int64) ([]oss.FileChu... FILE: drivers/115_open/driver.go type Open115 (line 23) | type Open115 struct method Config (line 30) | func (d *Open115) Config() driver.Config { method GetAddition (line 34) | func (d *Open115) GetAddition() driver.Additional { method Init (line 38) | func (d *Open115) Init(ctx context.Context) error { method WaitLimit (line 65) | func (d *Open115) WaitLimit(ctx context.Context) error { method Drop (line 72) | func (d *Open115) Drop(ctx context.Context) error { method List (line 76) | func (d *Open115) List(ctx context.Context, dir model.Obj, args model.... method Link (line 108) | func (d *Open115) Link(ctx context.Context, file model.Obj, args model... method MakeDir (line 140) | func (d *Open115) MakeDir(ctx context.Context, parentDir model.Obj, di... method Move (line 159) | func (d *Open115) Move(ctx context.Context, srcObj, dstDir model.Obj) ... method Rename (line 173) | func (d *Open115) Rename(ctx context.Context, srcObj model.Obj, newNam... method Copy (line 191) | func (d *Open115) Copy(ctx context.Context, srcObj, dstDir model.Obj) ... method Remove (line 206) | func (d *Open115) Remove(ctx context.Context, obj model.Obj) error { method Put (line 224) | func (d *Open115) Put(ctx context.Context, dstDir model.Obj, file mode... method OfflineDownload (line 313) | func (d *Open115) OfflineDownload(ctx context.Context, uris []string, ... method DeleteOfflineTask (line 317) | func (d *Open115) DeleteOfflineTask(ctx context.Context, infoHash stri... method OfflineList (line 321) | func (d *Open115) OfflineList(ctx context.Context) (*sdk.OfflineTaskLi... method GetDetails (line 329) | func (d *Open115) GetDetails(ctx context.Context) (*model.StorageDetai... FILE: drivers/115_open/meta.go type Addition (line 8) | type Addition struct function init (line 26) | func init() { FILE: drivers/115_open/types.go type Obj (line 11) | type Obj method Thumb (line 14) | func (o *Obj) Thumb() string { method CreateTime (line 19) | func (o *Obj) CreateTime() time.Time { method GetHash (line 24) | func (o *Obj) GetHash() utils.HashInfo { method GetID (line 29) | func (o *Obj) GetID() string { method GetName (line 34) | func (o *Obj) GetName() string { method GetPath (line 39) | func (o *Obj) GetPath() string { method GetSize (line 44) | func (o *Obj) GetSize() int64 { method IsDir (line 49) | func (o *Obj) IsDir() bool { method ModTime (line 54) | func (o *Obj) ModTime() time.Time { FILE: drivers/115_open/upload.go function calPartSize (line 19) | func calPartSize(fileSize int64) int64 { method singleUpload (line 39) | func (d *Open115) singleUpload(ctx context.Context, tempF model.File, to... method multpartUpload (line 73) | func (d *Open115) multpartUpload(ctx context.Context, stream model.FileS... FILE: drivers/115_open/util.go function ParseInt64 (line 5) | func ParseInt64(v json.Number) (int64, error) { FILE: drivers/115_share/driver.go type Pan115Share (line 15) | type Pan115Share struct method Config (line 22) | func (d *Pan115Share) Config() driver.Config { method GetAddition (line 26) | func (d *Pan115Share) GetAddition() driver.Additional { method Init (line 30) | func (d *Pan115Share) Init(ctx context.Context) error { method WaitLimit (line 38) | func (d *Pan115Share) WaitLimit(ctx context.Context) error { method Drop (line 45) | func (d *Pan115Share) Drop(ctx context.Context) error { method List (line 49) | func (d *Pan115Share) List(ctx context.Context, dir model.Obj, args mo... method Link (line 84) | func (d *Pan115Share) Link(ctx context.Context, file model.Obj, args m... method MakeDir (line 103) | func (d *Pan115Share) MakeDir(ctx context.Context, parentDir model.Obj... method Move (line 107) | func (d *Pan115Share) Move(ctx context.Context, srcObj, dstDir model.O... method Rename (line 111) | func (d *Pan115Share) Rename(ctx context.Context, srcObj model.Obj, ne... method Copy (line 115) | func (d *Pan115Share) Copy(ctx context.Context, srcObj, dstDir model.O... method Remove (line 119) | func (d *Pan115Share) Remove(ctx context.Context, obj model.Obj) error { method Put (line 123) | func (d *Pan115Share) Put(ctx context.Context, dstDir model.Obj, strea... FILE: drivers/115_share/meta.go type Addition (line 8) | type Addition struct function init (line 25) | func init() { FILE: drivers/115_share/utils.go type FileObj (line 17) | type FileObj struct method CreateTime (line 27) | func (f *FileObj) CreateTime() time.Time { method GetHash (line 31) | func (f *FileObj) GetHash() utils.HashInfo { method GetSize (line 35) | func (f *FileObj) GetSize() int64 { method GetName (line 39) | func (f *FileObj) GetName() string { method ModTime (line 43) | func (f *FileObj) ModTime() time.Time { method IsDir (line 47) | func (f *FileObj) IsDir() bool { method GetID (line 51) | func (f *FileObj) GetID() string { method GetPath (line 55) | func (f *FileObj) GetPath() string { method Thumb (line 59) | func (f *FileObj) Thumb() string { function transFunc (line 63) | func transFunc(sf driver115.ShareFile) (model.Obj, error) { method login (line 87) | func (d *Pan115Share) login() error { FILE: drivers/123/driver.go type Pan123 (line 29) | type Pan123 struct method Config (line 35) | func (d *Pan123) Config() driver.Config { method GetAddition (line 39) | func (d *Pan123) GetAddition() driver.Additional { method Init (line 43) | func (d *Pan123) Init(ctx context.Context) error { method Drop (line 50) | func (d *Pan123) Drop(ctx context.Context) error { method List (line 57) | func (d *Pan123) List(ctx context.Context, dir model.Obj, args model.L... method Link (line 67) | func (d *Pan123) Link(ctx context.Context, file model.Obj, args model.... method MakeDir (line 124) | func (d *Pan123) MakeDir(ctx context.Context, parentDir model.Obj, dir... method Move (line 139) | func (d *Pan123) Move(ctx context.Context, srcObj, dstDir model.Obj) e... method Rename (line 150) | func (d *Pan123) Rename(ctx context.Context, srcObj model.Obj, newName... method Copy (line 162) | func (d *Pan123) Copy(ctx context.Context, srcObj, dstDir model.Obj) e... method Remove (line 166) | func (d *Pan123) Remove(ctx context.Context, obj model.Obj) error { method Put (line 182) | func (d *Pan123) Put(ctx context.Context, dstDir model.Obj, file model... method APIRateLimit (line 250) | func (d *Pan123) APIRateLimit(ctx context.Context, api string) error { method GetDetails (line 258) | func (d *Pan123) GetDetails(ctx context.Context) (*model.StorageDetail... FILE: drivers/123/meta.go type Addition (line 8) | type Addition struct function init (line 26) | func init() { FILE: drivers/123/types.go type File (line 15) | type File struct method CreateTime (line 26) | func (f File) CreateTime() time.Time { method GetHash (line 30) | func (f File) GetHash() utils.HashInfo { method GetPath (line 34) | func (f File) GetPath() string { method GetSize (line 38) | func (f File) GetSize() int64 { method GetName (line 42) | func (f File) GetName() string { method ModTime (line 46) | func (f File) ModTime() time.Time { method IsDir (line 50) | func (f File) IsDir() bool { method GetID (line 54) | func (f File) GetID() string { method Thumb (line 58) | func (f File) Thumb() string { type Files (line 88) | type Files struct type UploadResp (line 104) | type UploadResp struct type S3PreSignedURLs (line 120) | type S3PreSignedURLs struct type UserInfoResp (line 126) | type UserInfoResp struct type offlineResolveResp (line 137) | type offlineResolveResp struct type offlineSubmitResp (line 151) | type offlineSubmitResp struct type offlineTaskListResp (line 160) | type offlineTaskListResp struct type offlineTask (line 168) | type offlineTask struct FILE: drivers/123/upload.go method getS3PreSignedUrls (line 22) | func (d *Pan123) getS3PreSignedUrls(ctx context.Context, upReq *UploadRe... method getS3Auth (line 41) | func (d *Pan123) getS3Auth(ctx context.Context, upReq *UploadResp, start... method completeS3 (line 60) | func (d *Pan123) completeS3(ctx context.Context, upReq *UploadResp, file... method newUpload (line 76) | func (d *Pan123) newUpload(ctx context.Context, upReq *UploadResp, file ... FILE: drivers/123/util.go constant Api (line 27) | Api = "https://www.123pan.com/api" constant AApi (line 28) | AApi = "https://www.123pan.com/a/api" constant BApi (line 29) | BApi = "https://www.123pan.com/b/api" constant LoginApi (line 30) | LoginApi = "https://login.123pan.com/api" constant MainApi (line 31) | MainApi = BApi constant SignIn (line 32) | SignIn = LoginApi + "/user/sign_in" constant Logout (line 33) | Logout = MainApi + "/user/logout" constant UserInfo (line 34) | UserInfo = MainApi + "/user/info" constant FileList (line 35) | FileList = MainApi + "/file/list/new" constant DownloadInfo (line 36) | DownloadInfo = MainApi + "/file/download_info" constant Mkdir (line 37) | Mkdir = MainApi + "/file/upload_request" constant Move (line 38) | Move = MainApi + "/file/mod_pid" constant Rename (line 39) | Rename = MainApi + "/file/rename" constant Trash (line 40) | Trash = MainApi + "/file/trash" constant UploadRequest (line 41) | UploadRequest = MainApi + "/file/upload_request" constant UploadComplete (line 42) | UploadComplete = MainApi + "/file/upload_complete" constant S3PreSignedUrls (line 43) | S3PreSignedUrls = MainApi + "/file/s3_repare_upload_parts_batch" constant S3Auth (line 44) | S3Auth = MainApi + "/file/s3_upload_object/auth" constant UploadCompleteV2 (line 45) | UploadCompleteV2 = MainApi + "/file/upload_complete/v2" constant S3Complete (line 46) | S3Complete = MainApi + "/file/s3_complete_multipart_upload" constant OfflineResolve (line 48) | OfflineResolve = MainApi + "/v2/offline_download/task/resolve" constant OfflineSubmit (line 49) | OfflineSubmit = MainApi + "/v2/offline_download/task/submit" constant OfflineTaskList (line 50) | OfflineTaskList = MainApi + "/offline_download/task/list" constant OfflineTaskDelete (line 51) | OfflineTaskDelete = MainApi + "/offline_download/task/delete" function signPath (line 57) | func signPath(path string, os string, version string) (k string, v strin... function GetApi (line 72) | func GetApi(rawUrl string) string { method login (line 155) | func (d *Pan123) login() error { method Request (line 205) | func (d *Pan123) Request(url string, method string, callback base.ReqCal... method OfflineDownload (line 249) | func (d *Pan123) OfflineDownload(ctx context.Context, uri string, dstDir... method GetOfflineTask (line 314) | func (d *Pan123) GetOfflineTask(ctx context.Context, taskID int64) (*off... method DeleteOfflineTasks (line 346) | func (d *Pan123) DeleteOfflineTasks(ctx context.Context, taskIDs []int64... method getFiles (line 358) | func (d *Pan123) getFiles(ctx context.Context, parentId string, name str... method getUserInfo (line 403) | func (d *Pan123) getUserInfo(ctx context.Context) (*UserInfoResp, error) { FILE: drivers/123_link/driver.go type Pan123Link (line 14) | type Pan123Link struct method Config (line 20) | func (d *Pan123Link) Config() driver.Config { method GetAddition (line 24) | func (d *Pan123Link) GetAddition() driver.Additional { method Init (line 28) | func (d *Pan123Link) Init(ctx context.Context) error { method Drop (line 38) | func (d *Pan123Link) Drop(ctx context.Context) error { method Get (line 46) | func (d *Pan123Link) Get(ctx context.Context, path string) (model.Obj,... method List (line 51) | func (d *Pan123Link) List(ctx context.Context, dir model.Obj, args mod... method Link (line 64) | func (d *Pan123Link) Link(ctx context.Context, file model.Obj, args mo... method GetRootPath (line 42) | func (Addition) GetRootPath() string { FILE: drivers/123_link/meta.go type Addition (line 8) | type Addition struct function init (line 19) | func init() { FILE: drivers/123_link/parse.go function BuildTree (line 32) | func BuildTree(text string) (*Node, error) { function isFolder (line 88) | func isFolder(line string) bool { function parseFileLine (line 94) | func parseFileLine(line string) (*Node, error) { function splitPath (line 141) | func splitPath(path string) []string { function GetNodeFromRootByPath (line 150) | func GetNodeFromRootByPath(root *Node, path string) *Node { FILE: drivers/123_link/types.go type Node (line 11) | type Node struct method getByPath (line 20) | func (node *Node) getByPath(paths []string) *Node { method isFile (line 39) | func (node *Node) isFile() bool { method calSize (line 43) | func (node *Node) calSize() int64 { function nodeToObj (line 55) | func nodeToObj(node *Node, path string) (model.Obj, error) { FILE: drivers/123_link/util.go function SignURL (line 11) | func SignURL(originURL, privateKey string, uid uint64, validDuration tim... FILE: drivers/123_open/driver.go type Open123 (line 17) | type Open123 struct method Config (line 24) | func (d *Open123) Config() driver.Config { method GetAddition (line 28) | func (d *Open123) GetAddition() driver.Additional { method Init (line 32) | func (d *Open123) Init(ctx context.Context) error { method Drop (line 58) | func (d *Open123) Drop(ctx context.Context) error { method List (line 63) | func (d *Open123) List(ctx context.Context, dir model.Obj, args model.... method Link (line 89) | func (d *Open123) Link(ctx context.Context, file model.Obj, args model... method MakeDir (line 133) | func (d *Open123) MakeDir(ctx context.Context, parentDir model.Obj, di... method Move (line 139) | func (d *Open123) Move(ctx context.Context, srcObj, dstDir model.Obj) ... method Rename (line 145) | func (d *Open123) Rename(ctx context.Context, srcObj model.Obj, newNam... method Copy (line 151) | func (d *Open123) Copy(ctx context.Context, srcObj, dstDir model.Obj) ... method Remove (line 171) | func (d *Open123) Remove(ctx context.Context, obj model.Obj) error { method Put (line 177) | func (d *Open123) Put(ctx context.Context, dstDir model.Obj, file mode... method GetDetails (line 252) | func (d *Open123) GetDetails(ctx context.Context) (*model.StorageDetai... method OfflineDownload (line 265) | func (d *Open123) OfflineDownload(ctx context.Context, url string, dir... method OfflineDownloadProcess (line 269) | func (d *Open123) OfflineDownloadProcess(ctx context.Context, taskID i... FILE: drivers/123_open/meta.go type Addition (line 8) | type Addition struct function init (line 41) | func init() { FILE: drivers/123_open/token.go type tokenManager (line 20) | type tokenManager struct method getAccessToken (line 27) | func (d *Open123) getAccessToken(forceRefresh bool) (string, error) { method flushAccessToken (line 45) | func (d *Open123) flushAccessToken() error { FILE: drivers/123_open/types.go type ApiInfo (line 11) | type ApiInfo struct method Require (line 17) | func (a *ApiInfo) Require() { method Release (line 23) | func (a *ApiInfo) Release() { method SetQPS (line 31) | func (a *ApiInfo) SetQPS(qps int) { method NowLen (line 36) | func (a *ApiInfo) NowLen() int { function InitApiInfo (line 40) | func InitApiInfo(url string, qps int) *ApiInfo { type File (line 48) | type File struct method GetHash (line 64) | func (f File) GetHash() utils.HashInfo { method GetPath (line 71) | func (f File) GetPath() string { method GetSize (line 75) | func (f File) GetSize() int64 { method GetName (line 79) | func (f File) GetName() string { method CreateTime (line 83) | func (f File) CreateTime() time.Time { method ModTime (line 93) | func (f File) ModTime() time.Time { method IsDir (line 103) | func (f File) IsDir() bool { method GetID (line 107) | func (f File) GetID() string { type BaseResp (line 113) | type BaseResp struct type AccessTokenResp (line 119) | type AccessTokenResp struct type RefreshTokenResp (line 127) | type RefreshTokenResp struct type UserInfoResp (line 135) | type UserInfoResp struct type FileListResp (line 154) | type FileListResp struct type DownloadInfoResp (line 162) | type DownloadInfoResp struct type DirectLinkResp (line 169) | type DirectLinkResp struct type UploadCreateResp (line 177) | type UploadCreateResp struct type UploadCompleteResp (line 189) | type UploadCompleteResp struct type SHA1ReuseResp (line 197) | type SHA1ReuseResp struct type OfflineDownloadResp (line 205) | type OfflineDownloadResp struct type OfflineDownloadProcessResp (line 212) | type OfflineDownloadProcessResp struct FILE: drivers/123_open/upload.go method create (line 26) | func (d *Open123) create(parentFileID int64, filename string, etag strin... method Upload (line 45) | func (d *Open123) Upload(ctx context.Context, file model.FileStreamer, c... method complete (line 174) | func (d *Open123) complete(preuploadID string) (*UploadCompleteResp, err... method sha1Reuse (line 188) | func (d *Open123) sha1Reuse(parentFileID int64, filename string, sha1Has... FILE: drivers/123_open/util.go method Request (line 40) | func (d *Open123) Request(apiInfo *ApiInfo, method string, callback base... method SignURL (line 92) | func (d *Open123) SignURL(originURL, privateKey string, uid uint64, vali... method getUserInfo (line 119) | func (d *Open123) getUserInfo(ctx context.Context) (*UserInfoResp, error) { method getUID (line 131) | func (d *Open123) getUID(ctx context.Context) (uint64, error) { method getFiles (line 143) | func (d *Open123) getFiles(parentFileId int64, limit int, lastFileId int... method getDownloadInfo (line 164) | func (d *Open123) getDownloadInfo(fileId int64) (*DownloadInfoResp, erro... method getDirectLink (line 179) | func (d *Open123) getDirectLink(fileId int64) (*DirectLinkResp, error) { method mkdir (line 194) | func (d *Open123) mkdir(parentID int64, name string) error { method move (line 208) | func (d *Open123) move(fileID, toParentFileID int64) error { method rename (line 222) | func (d *Open123) rename(fileId int64, fileName string) error { method trash (line 236) | func (d *Open123) trash(fileId int64) error { method createOfflineDownloadTask (line 249) | func (d *Open123) createOfflineDownloadTask(ctx context.Context, url str... method queryOfflineDownloadStatus (line 267) | func (d *Open123) queryOfflineDownloadStatus(ctx context.Context, taskID... FILE: drivers/123_share/driver.go type Pan123Share (line 24) | type Pan123Share struct method Config (line 31) | func (d *Pan123Share) Config() driver.Config { method GetAddition (line 35) | func (d *Pan123Share) GetAddition() driver.Additional { method Init (line 39) | func (d *Pan123Share) Init(ctx context.Context) error { method InitReference (line 45) | func (d *Pan123Share) InitReference(storage driver.Driver) error { method Drop (line 54) | func (d *Pan123Share) Drop(ctx context.Context) error { method List (line 59) | func (d *Pan123Share) List(ctx context.Context, dir model.Obj, args mo... method Link (line 70) | func (d *Pan123Share) Link(ctx context.Context, file model.Obj, args m... method MakeDir (line 126) | func (d *Pan123Share) MakeDir(ctx context.Context, parentDir model.Obj... method Move (line 131) | func (d *Pan123Share) Move(ctx context.Context, srcObj, dstDir model.O... method Rename (line 136) | func (d *Pan123Share) Rename(ctx context.Context, srcObj model.Obj, ne... method Copy (line 141) | func (d *Pan123Share) Copy(ctx context.Context, srcObj, dstDir model.O... method Remove (line 146) | func (d *Pan123Share) Remove(ctx context.Context, obj model.Obj) error { method Put (line 151) | func (d *Pan123Share) Put(ctx context.Context, dstDir model.Obj, strea... method APIRateLimit (line 160) | func (d *Pan123Share) APIRateLimit(ctx context.Context, api string) er... FILE: drivers/123_share/meta.go type Addition (line 8) | type Addition struct function init (line 25) | func init() { FILE: drivers/123_share/types.go type File (line 15) | type File struct method GetHash (line 26) | func (f File) GetHash() utils.HashInfo { method GetPath (line 30) | func (f File) GetPath() string { method GetSize (line 34) | func (f File) GetSize() int64 { method GetName (line 38) | func (f File) GetName() string { method ModTime (line 42) | func (f File) ModTime() time.Time { method CreateTime (line 45) | func (f File) CreateTime() time.Time { method IsDir (line 49) | func (f File) IsDir() bool { method GetID (line 53) | func (f File) GetID() string { method Thumb (line 57) | func (f File) Thumb() string { type Files (line 87) | type Files struct FILE: drivers/123_share/util.go constant Api (line 23) | Api = "https://www.123pan.com/api" constant AApi (line 24) | AApi = "https://www.123pan.com/a/api" constant BApi (line 25) | BApi = "https://www.123pan.com/b/api" constant MainApi (line 26) | MainApi = BApi constant FileList (line 27) | FileList = MainApi + "/share/get" constant DownloadInfo (line 28) | DownloadInfo = MainApi + "/share/download/info" function signPath (line 32) | func signPath(path string, os string, version string) (k string, v strin... function GetApi (line 47) | func GetApi(rawUrl string) string { method request (line 55) | func (d *Pan123Share) request(url string, method string, callback base.R... method getFiles (line 87) | func (d *Pan123Share) getFiles(ctx context.Context, parentId string) ([]... FILE: drivers/139/driver.go type Yun139 (line 25) | type Yun139 struct method Config (line 35) | func (d *Yun139) Config() driver.Config { method GetAddition (line 39) | func (d *Yun139) GetAddition() driver.Additional { method Init (line 43) | func (d *Yun139) Init(ctx context.Context) error { method InitReference (line 128) | func (d *Yun139) InitReference(storage driver.Driver) error { method Drop (line 137) | func (d *Yun139) Drop(ctx context.Context) error { method List (line 145) | func (d *Yun139) List(ctx context.Context, dir model.Obj, args model.L... method Link (line 160) | func (d *Yun139) Link(ctx context.Context, file model.Obj, args model.... method MakeDir (line 181) | func (d *Yun139) MakeDir(ctx context.Context, parentDir model.Obj, dir... method Move (line 238) | func (d *Yun139) Move(ctx context.Context, srcObj, dstDir model.Obj) (... method Rename (line 349) | func (d *Yun139) Rename(ctx context.Context, srcObj model.Obj, newName... method Copy (line 458) | func (d *Yun139) Copy(ctx context.Context, srcObj, dstDir model.Obj) e... method Remove (line 527) | func (d *Yun139) Remove(ctx context.Context, obj model.Obj) error { method getPartSize (line 606) | func (d *Yun139) getPartSize(size int64) int64 { method Put (line 617) | func (d *Yun139) Put(ctx context.Context, dstDir model.Obj, stream mod... method Other (line 918) | func (d *Yun139) Other(ctx context.Context, args model.OtherArgs) (int... method GetDetails (line 943) | func (d *Yun139) GetDetails(ctx context.Context) (*model.StorageDetail... FILE: drivers/139/meta.go type Addition (line 8) | type Addition struct function init (line 29) | func init() { FILE: drivers/139/types.go constant MetaPersonal (line 8) | MetaPersonal string = "personal" constant MetaFamily (line 9) | MetaFamily string = "family" constant MetaGroup (line 10) | MetaGroup string = "group" constant MetaPersonalNew (line 11) | MetaPersonalNew string = "personal_new" type BaseResp (line 14) | type BaseResp struct type Catalog (line 20) | type Catalog struct type Content (line 50) | type Content struct type GetDiskResp (line 105) | type GetDiskResp struct type UploadResp (line 122) | type UploadResp struct type InterLayerUploadResult (line 146) | type InterLayerUploadResult struct type CloudContent (line 153) | type CloudContent struct type CloudCatalog (line 183) | type CloudCatalog struct type QueryContentListResp (line 193) | type QueryContentListResp struct type QueryGroupContentListResp (line 208) | type QueryGroupContentListResp struct type ParallelHashCtx (line 229) | type ParallelHashCtx struct type PartInfo (line 233) | type PartInfo struct type PersonalThumbnail (line 239) | type PersonalThumbnail struct type PersonalFileItem (line 244) | type PersonalFileItem struct type PersonalListResp (line 254) | type PersonalListResp struct type PersonalPartInfo (line 262) | type PersonalPartInfo struct type PersonalUploadResp (line 267) | type PersonalUploadResp struct type PersonalUploadUrlResp (line 279) | type PersonalUploadUrlResp struct type QueryRoutePolicyResp (line 288) | type QueryRoutePolicyResp struct type RefreshTokenResp (line 307) | type RefreshTokenResp struct type PersonalDiskInfoResp (line 316) | type PersonalDiskInfoResp struct type FamilyDiskInfoResp (line 325) | type FamilyDiskInfoResp struct type AndAlbumUploadResp (line 333) | type AndAlbumUploadResp struct type ModifyCloudDocV2Req (line 348) | type ModifyCloudDocV2Req struct type ModifyCloudDocV2Resp (line 360) | type ModifyCloudDocV2Resp struct type CreateBatchOprTaskReq (line 367) | type CreateBatchOprTaskReq struct type CreateBatchOprTaskResp (line 384) | type CreateBatchOprTaskResp struct FILE: drivers/139/util.go constant KEY_HEX_1 (line 37) | KEY_HEX_1 = "73634235495062495331515373756c734e7253306c673d3d" constant KEY_HEX_2 (line 38) | KEY_HEX_2 = "7150714477323633586746674c337538" method isFamily (line 42) | func (d *Yun139) isFamily() bool { function encodeURIComponent (line 46) | func encodeURIComponent(str string) string { function calSign (line 57) | func calSign(body, ts, randStr string) string { function getTime (line 68) | func getTime(t string) time.Time { method refreshToken (line 73) | func (d *Yun139) refreshToken() error { method request (line 127) | func (d *Yun139) request(url string, method string, callback base.ReqCal... method requestRoute (line 200) | func (d *Yun139) requestRoute(data interface{}, resp interface{}) ([]byt... method post (line 257) | func (d *Yun139) post(pathname string, data interface{}, resp interface{... method getFiles (line 263) | func (d *Yun139) getFiles(catalogID string) ([]model.Obj, error) { method newJson (line 319) | func (d *Yun139) newJson(data map[string]interface{}) base.Json { method familyGetFiles (line 332) | func (d *Yun139) familyGetFiles(catalogID string) ([]model.Obj, error) { method groupGetFiles (line 389) | func (d *Yun139) groupGetFiles(catalogID string) ([]model.Obj, error) { method getLink (line 447) | func (d *Yun139) getLink(contentId string) (string, error) { method familyGetLink (line 464) | func (d *Yun139) familyGetLink(contentId string, path string) (string, e... method groupGetLink (line 477) | func (d *Yun139) groupGetLink(contentId string, path string) (string, er... function unicode (line 491) | func unicode(str string) string { method personalRequest (line 497) | func (d *Yun139) personalRequest(pathname string, method string, callbac... method personalPost (line 559) | func (d *Yun139) personalPost(pathname string, data interface{}, resp in... method isboPost (line 565) | func (d *Yun139) isboPost(pathname string, data interface{}, resp interf... function getPersonalTime (line 572) | func getPersonalTime(t string) time.Time { method personalGetFiles (line 580) | func (d *Yun139) personalGetFiles(fileId string) ([]model.Obj, error) { method personalGetLink (line 647) | func (d *Yun139) personalGetLink(fileId string) (string, error) { method getAuthorization (line 664) | func (d *Yun139) getAuthorization() string { method getAccount (line 671) | func (d *Yun139) getAccount() string { method getPersonalCloudHost (line 678) | func (d *Yun139) getPersonalCloudHost() string { method uploadPersonalParts (line 685) | func (d *Yun139) uploadPersonalParts(ctx context.Context, partInfos []Pa... method getPersonalDiskInfo (line 729) | func (d *Yun139) getPersonalDiskInfo(ctx context.Context) (*PersonalDisk... method getFamilyDiskInfo (line 744) | func (d *Yun139) getFamilyDiskInfo(ctx context.Context) (*FamilyDiskInfo... function getMd5 (line 759) | func getMd5(dataStr string) string { method step1_password_login (line 764) | func (d *Yun139) step1_password_login() (string, error) { method step2_get_single_token (line 884) | func (d *Yun139) step2_get_single_token(sid string) (string, error) { function sha1Hash (line 939) | func sha1Hash(data string) string { function pkcs7_pad (line 946) | func pkcs7_pad(data []byte, blockSize int) []byte { function pkcs7_unpad (line 953) | func pkcs7_unpad(data []byte) ([]byte, error) { function aes_ecb_decrypt (line 966) | func aes_ecb_decrypt(ciphertext []byte, key []byte) ([]byte, error) { function aesCbcEncrypt (line 987) | func aesCbcEncrypt(plaintext []byte, key []byte, iv []byte) ([]byte, err... function aesCbcDecrypt (line 1002) | func aesCbcDecrypt(ciphertext []byte, key []byte, iv []byte) ([]byte, er... function sortedJsonStringify (line 1020) | func sortedJsonStringify(obj interface{}) (string, error) { method yun139EncryptedRequest (line 1076) | func (d *Yun139) yun139EncryptedRequest(url string, body interface{}, he... method step3_third_party_login (line 1154) | func (d *Yun139) step3_third_party_login(dycpwd string) (string, error) { method loginWithPassword (line 1233) | func (d *Yun139) loginWithPassword() (string, error) { method andAlbumRequest (line 1261) | func (d *Yun139) andAlbumRequest(pathname string, body interface{}, resp... method handleMetaGroupCopy (line 1282) | func (d *Yun139) handleMetaGroupCopy(ctx context.Context, srcObj, dstDir... method getGroupRootByCloudID (line 1313) | func (d *Yun139) getGroupRootByCloudID(cloudID string) (string, error) { method getFamilyRootPath (line 1352) | func (d *Yun139) getFamilyRootPath(cloudID string) (string, error) { FILE: drivers/189/driver.go type Cloud189 (line 16) | type Cloud189 struct method Config (line 24) | func (d *Cloud189) Config() driver.Config { method GetAddition (line 28) | func (d *Cloud189) GetAddition() driver.Additional { method Init (line 32) | func (d *Cloud189) Init(ctx context.Context) error { method Drop (line 38) | func (d *Cloud189) Drop(ctx context.Context) error { method List (line 42) | func (d *Cloud189) List(ctx context.Context, dir model.Obj, args model... method Link (line 46) | func (d *Cloud189) Link(ctx context.Context, file model.Obj, args mode... method MakeDir (line 82) | func (d *Cloud189) MakeDir(ctx context.Context, parentDir model.Obj, d... method Move (line 93) | func (d *Cloud189) Move(ctx context.Context, srcObj, dstDir model.Obj)... method Rename (line 120) | func (d *Cloud189) Rename(ctx context.Context, srcObj model.Obj, newNa... method Copy (line 139) | func (d *Cloud189) Copy(ctx context.Context, srcObj, dstDir model.Obj)... method Remove (line 166) | func (d *Cloud189) Remove(ctx context.Context, obj model.Obj) error { method Put (line 193) | func (d *Cloud189) Put(ctx context.Context, dstDir model.Obj, stream m... method GetDetails (line 197) | func (d *Cloud189) GetDetails(ctx context.Context) (*model.StorageDeta... FILE: drivers/189/help.go function random (line 25) | func random() string { function RsaEncode (line 29) | func RsaEncode(origData []byte, j_rsakey string, hex bool) string { function int2char (line 49) | func int2char(a int) string { function b64tohex (line 53) | func b64tohex(a string) string { function qs (line 87) | func qs(form map[string]string) string { function EncodeParam (line 100) | func EncodeParam(v url.Values) string { function encode (line 127) | func encode(str string) string { function AesEncrypt (line 135) | func AesEncrypt(data, key []byte) []byte { function PKCS7Padding (line 149) | func PKCS7Padding(ciphertext []byte, blockSize int) []byte { function hmacSha1 (line 155) | func hmacSha1(data string, secret string) string { function getMd5 (line 161) | func getMd5(data []byte) []byte { function decodeURIComponent (line 167) | func decodeURIComponent(str string) string { function Random (line 173) | func Random(v string) string { FILE: drivers/189/login.go type AppConf (line 11) | type AppConf struct type EncryptConf (line 35) | type EncryptConf struct method newLogin (line 45) | func (d *Cloud189) newLogin() error { FILE: drivers/189/meta.go type Addition (line 8) | type Addition struct function init (line 22) | func init() { FILE: drivers/189/types.go type LoginResp (line 3) | type LoginResp struct type Error (line 9) | type Error struct type File (line 14) | type File struct type Folder (line 26) | type Folder struct type Files (line 32) | type Files struct type UploadUrlsResp (line 42) | type UploadUrlsResp struct type Part (line 47) | type Part struct type Rsa (line 52) | type Rsa struct type Down (line 58) | type Down struct type DownResp (line 64) | type DownResp struct type CapacityResp (line 70) | type CapacityResp struct FILE: drivers/189/util.go method request (line 143) | func (d *Cloud189) request(url string, method string, callback base.ReqC... method getFiles (line 176) | func (d *Cloud189) getFiles(fileId string) ([]model.Obj, error) { method oldUpload (line 225) | func (d *Cloud189) oldUpload(dstDir model.Obj, file model.FileStreamer) ... method getSessionKey (line 242) | func (d *Cloud189) getSessionKey() (string, error) { method getResKey (line 251) | func (d *Cloud189) getResKey() (string, string, error) { method uploadRequest (line 266) | func (d *Cloud189) uploadRequest(uri string, form map[string]string, res... method newUpload (line 307) | func (d *Cloud189) newUpload(ctx context.Context, dstDir model.Obj, file... method getCapacityInfo (line 399) | func (d *Cloud189) getCapacityInfo(ctx context.Context) (*CapacityResp, ... FILE: drivers/189_tv/driver.go type Cloud189TV (line 18) | type Cloud189TV struct method Config (line 30) | func (y *Cloud189TV) Config() driver.Config { method GetAddition (line 37) | func (y *Cloud189TV) GetAddition() driver.Additional { method Init (line 41) | func (y *Cloud189TV) Init(ctx context.Context) (err error) { method Drop (line 89) | func (y *Cloud189TV) Drop(ctx context.Context) error { method List (line 97) | func (y *Cloud189TV) List(ctx context.Context, dir model.Obj, args mod... method Link (line 101) | func (y *Cloud189TV) Link(ctx context.Context, file model.Obj, args mo... method MakeDir (line 152) | func (y *Cloud189TV) MakeDir(ctx context.Context, parentDir model.Obj,... method Move (line 184) | func (y *Cloud189TV) Move(ctx context.Context, srcObj, dstDir model.Ob... method Rename (line 202) | func (y *Cloud189TV) Rename(ctx context.Context, srcObj model.Obj, new... method Copy (line 238) | func (y *Cloud189TV) Copy(ctx context.Context, srcObj, dstDir model.Ob... method Remove (line 253) | func (y *Cloud189TV) Remove(ctx context.Context, obj model.Obj) error { method Put (line 268) | func (y *Cloud189TV) Put(ctx context.Context, dstDir model.Obj, stream... method GetDetails (line 282) | func (y *Cloud189TV) GetDetails(ctx context.Context) (*model.StorageDe... FILE: drivers/189_tv/help.go function clientSuffix (line 16) | func clientSuffix() map[string]string { function SessionKeySignatureOfHmac (line 31) | func SessionKeySignatureOfHmac(sessionSecret, sessionKey, operate, fullU... function AppKeySignatureOfHmac (line 40) | func AppKeySignatureOfHmac(sessionSecret, appKey, operate, fullUrl strin... function getHttpDateStr (line 49) | func getHttpDateStr() string { function timestamp (line 54) | func timestamp() int64 { type Time (line 58) | type Time method UnmarshalJSON (line 60) | func (t *Time) UnmarshalJSON(b []byte) error { return t.Unmarshal(b) } method UnmarshalXML (line 61) | func (t *Time) UnmarshalXML(e *xml.Decoder, ee xml.StartElement) error { method Unmarshal (line 73) | func (t *Time) Unmarshal(b []byte) error { type String (line 87) | type String method UnmarshalJSON (line 89) | func (t *String) UnmarshalJSON(b []byte) error { return t.Unmarshal(b) } method UnmarshalXML (line 90) | func (t *String) UnmarshalXML(e *xml.Decoder, ee xml.StartElement) err... method Unmarshal (line 102) | func (s *String) Unmarshal(b []byte) error { function toFamilyOrderBy (line 107) | func toFamilyOrderBy(o string) string { function toDesc (line 120) | func toDesc(o string) string { function ParseHttpHeader (line 131) | func ParseHttpHeader(str string) map[string]string { function MustString (line 141) | func MustString(str string, err error) string { function BoolToNumber (line 145) | func BoolToNumber(b bool) int { function isBool (line 152) | func isBool(bs ...bool) bool { function IF (line 161) | func IF[V any](o bool, t V, f V) V { FILE: drivers/189_tv/meta.go type Addition (line 8) | type Addition struct function init (line 25) | func init() { FILE: drivers/189_tv/types.go type RespErr (line 12) | type RespErr struct method HasError (line 27) | func (e *RespErr) HasError() bool { method Error (line 37) | func (e *RespErr) Error() string { type UserSessionResp (line 70) | type UserSessionResp struct type UuidInfoResp (line 88) | type UuidInfoResp struct type E189AccessTokenResp (line 92) | type E189AccessTokenResp struct type AppSessionResp (line 98) | type AppSessionResp struct type FamilyInfoListResp (line 110) | type FamilyInfoListResp struct type FamilyInfoResp (line 113) | type FamilyInfoResp struct type Cloud189File (line 125) | type Cloud189File struct method CreateTime (line 150) | func (c *Cloud189File) CreateTime() time.Time { method GetHash (line 154) | func (c *Cloud189File) GetHash() utils.HashInfo { method GetSize (line 158) | func (c *Cloud189File) GetSize() int64 { return c.Size } method GetName (line 159) | func (c *Cloud189File) GetName() string { return c.Name } method ModTime (line 160) | func (c *Cloud189File) ModTime() time.Time { return time.Time(c.LastOp... method IsDir (line 161) | func (c *Cloud189File) IsDir() bool { return false } method GetID (line 162) | func (c *Cloud189File) GetID() string { return string(c.ID) } method GetPath (line 163) | func (c *Cloud189File) GetPath() string { return "" } method Thumb (line 164) | func (c *Cloud189File) Thumb() string { return c.Icon.SmallUrl } type Cloud189Folder (line 167) | type Cloud189Folder struct method CreateTime (line 182) | func (c *Cloud189Folder) CreateTime() time.Time { method GetHash (line 186) | func (c *Cloud189Folder) GetHash() utils.HashInfo { method GetSize (line 190) | func (c *Cloud189Folder) GetSize() int64 { return 0 } method GetName (line 191) | func (c *Cloud189Folder) GetName() string { return c.Name } method ModTime (line 192) | func (c *Cloud189Folder) ModTime() time.Time { return time.Time(c.Last... method IsDir (line 193) | func (c *Cloud189Folder) IsDir() bool { return true } method GetID (line 194) | func (c *Cloud189Folder) GetID() string { return string(c.ID) } method GetPath (line 195) | func (c *Cloud189Folder) GetPath() string { return "" } type Cloud189FilesResp (line 197) | type Cloud189FilesResp struct type BatchTaskInfo (line 208) | type BatchTaskInfo struct type InitMultiUploadResp (line 225) | type InitMultiUploadResp struct type UploadUrlsResp (line 234) | type UploadUrlsResp struct type UploadUrlsData (line 238) | type UploadUrlsData struct type CreateUploadFileResp (line 244) | type CreateUploadFileResp struct type GetUploadFileStatusResp (line 255) | type GetUploadFileStatusResp struct method GetSize (line 263) | func (r *GetUploadFileStatusResp) GetSize() int64 { type CommitMultiUploadFileResp (line 267) | type CommitMultiUploadFileResp struct type OldCommitUploadFileResp (line 277) | type OldCommitUploadFileResp struct method toFile (line 286) | func (f *OldCommitUploadFileResp) toFile() *Cloud189File { type CreateBatchTaskResp (line 297) | type CreateBatchTaskResp struct type BatchTaskStateResp (line 301) | type BatchTaskStateResp struct type BatchTaskConflictTaskInfoResp (line 312) | type BatchTaskConflictTaskInfoResp struct type CapacityResp (line 320) | type CapacityResp struct FILE: drivers/189_tv/utils.go constant TVAppKey (line 30) | TVAppKey = "600100885" constant TVAppSignatureSecre (line 31) | TVAppSignatureSecre = "fe5734c74c2f96a38157f420b32dc995" constant TvVersion (line 32) | TvVersion = "6.5.5" constant AndroidTV (line 33) | AndroidTV = "FAMILY_TV" constant TvChannelId (line 34) | TvChannelId = "home02" constant ApiUrl (line 36) | ApiUrl = "https://api.cloud.189.cn" method SignatureHeader (line 39) | func (y *Cloud189TV) SignatureHeader(url, method string, isFamily bool) ... method AppKeySignatureHeader (line 57) | func (y *Cloud189TV) AppKeySignatureHeader(url, method string) map[strin... method request (line 68) | func (y *Cloud189TV) request(url, method string, callback base.ReqCallba... method requestWithRetry (line 72) | func (y *Cloud189TV) requestWithRetry(url, method string, callback base.... method get (line 126) | func (y *Cloud189TV) get(url string, callback base.ReqCallback, resp int... method post (line 130) | func (y *Cloud189TV) post(url string, callback base.ReqCallback, resp in... method put (line 134) | func (y *Cloud189TV) put(ctx context.Context, url string, headers map[st... method getFiles (line 180) | func (y *Cloud189TV) getFiles(ctx context.Context, fileId string, isFami... method login (line 232) | func (y *Cloud189TV) login() (err error) { method refreshSession (line 319) | func (y *Cloud189TV) refreshSession() (err error) { method keepAlive (line 341) | func (y *Cloud189TV) keepAlive() { method RapidUpload (line 356) | func (y *Cloud189TV) RapidUpload(ctx context.Context, dstDir model.Obj, ... method OldUpload (line 375) | func (y *Cloud189TV) OldUpload(ctx context.Context, dstDir model.Obj, fi... method OldUploadCreate (line 449) | func (y *Cloud189TV) OldUploadCreate(ctx context.Context, parentID strin... method OldUploadCommit (line 487) | func (y *Cloud189TV) OldUploadCommit(ctx context.Context, fileCommitUrl ... method isFamily (line 512) | func (y *Cloud189TV) isFamily() bool { method isLogin (line 516) | func (y *Cloud189TV) isLogin() bool { method getFamilyInfoList (line 525) | func (y *Cloud189TV) getFamilyInfoList() ([]FamilyInfoResp, error) { method getFamilyID (line 535) | func (y *Cloud189TV) getFamilyID() (string, error) { method CreateBatchTask (line 551) | func (y *Cloud189TV) CreateBatchTask(aType string, familyID string, targ... method CheckBatchTask (line 573) | func (y *Cloud189TV) CheckBatchTask(aType string, taskID string) (*Batch... method GetConflictTaskInfo (line 588) | func (y *Cloud189TV) GetConflictTaskInfo(aType string, taskID string) (*... method ManageBatchTask (line 603) | func (y *Cloud189TV) ManageBatchTask(aType string, taskID string, target... method WaitBatchTask (line 618) | func (y *Cloud189TV) WaitBatchTask(aType string, taskID string, t time.D... method getCapacityInfo (line 634) | func (y *Cloud189TV) getCapacityInfo(ctx context.Context) (*CapacityResp... FILE: drivers/189pc/driver.go type Cloud189PC (line 21) | type Cloud189PC struct method Config (line 42) | func (y *Cloud189PC) Config() driver.Config { method GetAddition (line 49) | func (y *Cloud189PC) GetAddition() driver.Additional { method Init (line 53) | func (y *Cloud189PC) Init(ctx context.Context) (err error) { method InitReference (line 130) | func (d *Cloud189PC) InitReference(storage driver.Driver) error { method Drop (line 139) | func (y *Cloud189PC) Drop(ctx context.Context) error { method List (line 148) | func (y *Cloud189PC) List(ctx context.Context, dir model.Obj, args mod... method Link (line 152) | func (y *Cloud189PC) Link(ctx context.Context, file model.Obj, args mo... method MakeDir (line 213) | func (y *Cloud189PC) MakeDir(ctx context.Context, parentDir model.Obj,... method Move (line 245) | func (y *Cloud189PC) Move(ctx context.Context, srcObj, dstDir model.Ob... method Rename (line 263) | func (y *Cloud189PC) Rename(ctx context.Context, srcObj model.Obj, new... method Copy (line 299) | func (y *Cloud189PC) Copy(ctx context.Context, srcObj, dstDir model.Ob... method Remove (line 314) | func (y *Cloud189PC) Remove(ctx context.Context, obj model.Obj) error { method Put (line 329) | func (y *Cloud189PC) Put(ctx context.Context, dstDir model.Obj, stream... method GetDetails (line 414) | func (y *Cloud189PC) GetDetails(ctx context.Context) (*model.StorageDe... FILE: drivers/189pc/help.go function clientSuffix (line 25) | func clientSuffix() map[string]string { function signatureOfHmac (line 36) | func signatureOfHmac(sessionSecret, sessionKey, operate, fullUrl, dateOf... function RsaEncrypt (line 48) | func RsaEncrypt(publicKey, origData string) string { function AesECBEncrypt (line 56) | func AesECBEncrypt(data, key string) string { function PKCS7Padding (line 67) | func PKCS7Padding(ciphertext []byte, blockSize int) []byte { function getHttpDateStr (line 74) | func getHttpDateStr() string { function timestamp (line 79) | func timestamp() int64 { function formatDate (line 84) | func formatDate(t time.Time) string { function MustParseTime (line 97) | func MustParseTime(str string) *time.Time { type Time (line 102) | type Time method UnmarshalJSON (line 104) | func (t *Time) UnmarshalJSON(b []byte) error { return t.Unmarshal(b) } method UnmarshalXML (line 105) | func (t *Time) UnmarshalXML(e *xml.Decoder, ee xml.StartElement) error { method Unmarshal (line 117) | func (t *Time) Unmarshal(b []byte) error { type String (line 131) | type String method UnmarshalJSON (line 133) | func (t *String) UnmarshalJSON(b []byte) error { return t.Unmarshal(b) } method UnmarshalXML (line 134) | func (t *String) UnmarshalXML(e *xml.Decoder, ee xml.StartElement) err... method Unmarshal (line 146) | func (s *String) Unmarshal(b []byte) error { function toFamilyOrderBy (line 151) | func toFamilyOrderBy(o string) string { function toDesc (line 164) | func toDesc(o string) string { function ParseHttpHeader (line 175) | func ParseHttpHeader(str string) map[string]string { function MustString (line 185) | func MustString(str string, err error) string { function BoolToNumber (line 189) | func BoolToNumber(b bool) int { function partSize (line 200) | func partSize(size int64) int64 { function isBool (line 211) | func isBool(bs ...bool) bool { function IF (line 220) | func IF[V any](o bool, t V, f V) V { type WrapFileStreamer (line 227) | type WrapFileStreamer struct method GetName (line 232) | func (w *WrapFileStreamer) GetName() string { FILE: drivers/189pc/meta.go type Addition (line 8) | type Addition struct function init (line 32) | func init() { FILE: drivers/189pc/types.go type RespErr (line 14) | type RespErr struct method HasError (line 29) | func (e *RespErr) HasError() bool { method Error (line 39) | func (e *RespErr) Error() string { type BaseLoginParam (line 71) | type BaseLoginParam struct type QRLoginParam (line 84) | type QRLoginParam struct type LoginParam (line 93) | type LoginParam struct type EncryptConfResp (line 105) | type EncryptConfResp struct type LoginResp (line 115) | type LoginResp struct type UserSessionResp (line 122) | type UserSessionResp struct type AppSessionResp (line 141) | type AppSessionResp struct type FamilyInfoListResp (line 153) | type FamilyInfoListResp struct type FamilyInfoResp (line 156) | type FamilyInfoResp struct type Cloud189File (line 168) | type Cloud189File struct method CreateTime (line 193) | func (c *Cloud189File) CreateTime() time.Time { method GetHash (line 197) | func (c *Cloud189File) GetHash() utils.HashInfo { method GetSize (line 201) | func (c *Cloud189File) GetSize() int64 { return c.Size } method GetName (line 202) | func (c *Cloud189File) GetName() string { return c.Name } method ModTime (line 203) | func (c *Cloud189File) ModTime() time.Time { return time.Time(c.LastOp... method IsDir (line 204) | func (c *Cloud189File) IsDir() bool { return false } method GetID (line 205) | func (c *Cloud189File) GetID() string { return string(c.ID) } method GetPath (line 206) | func (c *Cloud189File) GetPath() string { return "" } method Thumb (line 207) | func (c *Cloud189File) Thumb() string { return c.Icon.SmallUrl } type Cloud189Folder (line 210) | type Cloud189Folder struct method CreateTime (line 225) | func (c *Cloud189Folder) CreateTime() time.Time { method GetHash (line 229) | func (c *Cloud189Folder) GetHash() utils.HashInfo { method GetSize (line 233) | func (c *Cloud189Folder) GetSize() int64 { return 0 } method GetName (line 234) | func (c *Cloud189Folder) GetName() string { return c.Name } method ModTime (line 235) | func (c *Cloud189Folder) ModTime() time.Time { return time.Time(c.Last... method IsDir (line 236) | func (c *Cloud189Folder) IsDir() bool { return true } method GetID (line 237) | func (c *Cloud189Folder) GetID() string { return string(c.ID) } method GetPath (line 238) | func (c *Cloud189Folder) GetPath() string { return "" } type Cloud189FilesResp (line 240) | type Cloud189FilesResp struct type BatchTaskInfo (line 251) | type BatchTaskInfo struct type InitMultiUploadResp (line 268) | type InitMultiUploadResp struct type UploadUrlsResp (line 277) | type UploadUrlsResp struct type UploadUrlsData (line 281) | type UploadUrlsData struct type UploadUrlInfo (line 286) | type UploadUrlInfo struct type UploadProgress (line 292) | type UploadProgress struct type CreateUploadFileResp (line 298) | type CreateUploadFileResp struct type GetUploadFileStatusResp (line 309) | type GetUploadFileStatusResp struct method GetSize (line 317) | func (r *GetUploadFileStatusResp) GetSize() int64 { type CommitMultiUploadFileResp (line 321) | type CommitMultiUploadFileResp struct method toFile (line 331) | func (f *CommitMultiUploadFileResp) toFile() *Cloud189File { type OldCommitUploadFileResp (line 342) | type OldCommitUploadFileResp struct method toFile (line 351) | func (f *OldCommitUploadFileResp) toFile() *Cloud189File { type CreateBatchTaskResp (line 362) | type CreateBatchTaskResp struct type BatchTaskStateResp (line 366) | type BatchTaskStateResp struct type BatchTaskConflictTaskInfoResp (line 377) | type BatchTaskConflictTaskInfoResp struct type Params (line 386) | type Params method Set (line 388) | func (p Params) Set(k, v string) { method Encode (line 392) | func (p Params) Encode() string { type CapacityResp (line 413) | type CapacityResp struct FILE: drivers/189pc/utils.go constant ACCOUNT_TYPE (line 42) | ACCOUNT_TYPE = "02" constant APP_ID (line 43) | APP_ID = "8025431004" constant CLIENT_TYPE (line 44) | CLIENT_TYPE = "10020" constant VERSION (line 45) | VERSION = "6.2" constant WEB_URL (line 47) | WEB_URL = "https://cloud.189.cn" constant AUTH_URL (line 48) | AUTH_URL = "https://open.e.189.cn" constant API_URL (line 49) | API_URL = "https://api.cloud.189.cn" constant UPLOAD_URL (line 50) | UPLOAD_URL = "https://upload.cloud.189.cn" constant RETURN_URL (line 52) | RETURN_URL = "https://m.cloud.189.cn/zhuanti/2020/loginErrorPc/index.html" constant PC (line 54) | PC = "TELEPC" constant MAC (line 55) | MAC = "TELEMAC" constant CHANNEL_ID (line 57) | CHANNEL_ID = "web_cloud.189.cn" constant UserInvalidOpenTokenError (line 60) | UserInvalidOpenTokenError = "UserInvalidOpenToken" method SignatureHeader (line 63) | func (y *Cloud189PC) SignatureHeader(url, method, params string, isFamil... method EncryptParams (line 81) | func (y *Cloud189PC) EncryptParams(params Params, isFamily bool) string { method request (line 92) | func (y *Cloud189PC) request(url, method string, callback base.ReqCallba... method get (line 143) | func (y *Cloud189PC) get(url string, callback base.ReqCallback, resp int... method post (line 147) | func (y *Cloud189PC) post(url string, callback base.ReqCallback, resp in... method put (line 151) | func (y *Cloud189PC) put(ctx context.Context, url string, headers map[st... method getFiles (line 196) | func (y *Cloud189PC) getFiles(ctx context.Context, fileId string, isFami... method getFilesWithPage (line 218) | func (y *Cloud189PC) getFilesWithPage(ctx context.Context, fileId string... method findFileByName (line 256) | func (y *Cloud189PC) findFileByName(ctx context.Context, searchName stri... method login (line 275) | func (y *Cloud189PC) login() error { method loginByPassword (line 282) | func (y *Cloud189PC) loginByPassword() (err error) { method loginByQRCode (line 365) | func (y *Cloud189PC) loginByQRCode() error { method genQRCode (line 434) | func (y *Cloud189PC) genQRCode(text string) error { method initBaseParams (line 456) | func (y *Cloud189PC) initBaseParams() (*BaseLoginParam, error) { method initLoginParam (line 484) | func (y *Cloud189PC) initLoginParam() error { method initQRCodeParam (line 555) | func (y *Cloud189PC) initQRCodeParam() (err error) { method refreshSession (line 579) | func (y *Cloud189PC) refreshSession() (err error) { method refreshSessionWithRetry (line 583) | func (y *Cloud189PC) refreshSessionWithRetry(retryCount int) (err error) { method refreshToken (line 614) | func (y *Cloud189PC) refreshToken() (err error) { method refreshTokenWithRetry (line 618) | func (y *Cloud189PC) refreshTokenWithRetry(retryCount int) (err error) { method keepAlive (line 670) | func (y *Cloud189PC) keepAlive() { method StreamUpload (line 687) | func (y *Cloud189PC) StreamUpload(ctx context.Context, dstDir model.Obj,... method RapidUpload (line 830) | func (y *Cloud189PC) RapidUpload(ctx context.Context, dstDir model.Obj, ... method FastUpload (line 849) | func (y *Cloud189PC) FastUpload(ctx context.Context, dstDir model.Obj, f... method GetMultiUploadUrls (line 1026) | func (y *Cloud189PC) GetMultiUploadUrls(ctx context.Context, isFamily bo... method OldUpload (line 1070) | func (y *Cloud189PC) OldUpload(ctx context.Context, dstDir model.Obj, fi... method OldUploadCreate (line 1134) | func (y *Cloud189PC) OldUploadCreate(ctx context.Context, parentID strin... method OldUploadCommit (line 1172) | func (y *Cloud189PC) OldUploadCommit(ctx context.Context, fileCommitUrl ... method isFamily (line 1197) | func (y *Cloud189PC) isFamily() bool { method isLogin (line 1201) | func (y *Cloud189PC) isLogin() bool { method createFamilyTransferFolder (line 1210) | func (y *Cloud189PC) createFamilyTransferFolder() error { method cleanFamilyTransfer (line 1226) | func (y *Cloud189PC) cleanFamilyTransfer(ctx context.Context) error { method getFamilyInfoList (line 1279) | func (y *Cloud189PC) getFamilyInfoList() ([]FamilyInfoResp, error) { method getFamilyID (line 1289) | func (y *Cloud189PC) getFamilyID() (string, error) { method SaveFamilyFileToPersonCloud (line 1306) | func (y *Cloud189PC) SaveFamilyFileToPersonCloud(ctx context.Context, fa... method Delete (line 1351) | func (y *Cloud189PC) Delete(ctx context.Context, familyId string, srcObj... method CreateBatchTask (line 1378) | func (y *Cloud189PC) CreateBatchTask(aType string, familyID string, targ... method CheckBatchTask (line 1400) | func (y *Cloud189PC) CheckBatchTask(aType string, taskID string) (*Batch... method GetConflictTaskInfo (line 1415) | func (y *Cloud189PC) GetConflictTaskInfo(aType string, taskID string) (*... method ManageBatchTask (line 1430) | func (y *Cloud189PC) ManageBatchTask(aType string, taskID string, target... method WaitBatchTask (line 1445) | func (y *Cloud189PC) WaitBatchTask(aType string, taskID string, t time.D... method getTokenInfo (line 1461) | func (y *Cloud189PC) getTokenInfo() *AppSessionResp { method getClient (line 1468) | func (y *Cloud189PC) getClient() *resty.Client { method getCapacityInfo (line 1475) | func (y *Cloud189PC) getCapacityInfo(ctx context.Context) (*CapacityResp... FILE: drivers/alias/driver.go type Alias (line 25) | type Alias struct method Config (line 33) | func (d *Alias) Config() driver.Config { method GetAddition (line 37) | func (d *Alias) GetAddition() driver.Additional { method Init (line 41) | func (d *Alias) Init(ctx context.Context) error { method Drop (line 99) | func (d *Alias) Drop(ctx context.Context) error { method GetRoot (line 106) | func (d *Alias) GetRoot(ctx context.Context) (model.Obj, error) { method Get (line 114) | func (d *Alias) Get(ctx context.Context, path string) (model.Obj, erro... method List (line 172) | func (d *Alias) List(ctx context.Context, dir model.Obj, args model.Li... method Link (line 244) | func (d *Alias) Link(ctx context.Context, file model.Obj, args model.L... method Other (line 336) | func (d *Alias) Other(ctx context.Context, args model.OtherArgs) (inte... method MakeDir (line 350) | func (d *Alias) MakeDir(ctx context.Context, parentDir model.Obj, dirN... method Move (line 360) | func (d *Alias) Move(ctx context.Context, srcObj, dstDir model.Obj) er... method Rename (line 377) | func (d *Alias) Rename(ctx context.Context, srcObj model.Obj, newName ... method Copy (line 387) | func (d *Alias) Copy(ctx context.Context, srcObj, dstDir model.Obj) er... method Remove (line 399) | func (d *Alias) Remove(ctx context.Context, obj model.Obj) error { method Put (line 409) | func (d *Alias) Put(ctx context.Context, dstDir model.Obj, s model.Fil... method PutURL (line 447) | func (d *Alias) PutURL(ctx context.Context, dstDir model.Obj, name, ur... method GetArchiveMeta (line 458) | func (d *Alias) GetArchiveMeta(ctx context.Context, obj model.Obj, arg... method ListArchive (line 470) | func (d *Alias) ListArchive(ctx context.Context, obj model.Obj, args m... method Extract (line 482) | func (d *Alias) Extract(ctx context.Context, obj model.Obj, args model... method ArchiveDecompress (line 509) | func (d *Alias) ArchiveDecompress(ctx context.Context, srcObj, dstDir ... method GetDetails (line 521) | func (d *Alias) GetDetails(ctx context.Context) (*model.StorageDetails... method ResolveLinkCacheMode (line 547) | func (d *Alias) ResolveLinkCacheMode(path string) driver.LinkCacheMode { FILE: drivers/alias/meta.go type Addition (line 8) | type Addition struct function init (line 30) | func init() { FILE: drivers/alias/types.go constant DisabledWP (line 12) | DisabledWP = "disabled" constant FirstRWP (line 13) | FirstRWP = "first" constant DeterministicWP (line 14) | DeterministicWP = "deterministic" constant DeterministicOrAllWP (line 15) | DeterministicOrAllWP = "deterministic_or_all" constant AllRWP (line 16) | AllRWP = "all" constant AllStrictWP (line 17) | AllStrictWP = "all_strict" constant RandomBalancedRP (line 18) | RandomBalancedRP = "random" constant BalancedByQuotaP (line 19) | BalancedByQuotaP = "quota" constant BalancedByQuotaStrictP (line 20) | BalancedByQuotaStrictP = "quota_strict" type BalancedObjs (line 38) | type BalancedObjs method GetSize (line 40) | func (b BalancedObjs) GetSize() int64 { method ModTime (line 44) | func (b BalancedObjs) ModTime() time.Time { method CreateTime (line 48) | func (b BalancedObjs) CreateTime() time.Time { method IsDir (line 52) | func (b BalancedObjs) IsDir() bool { method GetHash (line 56) | func (b BalancedObjs) GetHash() utils.HashInfo { method GetName (line 60) | func (b BalancedObjs) GetName() string { method GetPath (line 64) | func (b BalancedObjs) GetPath() string { method GetID (line 68) | func (b BalancedObjs) GetID() string { method Unwrap (line 72) | func (b BalancedObjs) Unwrap() model.Obj { type tempObj (line 78) | type tempObj struct FILE: drivers/alias/util.go type detailWithIndex (line 20) | type detailWithIndex struct method listRoot (line 25) | func (d *Alias) listRoot(ctx context.Context, withDetails, refresh bool)... function getPair (line 80) | func getPair(path string) (string, string) { method getRootsAndPath (line 87) | func (d *Alias) getRootsAndPath(path string) (roots []string, sub string) { method link (line 99) | func (d *Alias) link(ctx context.Context, reqPath string, args model.Lin... function isConsistent (line 110) | func isConsistent(a, b model.Obj) bool { method getAllObjs (line 123) | func (d *Alias) getAllObjs(ctx context.Context, bObj model.Obj, ifContin... method getBalancedPath (line 175) | func (d *Alias) getBalancedPath(ctx context.Context, file model.Obj) str... function getWriteAndPutFilterFunc (line 187) | func getWriteAndPutFilterFunc(policy string) func(error) (bool, error) { method getWriteObjs (line 225) | func (d *Alias) getWriteObjs(ctx context.Context, obj model.Obj) (Balanc... method getPutObjs (line 232) | func (d *Alias) getPutObjs(ctx context.Context, obj model.Obj) (Balanced... function getRandomObjByQuotaBalanced (line 259) | func getRandomObjByQuotaBalanced(ctx context.Context, reqPath BalancedOb... function selectRandom (line 320) | func selectRandom[Item any](arr []Item, getWeight func(Item) uint64) (in... method getCopyObjs (line 339) | func (d *Alias) getCopyObjs(ctx context.Context, srcObj, dstDir model.Ob... method getMoveObjs (line 390) | func (d *Alias) getMoveObjs(ctx context.Context, srcObj, dstDir model.Ob... method getArchiveMeta (line 447) | func (d *Alias) getArchiveMeta(ctx context.Context, reqPath string, args... method listArchive (line 461) | func (d *Alias) listArchive(ctx context.Context, reqPath string, args mo... method extract (line 475) | func (d *Alias) extract(ctx context.Context, reqPath string, args model.... function getAllSort (line 494) | func getAllSort(dirs []model.Obj) model.Sort { FILE: drivers/alist_v3/driver.go type AListV3 (line 23) | type AListV3 struct method Config (line 28) | func (d *AListV3) Config() driver.Config { method GetAddition (line 32) | func (d *AListV3) GetAddition() driver.Additional { method Init (line 36) | func (d *AListV3) Init(ctx context.Context) error { method Drop (line 73) | func (d *AListV3) Drop(ctx context.Context) error { method List (line 77) | func (d *AListV3) List(ctx context.Context, dir model.Obj, args model.... method Link (line 111) | func (d *AListV3) Link(ctx context.Context, file model.Obj, args model... method MakeDir (line 145) | func (d *AListV3) MakeDir(ctx context.Context, parentDir model.Obj, di... method Move (line 154) | func (d *AListV3) Move(ctx context.Context, srcObj, dstDir model.Obj) ... method Rename (line 165) | func (d *AListV3) Rename(ctx context.Context, srcObj model.Obj, newNam... method Copy (line 175) | func (d *AListV3) Copy(ctx context.Context, srcObj, dstDir model.Obj) ... method Remove (line 186) | func (d *AListV3) Remove(ctx context.Context, obj model.Obj) error { method Put (line 196) | func (d *AListV3) Put(ctx context.Context, dstDir model.Obj, s model.F... method GetArchiveMeta (line 247) | func (d *AListV3) GetArchiveMeta(ctx context.Context, obj model.Obj, a... method ListArchive (line 280) | func (d *AListV3) ListArchive(ctx context.Context, obj model.Obj, args... method Extract (line 324) | func (d *AListV3) Extract(ctx context.Context, obj model.Obj, args mod... method ArchiveDecompress (line 349) | func (d *AListV3) ArchiveDecompress(ctx context.Context, srcObj, dstDi... method ResolveLinkCacheMode (line 368) | func (d *AListV3) ResolveLinkCacheMode(_ string) driver.LinkCacheMode { FILE: drivers/alist_v3/meta.go type Addition (line 8) | type Addition struct function init (line 28) | func init() { FILE: drivers/alist_v3/types.go type ListReq (line 11) | type ListReq struct type ObjResp (line 18) | type ObjResp struct type FsListResp (line 30) | type FsListResp struct type FsGetReq (line 38) | type FsGetReq struct type FsGetResp (line 43) | type FsGetResp struct type MkdirOrLinkReq (line 51) | type MkdirOrLinkReq struct type MoveCopyReq (line 55) | type MoveCopyReq struct type RenameReq (line 61) | type RenameReq struct type RemoveReq (line 66) | type RemoveReq struct type LoginResp (line 71) | type LoginResp struct type MeResp (line 75) | type MeResp struct type IntSlice (line 87) | type IntSlice method UnmarshalJSON (line 89) | func (s *IntSlice) UnmarshalJSON(b []byte) error { type ArchiveMetaReq (line 98) | type ArchiveMetaReq struct type TreeResp (line 105) | type TreeResp struct method GetSize (line 111) | func (t *TreeResp) GetSize() int64 { method GetName (line 115) | func (t *TreeResp) GetName() string { method ModTime (line 119) | func (t *TreeResp) ModTime() time.Time { method CreateTime (line 123) | func (t *TreeResp) CreateTime() time.Time { method IsDir (line 127) | func (t *TreeResp) IsDir() bool { method GetHash (line 131) | func (t *TreeResp) GetHash() utils.HashInfo { method GetID (line 135) | func (t *TreeResp) GetID() string { method GetPath (line 139) | func (t *TreeResp) GetPath() string { method GetChildren (line 143) | func (t *TreeResp) GetChildren() []model.ObjTree { method Thumb (line 151) | func (t *TreeResp) Thumb() string { type ArchiveMetaResp (line 155) | type ArchiveMetaResp struct type ArchiveListReq (line 163) | type ArchiveListReq struct type ArchiveListResp (line 169) | type ArchiveListResp struct type DecompressReq (line 174) | type DecompressReq struct FILE: drivers/alist_v3/util.go method login (line 15) | func (d *AListV3) login() error { method request (line 34) | func (d *AListV3) request(api, method string, callback base.ReqCallback,... FILE: drivers/aliyundrive/driver.go type AliDrive (line 29) | type AliDrive struct method Config (line 38) | func (d *AliDrive) Config() driver.Config { method GetAddition (line 42) | func (d *AliDrive) GetAddition() driver.Additional { method Init (line 46) | func (d *AliDrive) Init(ctx context.Context) error { method Drop (line 85) | func (d *AliDrive) Drop(ctx context.Context) error { method List (line 92) | func (d *AliDrive) List(ctx context.Context, dir model.Obj, args model... method Link (line 102) | func (d *AliDrive) Link(ctx context.Context, file model.Obj, args mode... method MakeDir (line 122) | func (d *AliDrive) MakeDir(ctx context.Context, parentDir model.Obj, d... method Move (line 135) | func (d *AliDrive) Move(ctx context.Context, srcObj, dstDir model.Obj)... method Rename (line 140) | func (d *AliDrive) Rename(ctx context.Context, srcObj model.Obj, newNa... method Copy (line 152) | func (d *AliDrive) Copy(ctx context.Context, srcObj, dstDir model.Obj)... method Remove (line 157) | func (d *AliDrive) Remove(ctx context.Context, obj model.Obj) error { method Put (line 167) | func (d *AliDrive) Put(ctx context.Context, dstDir model.Obj, streamer... method GetDetails (line 330) | func (d *AliDrive) GetDetails(ctx context.Context) (*model.StorageDeta... method Other (line 347) | func (d *AliDrive) Other(ctx context.Context, args model.OtherArgs) (i... FILE: drivers/aliyundrive/global.go type State (line 9) | type State struct FILE: drivers/aliyundrive/help.go function NewPrivateKey (line 12) | func NewPrivateKey() (*ecdsa.PrivateKey, error) { function NewPrivateKeyFromHex (line 17) | func NewPrivateKeyFromHex(hex_ string) (*ecdsa.PrivateKey, error) { function NewPrivateKeyFromBytes (line 26) | func NewPrivateKeyFromBytes(priv []byte) *ecdsa.PrivateKey { function PrivateKeyToHex (line 39) | func PrivateKeyToHex(private *ecdsa.PrivateKey) string { function PrivateKeyToBytes (line 43) | func PrivateKeyToBytes(private *ecdsa.PrivateKey) []byte { function PublicKeyToHex (line 47) | func PublicKeyToHex(public *ecdsa.PublicKey) string { function PublicKeyToBytes (line 51) | func PublicKeyToBytes(public *ecdsa.PublicKey) []byte { FILE: drivers/aliyundrive/meta.go type Addition (line 8) | type Addition struct function init (line 26) | func init() { FILE: drivers/aliyundrive/types.go type RespErr (line 9) | type RespErr struct type Files (line 14) | type Files struct type File (line 19) | type File struct function fileToObj (line 34) | func fileToObj(f File) *model.ObjThumb { type UploadResp (line 47) | type UploadResp struct FILE: drivers/aliyundrive/util.go method createSession (line 18) | func (d *AliDrive) createSession() error { method sign (line 49) | func (d *AliDrive) sign() { method refreshToken (line 60) | func (d *AliDrive) refreshToken() error { method request (line 84) | func (d *AliDrive) request(url, method string, callback base.ReqCallback... method getFiles (line 140) | func (d *AliDrive) getFiles(fileId string) ([]File, error) { method batch (line 174) | func (d *AliDrive) batch(srcId, dstId string, url string) error { FILE: drivers/aliyundrive_open/driver.go type AliyundriveOpen (line 19) | type AliyundriveOpen struct method Config (line 29) | func (d *AliyundriveOpen) Config() driver.Config { method GetAddition (line 33) | func (d *AliyundriveOpen) GetAddition() driver.Additional { method Init (line 37) | func (d *AliyundriveOpen) Init(ctx context.Context) error { method InitReference (line 58) | func (d *AliyundriveOpen) InitReference(storage driver.Driver) error { method Drop (line 67) | func (d *AliyundriveOpen) Drop(ctx context.Context) error { method GetRoot (line 75) | func (d *AliyundriveOpen) GetRoot(ctx context.Context) (model.Obj, err... method List (line 85) | func (d *AliyundriveOpen) List(ctx context.Context, dir model.Obj, arg... method Link (line 103) | func (d *AliyundriveOpen) Link(ctx context.Context, file model.Obj, ar... method MakeDir (line 128) | func (d *AliyundriveOpen) MakeDir(ctx context.Context, parentDir model... method Move (line 155) | func (d *AliyundriveOpen) Move(ctx context.Context, srcObj, dstDir mod... method Rename (line 185) | func (d *AliyundriveOpen) Rename(ctx context.Context, srcObj model.Obj... method Copy (line 217) | func (d *AliyundriveOpen) Copy(ctx context.Context, srcObj, dstDir mod... method Remove (line 240) | func (d *AliyundriveOpen) Remove(ctx context.Context, obj model.Obj) e... method Put (line 254) | func (d *AliyundriveOpen) Put(ctx context.Context, dstDir model.Obj, s... method Other (line 269) | func (d *AliyundriveOpen) Other(ctx context.Context, args model.OtherA... method GetDetails (line 293) | func (d *AliyundriveOpen) GetDetails(ctx context.Context) (*model.Stor... FILE: drivers/aliyundrive_open/limiter.go type limiterType (line 15) | type limiterType constant limiterList (line 18) | limiterList limiterType = iota constant limiterLink (line 19) | limiterLink constant limiterOther (line 20) | limiterOther constant listRateLimit (line 24) | listRateLimit = 3.9 constant linkRateLimit (line 25) | linkRateLimit = 0.9 constant otherRateLimit (line 26) | otherRateLimit = 14.9 constant globalLimiterUserID (line 27) | globalLimiterUserID = "" type limiter (line 30) | type limiter struct method wait (line 65) | func (l *limiter) wait(ctx context.Context, typ limiterType) error { method free (line 80) | func (l *limiter) free() { function getLimiterForUser (line 40) | func getLimiterForUser(userid string) *limiter { method wait (line 88) | func (d *AliyundriveOpen) wait(ctx context.Context, typ limiterType) err... FILE: drivers/aliyundrive_open/meta.go type Addition (line 8) | type Addition struct function init (line 33) | func init() { FILE: drivers/aliyundrive_open/types.go type ErrResp (line 11) | type ErrResp struct type Files (line 16) | type Files struct type File (line 21) | type File struct function fileToObj (line 40) | func fileToObj(f File) *model.ObjThumb { type PartInfo (line 58) | type PartInfo struct type CreateResp (line 66) | type CreateResp struct type MoveOrCopyResp (line 81) | type MoveOrCopyResp struct FILE: drivers/aliyundrive_open/upload.go function makePartInfos (line 25) | func makePartInfos(size int) []base.Json { function calPartSize (line 33) | func calPartSize(fileSize int64) int64 { method getUploadUrl (line 53) | func (d *AliyundriveOpen) getUploadUrl(ctx context.Context, count int, f... method uploadPart (line 67) | func (d *AliyundriveOpen) uploadPart(ctx context.Context, r io.Reader, p... method completeUpload (line 87) | func (d *AliyundriveOpen) completeUpload(ctx context.Context, fileId, up... type ProofRange (line 103) | type ProofRange struct function getProofRange (line 108) | func getProofRange(input string, size int64) (*ProofRange, error) { method calProofCode (line 128) | func (d *AliyundriveOpen) calProofCode(stream model.FileStreamer) (strin... method upload (line 146) | func (d *AliyundriveOpen) upload(ctx context.Context, dstDir model.Obj, ... FILE: drivers/aliyundrive_open/util.go method _refreshToken (line 22) | func (d *AliyundriveOpen) _refreshToken(ctx context.Context) (string, st... function getSub (line 106) | func getSub(token string) (string, error) { method refreshToken (line 118) | func (d *AliyundriveOpen) refreshToken(ctx context.Context) error { method request (line 140) | func (d *AliyundriveOpen) request(ctx context.Context, limitTy limiterTy... method requestReturnErrResp (line 145) | func (d *AliyundriveOpen) requestReturnErrResp(ctx context.Context, limi... method list (line 182) | func (d *AliyundriveOpen) list(ctx context.Context, data base.Json) (*Fi... method getFiles (line 193) | func (d *AliyundriveOpen) getFiles(ctx context.Context, fileId string) (... function getNowTime (line 223) | func getNowTime() (time.Time, string) { method getAccessToken (line 229) | func (d *AliyundriveOpen) getAccessToken() string { method removeDuplicateFiles (line 238) | func (d *AliyundriveOpen) removeDuplicateFiles(ctx context.Context, pare... FILE: drivers/aliyundrive_share/driver.go type AliyundriveShare (line 18) | type AliyundriveShare struct method Config (line 29) | func (d *AliyundriveShare) Config() driver.Config { method GetAddition (line 33) | func (d *AliyundriveShare) GetAddition() driver.Additional { method Init (line 37) | func (d *AliyundriveShare) Init(ctx context.Context) error { method Drop (line 61) | func (d *AliyundriveShare) Drop(ctx context.Context) error { method List (line 71) | func (d *AliyundriveShare) List(ctx context.Context, dir model.Obj, ar... method Link (line 81) | func (d *AliyundriveShare) Link(ctx context.Context, file model.Obj, a... method Other (line 104) | func (d *AliyundriveShare) Other(ctx context.Context, args model.Other... FILE: drivers/aliyundrive_share/limiter.go type limiterType (line 13) | type limiterType constant limiterList (line 16) | limiterList limiterType = iota constant limiterLink (line 17) | limiterLink constant limiterOther (line 18) | limiterOther constant listRateLimit (line 22) | listRateLimit = 3.9 constant linkRateLimit (line 23) | linkRateLimit = 0.9 constant otherRateLimit (line 24) | otherRateLimit = 14.9 type limiter (line 27) | type limiter struct method wait (line 41) | func (l *limiter) wait(ctx context.Context, typ limiterType) error { method free (line 56) | func (l *limiter) free() { function getLimiter (line 33) | func getLimiter() *limiter { method wait (line 59) | func (d *AliyundriveShare) wait(ctx context.Context, typ limiterType) er... FILE: drivers/aliyundrive_share/meta.go type Addition (line 8) | type Addition struct function init (line 25) | func init() { FILE: drivers/aliyundrive_share/types.go type ErrorResp (line 9) | type ErrorResp struct type ShareTokenResp (line 14) | type ShareTokenResp struct type ListResp (line 20) | type ListResp struct type File (line 26) | type File struct function fileToObj (line 40) | func fileToObj(f File) *model.ObjThumb { type ShareLinkResp (line 54) | type ShareLinkResp struct FILE: drivers/aliyundrive_share/util.go constant CanaryHeaderKey (line 15) | CanaryHeaderKey = "X-Canary" constant CanaryHeaderValue (line 16) | CanaryHeaderValue = "client=web,app=share,version=v2.3.1" method refreshToken (line 19) | func (d *AliyundriveShare) refreshToken(ctx context.Context) error { method getShareToken (line 44) | func (d *AliyundriveShare) getShareToken(ctx context.Context) error { method request (line 70) | func (d *AliyundriveShare) request(ctx context.Context, limitTy limiterT... method getFiles (line 109) | func (d *AliyundriveShare) getFiles(ctx context.Context, fileId string) ... FILE: drivers/all.go function All (line 88) | func All() { FILE: drivers/autoindex/driver.go type AutoIndex (line 18) | type AutoIndex struct method Config (line 28) | func (d *AutoIndex) Config() driver.Config { method GetAddition (line 32) | func (d *AutoIndex) GetAddition() driver.Additional { method Init (line 36) | func (d *AutoIndex) Init(ctx context.Context) error { method Drop (line 81) | func (d *AutoIndex) Drop(ctx context.Context) error { method GetRoot (line 85) | func (d *AutoIndex) GetRoot(ctx context.Context) (model.Obj, error) { method List (line 95) | func (d *AutoIndex) List(ctx context.Context, dir model.Obj, args mode... method Link (line 151) | func (d *AutoIndex) Link(ctx context.Context, file model.Obj, args mod... FILE: drivers/autoindex/meta.go type Addition (line 8) | type Addition struct function init (line 25) | func init() { FILE: drivers/autoindex/types.go type exactSizeObj (line 13) | type exactSizeObj struct FILE: drivers/autoindex/util.go function splitUnit (line 35) | func splitUnit(s string) (string, string) { function parseSize (line 44) | func parseSize(a any) (int64, bool, error) { function parseString (line 84) | func parseString(res any) (string, error) { function parseTime (line 105) | func parseTime(res any, format string) (time.Time, error) { FILE: drivers/autoindex/util_test.go type wantType (line 7) | type wantType struct function TestParseSize (line 13) | func TestParseSize(t *testing.T) { FILE: drivers/azure_blob/driver.go type AzureBlob (line 23) | type AzureBlob struct method Config (line 31) | func (d *AzureBlob) Config() driver.Config { method GetAddition (line 36) | func (d *AzureBlob) GetAddition() driver.Additional { method Init (line 41) | func (d *AzureBlob) Init(ctx context.Context) error { method Drop (line 80) | func (d *AzureBlob) Drop(ctx context.Context) error { method List (line 86) | func (d *AzureBlob) List(ctx context.Context, dir model.Obj, args mode... method Link (line 134) | func (d *AzureBlob) Link(ctx context.Context, file model.Obj, args mod... method MakeDir (line 146) | func (d *AzureBlob) MakeDir(ctx context.Context, parentDir model.Obj, ... method Move (line 160) | func (d *AzureBlob) Move(ctx context.Context, srcObj, dstDir model.Obj... method Rename (line 178) | func (d *AzureBlob) Rename(ctx context.Context, srcObj model.Obj, newN... method Copy (line 196) | func (d *AzureBlob) Copy(ctx context.Context, srcObj, dstDir model.Obj... method Remove (line 266) | func (d *AzureBlob) Remove(ctx context.Context, obj model.Obj) error { method Put (line 279) | func (d *AzureBlob) Put(ctx context.Context, dstDir model.Obj, stream ... FILE: drivers/azure_blob/meta.go type Addition (line 8) | type Addition struct function init (line 22) | func init() { FILE: drivers/azure_blob/types.go type progressTracker (line 6) | type progressTracker struct method Write (line 13) | func (pt *progressTracker) Write(p []byte) (n int, err error) { FILE: drivers/azure_blob/util.go constant MaxRetries (line 26) | MaxRetries = 3 constant RetryDelay (line 28) | RetryDelay = 3 * time.Second constant MaxBatchSize (line 30) | MaxBatchSize = 128 function extractAccountName (line 34) | func extractAccountName(endpoint string) string { function isNotFoundError (line 49) | func isNotFoundError(err error) bool { method flattenListBlobs (line 59) | func (d *AzureBlob) flattenListBlobs(ctx context.Context, prefix string)... method batchDeleteBlobs (line 86) | func (d *AzureBlob) batchDeleteBlobs(ctx context.Context, blobPaths []st... method deleteFolder (line 132) | func (d *AzureBlob) deleteFolder(ctx context.Context, prefix string) err... method deleteFile (line 194) | func (d *AzureBlob) deleteFile(ctx context.Context, path string, isDir b... method copyFile (line 204) | func (d *AzureBlob) copyFile(ctx context.Context, srcPath, dstPath strin... method createContainerIfNotExists (line 222) | func (d *AzureBlob) createContainerIfNotExists(ctx context.Context, cont... method mkDir (line 240) | func (d *AzureBlob) mkDir(ctx context.Context, fullDirName string) error { function ensureTrailingSlash (line 260) | func ensureTrailingSlash(path string) string { method moveOrRename (line 268) | func (d *AzureBlob) moveOrRename(ctx context.Context, srcPath, dstPath s... function optimizedUploadOptions (line 331) | func optimizedUploadOptions(fileSize int64) *azblob.UploadStreamOptions { function isDirectory (line 354) | func isDirectory(blob container.BlobItem) bool { method deleteEmptyDirectory (line 383) | func (d *AzureBlob) deleteEmptyDirectory(ctx context.Context, dirPath st... FILE: drivers/baidu_netdisk/driver.go type BaiduNetdisk (line 31) | type BaiduNetdisk struct method Config (line 41) | func (d *BaiduNetdisk) Config() driver.Config { method GetAddition (line 45) | func (d *BaiduNetdisk) GetAddition() driver.Additional { method Init (line 49) | func (d *BaiduNetdisk) Init(ctx context.Context) error { method Drop (line 72) | func (d *BaiduNetdisk) Drop(ctx context.Context) error { method List (line 76) | func (d *BaiduNetdisk) List(ctx context.Context, dir model.Obj, args m... method Link (line 86) | func (d *BaiduNetdisk) Link(ctx context.Context, file model.Obj, args ... method MakeDir (line 96) | func (d *BaiduNetdisk) MakeDir(ctx context.Context, parentDir model.Ob... method Move (line 105) | func (d *BaiduNetdisk) Move(ctx context.Context, srcObj, dstDir model.... method Rename (line 125) | func (d *BaiduNetdisk) Rename(ctx context.Context, srcObj model.Obj, n... method Copy (line 146) | func (d *BaiduNetdisk) Copy(ctx context.Context, srcObj, dstDir model.... method Remove (line 158) | func (d *BaiduNetdisk) Remove(ctx context.Context, obj model.Obj) error { method PutRapid (line 164) | func (d *BaiduNetdisk) PutRapid(ctx context.Context, dstDir model.Obj,... method Put (line 191) | func (d *BaiduNetdisk) Put(ctx context.Context, dstDir model.Obj, stre... method precreate (line 396) | func (d *BaiduNetdisk) precreate(ctx context.Context, path string, str... method uploadSlice (line 430) | func (d *BaiduNetdisk) uploadSlice(ctx context.Context, uploadUrl stri... method GetDetails (line 492) | func (d *BaiduNetdisk) GetDetails(ctx context.Context) (*model.Storage... FILE: drivers/baidu_netdisk/meta.go type Addition (line 10) | type Addition struct constant UPLOAD_FALLBACK_API (line 32) | UPLOAD_FALLBACK_API = "https://d.pcs.baidu.com" constant UPLOAD_URL_EXPIRE_TIME (line 33) | UPLOAD_URL_EXPIRE_TIME = time.Minute * 60 constant DEFAULT_UPLOAD_SLICE_TIMEOUT (line 34) | DEFAULT_UPLOAD_SLICE_TIMEOUT = time.Second * 60 constant UPLOAD_RETRY_COUNT (line 35) | UPLOAD_RETRY_COUNT = 3 constant UPLOAD_RETRY_WAIT_TIME (line 36) | UPLOAD_RETRY_WAIT_TIME = time.Second * 1 constant UPLOAD_RETRY_MAX_WAIT_TIME (line 37) | UPLOAD_RETRY_MAX_WAIT_TIME = time.Second * 5 function init (line 46) | func init() { FILE: drivers/baidu_netdisk/types.go type TokenErrResp (line 16) | type TokenErrResp struct type File (line 21) | type File struct function fileToObj (line 59) | func fileToObj(f File) *model.ObjThumb { type ListResp (line 84) | type ListResp struct type DownloadResp (line 92) | type DownloadResp struct type DownloadResp2 (line 122) | type DownloadResp2 struct type PrecreateResp (line 181) | type PrecreateResp struct type UploadServerResp (line 197) | type UploadServerResp struct type QuotaResp (line 221) | type QuotaResp struct FILE: drivers/baidu_netdisk/util.go method refreshToken (line 26) | func (d *BaiduNetdisk) refreshToken() error { method _refreshToken (line 34) | func (d *BaiduNetdisk) _refreshToken() error { method request (line 97) | func (d *BaiduNetdisk) request(furl string, method string, callback base... method get (line 140) | func (d *BaiduNetdisk) get(pathname string, params map[string]string, re... method postForm (line 146) | func (d *BaiduNetdisk) postForm(pathname string, params map[string]strin... method getFiles (line 153) | func (d *BaiduNetdisk) getFiles(dir string) ([]File, error) { method linkOfficial (line 198) | func (d *BaiduNetdisk) linkOfficial(file model.Obj, _ model.LinkArgs) (*... method linkCrack (line 226) | func (d *BaiduNetdisk) linkCrack(file model.Obj, _ model.LinkArgs) (*mod... method linkCrackVideo (line 249) | func (d *BaiduNetdisk) linkCrackVideo(file model.Obj, _ model.LinkArgs) ... method manage (line 277) | func (d *BaiduNetdisk) manage(opera string, filelist any) ([]byte, error) { method create (line 290) | func (d *BaiduNetdisk) create(path string, size int64, isdir int, upload... function joinTime (line 313) | func joinTime(form map[string]string, ctime, mtime int64) { constant DefaultSliceSize (line 319) | DefaultSliceSize int64 = 4 * utils.MB constant VipSliceSize (line 320) | VipSliceSize int64 = 16 * utils.MB constant SVipSliceSize (line 321) | SVipSliceSize int64 = 32 * utils.MB constant MaxSliceNum (line 323) | MaxSliceNum = 2048 constant SliceStep (line 324) | SliceStep int64 = 1 * utils.MB method getSliceSize (line 327) | func (d *BaiduNetdisk) getSliceSize(filesize int64) int64 { method quota (line 388) | func (d *BaiduNetdisk) quota(ctx context.Context) (model.DiskUsage, erro... method getUploadUrl (line 401) | func (d *BaiduNetdisk) getUploadUrl(path, uploadId string) string { method requestForUploadUrl (line 416) | func (d *BaiduNetdisk) requestForUploadUrl(path, uploadId string) (strin... function DecryptMd5 (line 451) | func DecryptMd5(encryptMd5 string) string { function EncryptMd5 (line 471) | func EncryptMd5(originalMd5 string) string { FILE: drivers/baidu_photo/driver.go type BaiduPhoto (line 27) | type BaiduPhoto struct method Config (line 39) | func (d *BaiduPhoto) Config() driver.Config { method GetAddition (line 43) | func (d *BaiduPhoto) GetAddition() driver.Additional { method Init (line 47) | func (d *BaiduPhoto) Init(ctx context.Context) error { method GetRoot (line 86) | func (d *BaiduPhoto) GetRoot(ctx context.Context) (model.Obj, error) { method Drop (line 90) | func (d *BaiduPhoto) Drop(ctx context.Context) error { method List (line 97) | func (d *BaiduPhoto) List(ctx context.Context, dir model.Obj, args mod... method Link (line 141) | func (d *BaiduPhoto) Link(ctx context.Context, file model.Obj, args mo... method MakeDir (line 164) | func (d *BaiduPhoto) MakeDir(ctx context.Context, parentDir model.Obj,... method Copy (line 175) | func (d *BaiduPhoto) Copy(ctx context.Context, srcObj, dstDir model.Ob... method Move (line 199) | func (d *BaiduPhoto) Move(ctx context.Context, srcObj, dstDir model.Ob... method Rename (line 215) | func (d *BaiduPhoto) Rename(ctx context.Context, srcObj model.Obj, new... method Remove (line 223) | func (d *BaiduPhoto) Remove(ctx context.Context, obj model.Obj) error { method Put (line 235) | func (d *BaiduPhoto) Put(ctx context.Context, dstDir model.Obj, stream... FILE: drivers/baidu_photo/help.go function getTid (line 14) | func getTid() string { function toTime (line 18) | func toTime(t int64) *time.Time { function fsidsFormatNotUk (line 23) | func fsidsFormatNotUk(ids ...int64) string { function getFileName (line 30) | func getFileName(path string) string { function MustString (line 34) | func MustString(str string, err error) string { function copyFile (line 42) | func copyFile(file *AlbumFile, cf *CopyFile) *File { function moveFileToAlbumFile (line 53) | func moveFileToAlbumFile(file *File, album *Album, uk int64) *AlbumFile { function renameAlbum (line 62) | func renameAlbum(album *Album, newName string) *Album { function BoolToIntStr (line 73) | func BoolToIntStr(b bool) string { FILE: drivers/baidu_photo/meta.go type Addition (line 8) | type Addition struct function init (line 26) | func init() { FILE: drivers/baidu_photo/types.go type TokenErrResp (line 12) | type TokenErrResp struct method Error (line 17) | func (e *TokenErrResp) Error() string { type Erron (line 21) | type Erron struct type UInfo (line 27) | type UInfo struct type Page (line 32) | type Page struct method HasNextPage (line 37) | func (p Page) HasNextPage() bool { type FileListResp (line 44) | type FileListResp struct type File (line 49) | type File struct method GetSize (line 60) | func (c *File) GetSize() int64 { return c.Size } method GetName (line 61) | func (c *File) GetName() string { return getFileName(c.Path) } method CreateTime (line 62) | func (c *File) CreateTime() time.Time { return time.Unix(c.Ctime, 0) } method ModTime (line 63) | func (c *File) ModTime() time.Time { return time.Unix(c.Mtime, 0) } method IsDir (line 64) | func (c *File) IsDir() bool { return false } method GetID (line 65) | func (c *File) GetID() string { return "" } method GetPath (line 66) | func (c *File) GetPath() string { return "" } method Thumb (line 67) | func (c *File) Thumb() string { method GetHash (line 74) | func (c *File) GetHash() utils.HashInfo { type AlbumListResp (line 80) | type AlbumListResp struct type Album (line 87) | type Album struct method GetHash (line 113) | func (a *Album) GetHash() utils.HashInfo { method GetSize (line 117) | func (a *Album) GetSize() int64 { return 0 } method GetName (line 118) | func (a *Album) GetName() string { return a.Title } method CreateTime (line 119) | func (a *Album) CreateTime() time.Time { return time.Unix(a.CreationTi... method ModTime (line 120) | func (a *Album) ModTime() time.Time { return time.Unix(a.Mtime, 0) } method IsDir (line 121) | func (a *Album) IsDir() bool { return true } method GetID (line 122) | func (a *Album) GetID() string { return "" } method GetPath (line 123) | func (a *Album) GetPath() string { return "" } type AlbumFileListResp (line 98) | type AlbumFileListResp struct type AlbumFile (line 105) | type AlbumFile struct type CopyFileResp (line 126) | type CopyFileResp struct type CopyFile (line 129) | type CopyFile struct type UploadFile (line 140) | type UploadFile struct method toFile (line 170) | func (f *UploadFile) toFile() *File { type CreateFileResp (line 154) | type CreateFileResp struct type PrecreateResp (line 158) | type PrecreateResp struct type InviteResp (line 182) | type InviteResp struct type JoinOrCreateAlbumResp (line 193) | type JoinOrCreateAlbumResp struct FILE: drivers/baidu_photo/utils.go constant API_URL (line 19) | API_URL = "https://photo.baidu.com/youai" constant USER_API_URL (line 20) | USER_API_URL = API_URL + "/user/v1" constant ALBUM_API_URL (line 21) | ALBUM_API_URL = API_URL + "/album/v1" constant FILE_API_URL_V1 (line 22) | FILE_API_URL_V1 = API_URL + "/file/v1" constant FILE_API_URL_V2 (line 23) | FILE_API_URL_V2 = API_URL + "/file/v2" method Request (line 26) | func (d *BaiduPhoto) Request(client *resty.Client, furl string, method s... method Get (line 93) | func (d *BaiduPhoto) Get(furl string, callback base.ReqCallback, resp in... method Post (line 97) | func (d *BaiduPhoto) Post(furl string, callback base.ReqCallback, resp i... method GetAllFile (line 102) | func (d *BaiduPhoto) GetAllFile(ctx context.Context) (files []File, err ... method DeleteFile (line 127) | func (d *BaiduPhoto) DeleteFile(ctx context.Context, file *File) error { method GetAllAlbum (line 138) | func (d *BaiduPhoto) GetAllAlbum(ctx context.Context) (albums []Album, e... method GetAllAlbumFile (line 167) | func (d *BaiduPhoto) GetAllAlbumFile(ctx context.Context, album *Album, ... method CreateAlbum (line 198) | func (d *BaiduPhoto) CreateAlbum(ctx context.Context, name string) (*Alb... method SetAlbumName (line 215) | func (d *BaiduPhoto) SetAlbumName(ctx context.Context, album *Album, nam... method DeleteAlbum (line 231) | func (d *BaiduPhoto) DeleteAlbum(ctx context.Context, album *Album) error { method DeleteAlbumFile (line 244) | func (d *BaiduPhoto) DeleteAlbumFile(ctx context.Context, file *AlbumFil... method AddAlbumFile (line 258) | func (d *BaiduPhoto) AddAlbumFile(ctx context.Context, album *Album, fil... method CopyAlbumFile (line 274) | func (d *BaiduPhoto) CopyAlbumFile(ctx context.Context, file *AlbumFile)... method JoinAlbum (line 293) | func (d *BaiduPhoto) JoinAlbum(ctx context.Context, code string) (*Album... method GetAlbumDetail (line 319) | func (d *BaiduPhoto) GetAlbumDetail(ctx context.Context, albumID string)... method linkAlbum (line 333) | func (d *BaiduPhoto) linkAlbum(ctx context.Context, file *AlbumFile, arg... method linkFile (line 375) | func (d *BaiduPhoto) linkFile(ctx context.Context, file *File, args mode... method uInfo (line 468) | func (d *BaiduPhoto) uInfo() (*UInfo, error) { method getBDStoken (line 479) | func (d *BaiduPhoto) getBDStoken() (string, error) { function DecryptMd5 (line 494) | func DecryptMd5(encryptMd5 string) string { function EncryptMd5 (line 514) | func EncryptMd5(originalMd5 string) string { FILE: drivers/base/client.go constant UserAgent (line 21) | UserAgent = "Mozilla/5.0 (Macintosh; Apple macOS 26_1_0) AppleWebKit/537... constant UserAgentNT (line 22) | UserAgentNT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537... function InitClient (line 24) | func InitClient() { function NewRestyClient (line 37) | func NewRestyClient() *resty.Client { FILE: drivers/base/types.go type Json (line 5) | type Json type TokenResp (line 7) | type TokenResp struct type ReqCallback (line 12) | type ReqCallback FILE: drivers/base/upload.go function SaveUploadProgress (line 16) | func SaveUploadProgress(driver driver.Driver, state any, keys ...string)... function GetUploadProgress (line 25) | func GetUploadProgress[T any](driver driver.Driver, keys ...string) (sta... FILE: drivers/chaoxing/driver.go type ChaoXing (line 27) | type ChaoXing struct method Config (line 35) | func (d *ChaoXing) Config() driver.Config { method GetAddition (line 39) | func (d *ChaoXing) GetAddition() driver.Additional { method refreshCookie (line 43) | func (d *ChaoXing) refreshCookie() error { method Init (line 55) | func (d *ChaoXing) Init(ctx context.Context) error { method Drop (line 70) | func (d *ChaoXing) Drop(ctx context.Context) error { method List (line 77) | func (d *ChaoXing) List(ctx context.Context, dir model.Obj, args model... method Link (line 87) | func (d *ChaoXing) Link(ctx context.Context, file model.Obj, args mode... method MakeDir (line 110) | func (d *ChaoXing) MakeDir(ctx context.Context, parentDir model.Obj, d... method Move (line 130) | func (d *ChaoXing) Move(ctx context.Context, srcObj, dstDir model.Obj)... method Rename (line 157) | func (d *ChaoXing) Rename(ctx context.Context, srcObj model.Obj, newNa... method Copy (line 187) | func (d *ChaoXing) Copy(ctx context.Context, srcObj, dstDir model.Obj)... method Remove (line 192) | func (d *ChaoXing) Remove(ctx context.Context, obj model.Obj) error { method Put (line 219) | func (d *ChaoXing) Put(ctx context.Context, dstDir model.Obj, file mod... FILE: drivers/chaoxing/meta.go type Addition (line 11) | type Addition struct type Conf (line 22) | type Conf struct function init (line 29) | func init() { FILE: drivers/chaoxing/types.go type Resp (line 12) | type Resp struct type UserAuth (line 16) | type UserAuth struct type int_str (line 96) | type int_str method UnmarshalJSON (line 99) | func (ios *int_str) UnmarshalJSON(data []byte) error { type File (line 108) | type File struct type ListFileResp (line 161) | type ListFileResp struct type DownResp (line 169) | type DownResp struct type UploadDataRsp (line 178) | type UploadDataRsp struct type UploadFileDataRsp (line 186) | type UploadFileDataRsp struct type UploadDoneParam (line 224) | type UploadDoneParam struct function fileToObj (line 258) | func fileToObj(f File) *model.Object { FILE: drivers/chaoxing/util.go method requestDownload (line 19) | func (d *ChaoXing) requestDownload(pathname string, method string, callb... method request (line 42) | func (d *ChaoXing) request(pathname string, method string, callback base... method GetFiles (line 68) | func (d *ChaoXing) GetFiles(parent string) ([]File, error) { function EncryptByAES (line 111) | func EncryptByAES(message, key string) (string, error) { function CookiesToString (line 131) | func CookiesToString(cookies []*http.Cookie) string { method Login (line 142) | func (d *ChaoXing) Login() (string, error) { FILE: drivers/chunk/driver.go type Chunk (line 28) | type Chunk struct method Config (line 33) | func (d *Chunk) Config() driver.Config { method GetAddition (line 37) | func (d *Chunk) GetAddition() driver.Additional { method Init (line 41) | func (d *Chunk) Init(ctx context.Context) error { method Drop (line 52) | func (d *Chunk) Drop(ctx context.Context) error { method Get (line 60) | func (d *Chunk) Get(ctx context.Context, path string) (model.Obj, erro... method List (line 138) | func (d *Chunk) List(ctx context.Context, dir model.Obj, args model.Li... method Link (line 254) | func (d *Chunk) Link(ctx context.Context, file model.Obj, args model.L... method MakeDir (line 383) | func (d *Chunk) MakeDir(ctx context.Context, parentDir model.Obj, dirN... method Move (line 388) | func (d *Chunk) Move(ctx context.Context, srcObj, dstDir model.Obj) er... method Rename (line 395) | func (d *Chunk) Rename(ctx context.Context, srcObj model.Obj, newName ... method Copy (line 402) | func (d *Chunk) Copy(ctx context.Context, srcObj, dstDir model.Obj) er... method Remove (line 409) | func (d *Chunk) Remove(ctx context.Context, obj model.Obj) error { method Put (line 413) | func (d *Chunk) Put(ctx context.Context, dstDir model.Obj, file model.... method getPartName (line 478) | func (d *Chunk) getPartName(part int) string { method GetDetails (line 482) | func (d *Chunk) GetDetails(ctx context.Context) (*model.StorageDetails... method GetRootPath (line 56) | func (Addition) GetRootPath() string { FILE: drivers/chunk/meta.go type Addition (line 8) | type Addition struct function init (line 30) | func init() { FILE: drivers/chunk/obj.go type chunkObject (line 5) | type chunkObject struct FILE: drivers/cloudreve/driver.go type Cloudreve (line 18) | type Cloudreve struct method Config (line 24) | func (d *Cloudreve) Config() driver.Config { method GetAddition (line 28) | func (d *Cloudreve) GetAddition() driver.Additional { method Init (line 32) | func (d *Cloudreve) Init(ctx context.Context) error { method InitReference (line 41) | func (d *Cloudreve) InitReference(storage driver.Driver) error { method Drop (line 50) | func (d *Cloudreve) Drop(ctx context.Context) error { method List (line 56) | func (d *Cloudreve) List(ctx context.Context, dir model.Obj, args mode... method Link (line 81) | func (d *Cloudreve) Link(ctx context.Context, file model.Obj, args mod... method MakeDir (line 95) | func (d *Cloudreve) MakeDir(ctx context.Context, parentDir model.Obj, ... method Move (line 103) | func (d *Cloudreve) Move(ctx context.Context, srcObj, dstDir model.Obj... method Rename (line 115) | func (d *Cloudreve) Rename(ctx context.Context, srcObj model.Obj, newN... method Copy (line 126) | func (d *Cloudreve) Copy(ctx context.Context, srcObj, dstDir model.Obj... method Remove (line 137) | func (d *Cloudreve) Remove(ctx context.Context, obj model.Obj) error { method Put (line 145) | func (d *Cloudreve) Put(ctx context.Context, dstDir model.Obj, stream ... method create (line 194) | func (d *Cloudreve) create(ctx context.Context, dir model.Obj, file mo... method GetDetails (line 207) | func (d *Cloudreve) GetDetails(ctx context.Context) (*model.StorageDet... FILE: drivers/cloudreve/meta.go type Addition (line 8) | type Addition struct function init (line 26) | func init() { FILE: drivers/cloudreve/types.go type Resp (line 9) | type Resp struct type Policy (line 15) | type Policy struct type UploadInfo (line 23) | type UploadInfo struct type DirectoryResp (line 32) | type DirectoryResp struct type Object (line 38) | type Object struct type DirectoryProp (line 50) | type DirectoryProp struct function objectToObj (line 54) | func objectToObj(f Object, t model.Thumbnail) *model.ObjThumb { type Config (line 68) | type Config struct type StorageDetails (line 73) | type StorageDetails struct FILE: drivers/cloudreve/util.go constant loginPath (line 31) | loginPath = "/user/session" method getUA (line 33) | func (d *Cloudreve) getUA() string { method request (line 40) | func (d *Cloudreve) request(method string, path string, callback base.Re... method login (line 101) | func (d *Cloudreve) login() error { method doLogin (line 119) | func (d *Cloudreve) doLogin(needCaptcha bool) error { function convertSrc (line 155) | func convertSrc(obj model.Obj) map[string]interface{} { method GetThumb (line 169) | func (d *Cloudreve) GetThumb(file Object) (model.Thumbnail, error) { method upLocal (line 188) | func (d *Cloudreve) upLocal(ctx context.Context, stream model.FileStream... method upRemote (line 239) | func (d *Cloudreve) upRemote(ctx context.Context, stream model.FileStrea... method upOneDrive (line 310) | func (d *Cloudreve) upOneDrive(ctx context.Context, stream model.FileStr... method upS3 (line 374) | func (d *Cloudreve) upS3(ctx context.Context, stream model.FileStreamer,... FILE: drivers/cloudreve_v4/driver.go type CloudreveV4 (line 20) | type CloudreveV4 struct method Config (line 28) | func (d *CloudreveV4) Config() driver.Config { method GetAddition (line 38) | func (d *CloudreveV4) GetAddition() driver.Additional { method Init (line 42) | func (d *CloudreveV4) Init(ctx context.Context) error { method InitReference (line 62) | func (d *CloudreveV4) InitReference(storage driver.Driver) error { method Drop (line 71) | func (d *CloudreveV4) Drop(ctx context.Context) error { method List (line 76) | func (d *CloudreveV4) List(ctx context.Context, dir model.Obj, args mo... method Get (line 138) | func (d *CloudreveV4) Get(ctx context.Context, path string) (model.Obj... method Link (line 149) | func (d *CloudreveV4) Link(ctx context.Context, file model.Obj, args m... method MakeDir (line 170) | func (d *CloudreveV4) MakeDir(ctx context.Context, parentDir model.Obj... method Move (line 180) | func (d *CloudreveV4) Move(ctx context.Context, srcObj, dstDir model.O... method Rename (line 190) | func (d *CloudreveV4) Rename(ctx context.Context, srcObj model.Obj, ne... method Copy (line 199) | func (d *CloudreveV4) Copy(ctx context.Context, srcObj, dstDir model.O... method Remove (line 209) | func (d *CloudreveV4) Remove(ctx context.Context, obj model.Obj) error { method Put (line 249) | func (d *CloudreveV4) Put(ctx context.Context, dstDir model.Obj, file ... method GetArchiveMeta (line 325) | func (d *CloudreveV4) GetArchiveMeta(ctx context.Context, obj model.Ob... method ListArchive (line 330) | func (d *CloudreveV4) ListArchive(ctx context.Context, obj model.Obj, ... method Extract (line 335) | func (d *CloudreveV4) Extract(ctx context.Context, obj model.Obj, args... method ArchiveDecompress (line 340) | func (d *CloudreveV4) ArchiveDecompress(ctx context.Context, srcObj, d... method GetDetails (line 347) | func (d *CloudreveV4) GetDetails(ctx context.Context) (*model.StorageD... FILE: drivers/cloudreve_v4/meta.go type Addition (line 8) | type Addition struct function init (line 34) | func init() { FILE: drivers/cloudreve_v4/types.go constant MetadataUploadSessionID (line 10) | MetadataUploadSessionID = "sys:upload_session_id" constant MetadataThumbDisabled (line 11) | MetadataThumbDisabled = "thumb:disabled" type Object (line 14) | type Object struct type Resp (line 19) | type Resp struct type BasicConfigResp (line 25) | type BasicConfigResp struct type SiteLoginConfigResp (line 48) | type SiteLoginConfigResp struct type PrepareLoginResp (line 59) | type PrepareLoginResp struct type CaptchaResp (line 64) | type CaptchaResp struct type AccessJWT (line 69) | type AccessJWT struct type RefreshJWT (line 76) | type RefreshJWT struct type Token (line 85) | type Token struct type TokenResponse (line 92) | type TokenResponse struct type File (line 111) | type File struct function fileToObject (line 125) | func fileToObject(f *File) *model.Object { type StoragePolicy (line 137) | type StoragePolicy struct type Pagination (line 145) | type Pagination struct type Props (line 152) | type Props struct type FileResp (line 159) | type FileResp struct type FileUrlResp (line 169) | type FileUrlResp struct type FileUploadResp (line 176) | type FileUploadResp struct type FileDeleteResp (line 189) | type FileDeleteResp struct type FileThumbResp (line 204) | type FileThumbResp struct type FolderSummaryResp (line 209) | type FolderSummaryResp struct type CapacityResp (line 220) | type CapacityResp struct FILE: drivers/cloudreve_v4/util.go constant CodeLoginRequired (line 33) | CodeLoginRequired = http.StatusUnauthorized constant CodePathNotExist (line 34) | CodePathNotExist = 40016 constant CodeCredentialInvalid (line 35) | CodeCredentialInvalid = 40020 method getUA (line 42) | func (d *CloudreveV4) getUA() string { method request (line 49) | func (d *CloudreveV4) request(method string, path string, callback base.... method _request (line 65) | func (d *CloudreveV4) _request(method string, path string, callback base... method canLogin (line 127) | func (d *CloudreveV4) canLogin() bool { method login (line 131) | func (d *CloudreveV4) login() error { method doLogin (line 160) | func (d *CloudreveV4) doLogin(needCaptcha bool) error { method refreshToken (line 214) | func (d *CloudreveV4) refreshToken() error { method parseJWT (line 264) | func (d *CloudreveV4) parseJWT(token string, jwt any) error { method isTokenExpired (line 282) | func (d *CloudreveV4) isTokenExpired() bool { method upLocal (line 346) | func (d *CloudreveV4) upLocal(ctx context.Context, file model.FileStream... method upRemote (line 400) | func (d *CloudreveV4) upRemote(ctx context.Context, file model.FileStrea... method upOneDrive (line 472) | func (d *CloudreveV4) upOneDrive(ctx context.Context, file model.FileStr... method upS3 (line 537) | func (d *CloudreveV4) upS3(ctx context.Context, file model.FileStreamer,... FILE: drivers/cnb_releases/driver.go type CnbReleases (line 20) | type CnbReleases struct method Config (line 26) | func (d *CnbReleases) Config() driver.Config { method GetAddition (line 30) | func (d *CnbReleases) GetAddition() driver.Additional { method Init (line 34) | func (d *CnbReleases) Init(ctx context.Context) error { method InitReference (line 38) | func (d *CnbReleases) InitReference(storage driver.Driver) error { method Drop (line 47) | func (d *CnbReleases) Drop(ctx context.Context) error { method List (line 52) | func (d *CnbReleases) List(ctx context.Context, dir model.Obj, args mo... method Link (line 107) | func (d *CnbReleases) Link(ctx context.Context, file model.Obj, args m... method MakeDir (line 113) | func (d *CnbReleases) MakeDir(ctx context.Context, parentDir model.Obj... method Move (line 132) | func (d *CnbReleases) Move(ctx context.Context, srcObj, dstDir model.O... method Rename (line 136) | func (d *CnbReleases) Rename(ctx context.Context, srcObj model.Obj, ne... method Copy (line 149) | func (d *CnbReleases) Copy(ctx context.Context, srcObj, dstDir model.O... method Remove (line 153) | func (d *CnbReleases) Remove(ctx context.Context, obj model.Obj) error { method Put (line 171) | func (d *CnbReleases) Put(ctx context.Context, dstDir model.Obj, file ... FILE: drivers/cnb_releases/meta.go type Addition (line 8) | type Addition struct function init (line 21) | func init() { FILE: drivers/cnb_releases/types.go type Object (line 9) | type Object struct type TagList (line 14) | type TagList type Tag (line 16) | type Tag struct type UserInfo (line 30) | type UserInfo struct type CommitObject (line 36) | type CommitObject struct type Signature (line 45) | type Signature struct type CommitObjectTree (line 51) | type CommitObjectTree struct type CommitObjectVerification (line 55) | type CommitObjectVerification struct type ReleaseList (line 67) | type ReleaseList type Release (line 69) | type Release struct type ReleaseAsset (line 85) | type ReleaseAsset struct type ReleaseAssetUploadURL (line 96) | type ReleaseAssetUploadURL struct FILE: drivers/cnb_releases/util.go method Request (line 15) | func (d *CnbReleases) Request(method string, path string, callback base.... method sumAssetsSize (line 52) | func (d *CnbReleases) sumAssetsSize(assets []ReleaseAsset) int64 { FILE: drivers/crypt/driver.go type Crypt (line 30) | type Crypt struct method Config (line 38) | func (d *Crypt) Config() driver.Config { method GetAddition (line 42) | func (d *Crypt) GetAddition() driver.Additional { method Init (line 46) | func (d *Crypt) Init(ctx context.Context) error { method updateObfusParm (line 85) | func (d *Crypt) updateObfusParm(str *string) error { method Drop (line 98) | func (d *Crypt) Drop(ctx context.Context) error { method List (line 102) | func (d *Crypt) List(ctx context.Context, dir model.Obj, args model.Li... method Get (line 173) | func (d *Crypt) Get(ctx context.Context, path string) (model.Obj, erro... method Link (line 237) | func (d *Crypt) Link(ctx context.Context, file model.Obj, _ model.Link... method MakeDir (line 313) | func (d *Crypt) MakeDir(ctx context.Context, parentDir model.Obj, dirN... method Move (line 322) | func (d *Crypt) Move(ctx context.Context, srcObj, dstDir model.Obj) er... method Rename (line 327) | func (d *Crypt) Rename(ctx context.Context, srcObj model.Obj, newName ... method Copy (line 341) | func (d *Crypt) Copy(ctx context.Context, srcObj, dstDir model.Obj) er... method Remove (line 346) | func (d *Crypt) Remove(ctx context.Context, obj model.Obj) error { method Put (line 354) | func (d *Crypt) Put(ctx context.Context, dstDir model.Obj, streamer mo... method GetDetails (line 384) | func (d *Crypt) GetDetails(ctx context.Context) (*model.StorageDetails... constant obfuscatedPrefix (line 36) | obfuscatedPrefix = "___Obfuscated___" method GetRootPath (line 169) | func (a Addition) GetRootPath() string { constant fileHeaderSize (line 235) | fileHeaderSize = 32 FILE: drivers/crypt/meta.go type Addition (line 8) | type Addition struct function init (line 33) | func init() { FILE: drivers/crypt/util.go function guessPath (line 10) | func guessPath(path string) (isFolder, secondTry bool) { method encryptPath (line 23) | func (d *Crypt) encryptPath(path string, isFolder bool) string { FILE: drivers/degoo/driver.go type Degoo (line 17) | type Degoo struct method Config (line 23) | func (d *Degoo) Config() driver.Config { method GetAddition (line 27) | func (d *Degoo) GetAddition() driver.Additional { method Init (line 31) | func (d *Degoo) Init(ctx context.Context) error { method Drop (line 43) | func (d *Degoo) Drop(ctx context.Context) error { method List (line 47) | func (d *Degoo) List(ctx context.Context, dir model.Obj, args model.Li... method Link (line 74) | func (d *Degoo) Link(ctx context.Context, file model.Obj, args model.L... method MakeDir (line 83) | func (d *Degoo) MakeDir(ctx context.Context, parentDir model.Obj, dirN... method Move (line 108) | func (d *Degoo) Move(ctx context.Context, srcObj, dstDir model.Obj) (m... method Rename (line 126) | func (d *Degoo) Rename(ctx context.Context, srcObj model.Obj, newName ... method Copy (line 146) | func (d *Degoo) Copy(ctx context.Context, srcObj, dstDir model.Obj) (m... method Remove (line 151) | func (d *Degoo) Remove(ctx context.Context, obj model.Obj) error { method Put (line 165) | func (d *Degoo) Put(ctx context.Context, dstDir model.Obj, file model.... method GetDetails (line 205) | func (d *Degoo) GetDetails(ctx context.Context) (*model.StorageDetails... FILE: drivers/degoo/meta.go type Addition (line 8) | type Addition struct function init (line 23) | func init() { FILE: drivers/degoo/types.go type DegooLoginRequest (line 8) | type DegooLoginRequest struct type DegooLoginResponse (line 15) | type DegooLoginResponse struct type DegooAccessTokenRequest (line 21) | type DegooAccessTokenRequest struct type DegooAccessTokenResponse (line 26) | type DegooAccessTokenResponse struct type DegooFileItem (line 31) | type DegooFileItem struct type DegooErrors (line 47) | type DegooErrors struct type DegooGraphqlResponse (line 56) | type DegooGraphqlResponse struct type DegooGetChildren5Data (line 62) | type DegooGetChildren5Data struct type DegooGetOverlay4Data (line 70) | type DegooGetOverlay4Data struct type DegooFileRenameInfo (line 75) | type DegooFileRenameInfo struct type DegooFileIDs (line 81) | type DegooFileIDs struct type DegooGetBucketWriteAuth4Data (line 86) | type DegooGetBucketWriteAuth4Data struct type DegooSetUploadFile3Data (line 108) | type DegooSetUploadFile3Data struct type DegooGetUserInfo3Data (line 112) | type DegooGetUserInfo3Data struct FILE: drivers/degoo/upload.go method getBucketWriteAuth4 (line 21) | func (d *Degoo) getBucketWriteAuth4(ctx context.Context, file model.File... method checkSum (line 75) | func (d *Degoo) checkSum(file io.Reader) (string, error) { method uploadS3 (line 93) | func (d *Degoo) uploadS3(ctx context.Context, auths *DegooGetBucketWrite... method SetUploadFile3 (line 171) | func (d *Degoo) SetUploadFile3(ctx context.Context, file model.FileStrea... FILE: drivers/degoo/util.go constant loginURL (line 23) | loginURL = "https://rest-api.degoo.com/login" constant accessTokenURL (line 24) | accessTokenURL = "https://rest-api.degoo.com/access-token/v2" constant apiURL (line 25) | apiURL = "https://production-appsync.degoo.com/graphql" constant apiKey (line 28) | apiKey = "da2-vs6twz5vnjdavpqndtbzg3prra" constant folderChecksum (line 29) | folderChecksum = "CgAQAg" constant tokenRefreshThreshold (line 32) | tokenRefreshThreshold = 5 * time.Minute constant minRequestInterval (line 35) | minRequestInterval = 1 * time.Second constant errRateLimited (line 38) | errRateLimited = "rate limited (429), please try again later" constant errUnauthorized (line 39) | errUnauthorized = "unauthorized access" type JWTPayload (line 49) | type JWTPayload struct function applyRateLimit (line 58) | func applyRateLimit() { function createJSONRequest (line 73) | func createJSONRequest(ctx context.Context, method, url string, body int... function checkHTTPResponse (line 90) | func checkHTTPResponse(resp *http.Response, operation string) error { method isTokenExpired (line 101) | func (d *Degoo) isTokenExpired() bool { function extractJWTPayload (line 117) | func extractJWTPayload(token string) (*JWTPayload, error) { method refreshToken (line 138) | func (d *Degoo) refreshToken(ctx context.Context) error { method ensureValidToken (line 179) | func (d *Degoo) ensureValidToken(ctx context.Context) error { method login (line 202) | func (d *Degoo) login(ctx context.Context) error { method apiCall (line 286) | func (d *Degoo) apiCall(ctx context.Context, operationName, query string... method updateTokenInVariables (line 302) | func (d *Degoo) updateTokenInVariables(variables map[string]interface{}) { method executeGraphQLRequest (line 311) | func (d *Degoo) executeGraphQLRequest(ctx context.Context, operationName... method handleGraphQLError (line 357) | func (d *Degoo) handleGraphQLError(ctx context.Context, gqlError DegooEr... function humanReadableTimes (line 373) | func humanReadableTimes(creation, modification, upload string) (cTime, m... method getDevices (line 387) | func (d *Degoo) getDevices(ctx context.Context) error { method getAllFileChildren5 (line 413) | func (d *Degoo) getAllFileChildren5(ctx context.Context, parentID string... method getOverlay4 (line 445) | func (d *Degoo) getOverlay4(ctx context.Context, id string) (DegooFileIt... method getUserInfo (line 464) | func (d *Degoo) getUserInfo(ctx context.Context) (DegooGetUserInfo3Data,... FILE: drivers/doubao/driver.go type Doubao (line 21) | type Doubao struct method Config (line 30) | func (d *Doubao) Config() driver.Config { method GetAddition (line 34) | func (d *Doubao) GetAddition() driver.Additional { method Init (line 38) | func (d *Doubao) Init(ctx context.Context) error { method WaitLimit (line 73) | func (d *Doubao) WaitLimit(ctx context.Context) error { method Drop (line 80) | func (d *Doubao) Drop(ctx context.Context) error { method List (line 84) | func (d *Doubao) List(ctx context.Context, dir model.Obj, args model.L... method Link (line 114) | func (d *Doubao) Link(ctx context.Context, file model.Obj, args model.... method MakeDir (line 183) | func (d *Doubao) MakeDir(ctx context.Context, parentDir model.Obj, dir... method Move (line 204) | func (d *Doubao) Move(ctx context.Context, srcObj, dstDir model.Obj) e... method Rename (line 222) | func (d *Doubao) Rename(ctx context.Context, srcObj model.Obj, newName... method Copy (line 237) | func (d *Doubao) Copy(ctx context.Context, srcObj, dstDir model.Obj) (... method Remove (line 242) | func (d *Doubao) Remove(ctx context.Context, obj model.Obj) error { method Put (line 254) | func (d *Doubao) Put(ctx context.Context, dstDir model.Obj, file model... method GetArchiveMeta (line 286) | func (d *Doubao) GetArchiveMeta(ctx context.Context, obj model.Obj, ar... method ListArchive (line 291) | func (d *Doubao) ListArchive(ctx context.Context, obj model.Obj, args ... method Extract (line 296) | func (d *Doubao) Extract(ctx context.Context, obj model.Obj, args mode... method ArchiveDecompress (line 301) | func (d *Doubao) ArchiveDecompress(ctx context.Context, srcObj, dstDir... FILE: drivers/doubao/meta.go type Addition (line 8) | type Addition struct function init (line 25) | func init() { FILE: drivers/doubao/types.go type BaseResp (line 11) | type BaseResp struct type NodeInfoResp (line 16) | type NodeInfoResp struct type File (line 26) | type File struct type GetDownloadInfoResp (line 42) | type GetDownloadInfoResp struct type GetFileUrlResp (line 53) | type GetFileUrlResp struct type GetVideoFileUrlResp (line 64) | type GetVideoFileUrlResp struct type UploadNodeResp (line 97) | type UploadNodeResp struct type Object (line 111) | type Object struct type UserInfoResp (line 117) | type UserInfoResp struct type AppUserInfo (line 121) | type AppUserInfo struct type AuditInfo (line 124) | type AuditInfo struct type Details (line 126) | type Details struct type BuiAuditInfo (line 128) | type BuiAuditInfo struct type Connects (line 136) | type Connects struct type OperStaffRelationInfo (line 150) | type OperStaffRelationInfo struct type UserInfo (line 156) | type UserInfo struct type UploadToken (line 195) | type UploadToken struct type UploadAuthToken (line 201) | type UploadAuthToken struct type MediaUploadAuthToken (line 215) | type MediaUploadAuthToken struct type UploadAuthTokenResp (line 229) | type UploadAuthTokenResp struct type MediaUploadAuthTokenResp (line 234) | type MediaUploadAuthTokenResp struct type ResponseMetadata (line 239) | type ResponseMetadata struct type UploadConfig (line 252) | type UploadConfig struct type UploadConfigResp (line 260) | type UploadConfigResp struct type StoreInfo (line 266) | type StoreInfo struct type UploadAddress (line 275) | type UploadAddress struct type FallbackUploadAddress (line 284) | type FallbackUploadAddress struct type UploadNode (line 293) | type UploadNode struct type AdvanceOption (line 309) | type AdvanceOption struct type InnerUploadAddress (line 317) | type InnerUploadAddress struct type UploadPart (line 323) | type UploadPart struct type UploadResp (line 332) | type UploadResp struct type VideoCommitUpload (line 339) | type VideoCommitUpload struct type VideoCommitUploadResp (line 361) | type VideoCommitUploadResp struct type CommonResp (line 369) | type CommonResp struct method IsSuccess (line 382) | func (r *CommonResp) IsSuccess() bool { method GetError (line 387) | func (r *CommonResp) GetError() error { method UnmarshalData (line 405) | func (r *CommonResp) UnmarshalData(v interface{}) error { FILE: drivers/doubao/util.go constant DirectoryType (line 35) | DirectoryType = 1 constant FileType (line 36) | FileType = 2 constant LinkType (line 37) | LinkType = 3 constant ImageType (line 38) | ImageType = 4 constant PagesType (line 39) | PagesType = 5 constant VideoType (line 40) | VideoType = 6 constant AudioType (line 41) | AudioType = 7 constant MeetingMinutesType (line 42) | MeetingMinutesType = 8 constant BaseURL (line 57) | BaseURL = "https://www.doubao.com" constant FileDataType (line 58) | FileDataType = "file" constant ImgDataType (line 59) | ImgDataType = "image" constant VideoDataType (line 60) | VideoDataType = "video" constant DefaultChunkSize (line 61) | DefaultChunkSize = int64(5 * 1024 * 1024) constant MaxRetryAttempts (line 62) | MaxRetryAttempts = 3 constant UserAgent (line 63) | UserAgent = base.UserAgentNT constant Region (line 64) | Region = "cn-north-1" constant UploadTimeout (line 65) | UploadTimeout = 3 * time.Minute method request (line 69) | func (d *Doubao) request(path string, method string, callback base.ReqCa... method getFiles (line 104) | func (d *Doubao) getFiles(dirId, cursor string) (resp []File, err error) { method getUserInfo (line 142) | func (d *Doubao) getUserInfo() (UserInfo, error) { method signRequest (line 154) | func (d *Doubao) signRequest(req *resty.Request, method, tokenType, uplo... method requestApi (line 243) | func (d *Doubao) requestApi(url, method, tokenType string, callback base... method initUploadToken (line 275) | func (d *Doubao) initUploadToken() (*UploadToken, error) { method getUploadAuthToken (line 303) | func (d *Doubao) getUploadAuthToken(dataType string) (ut UploadAuthToken... method getSamantaUploadAuthToken (line 315) | func (d *Doubao) getSamantaUploadAuthToken() (mt MediaUploadAuthToken, e... method getUploadConfig (line 325) | func (d *Doubao) getUploadConfig(upConfig *UploadConfig, dataType string... method uploadNode (line 405) | func (d *Doubao) uploadNode(uploadConfig *UploadConfig, dir model.Obj, f... method Upload (line 449) | func (d *Doubao) Upload(ctx context.Context, config *UploadConfig, dstDi... method UploadByMultipart (line 524) | func (d *Doubao) UploadByMultipart(ctx context.Context, config *UploadCo... method uploadRequest (line 689) | func (d *Doubao) uploadRequest(uploadUrl string, method string, storeInf... method initMultipartUpload (line 728) | func (d *Doubao) initMultipartUpload(config *UploadConfig, uploadUrl str... method completeMultipartUpload (line 750) | func (d *Doubao) completeMultipartUpload(config *UploadConfig, uploadUrl... method commitMultipartUpload (line 785) | func (d *Doubao) commitMultipartUpload(uploadConfig *UploadConfig) error { method _retryOperation (line 818) | func (d *Doubao) _retryOperation(operation string, fn func() error) error { function _convertUploadParts (line 832) | func _convertUploadParts(parts []UploadPart) string { function getCanonicalQueryString (line 850) | func getCanonicalQueryString(query url.Values) string { function urlEncode (line 872) | func urlEncode(s string) string { function getCanonicalHeadersFromMap (line 879) | func getCanonicalHeadersFromMap(headers map[string][]string) (string, st... function hmacSHA256 (line 924) | func hmacSHA256(key []byte, data string) []byte { function hmacSHA256Hex (line 931) | func hmacSHA256Hex(key []byte, data string) string { function hashSHA256 (line 936) | func hashSHA256(data string) string { function getSigningKey (line 943) | func getSigningKey(secretKey, dateStamp, region, service string) []byte { function randomString (line 951) | func randomString() string { FILE: drivers/doubao_share/driver.go type DoubaoShare (line 16) | type DoubaoShare struct method Config (line 22) | func (d *DoubaoShare) Config() driver.Config { method GetAddition (line 26) | func (d *DoubaoShare) GetAddition() driver.Additional { method Init (line 30) | func (d *DoubaoShare) Init(ctx context.Context) error { method Drop (line 39) | func (d *DoubaoShare) Drop(ctx context.Context) error { method List (line 44) | func (d *DoubaoShare) List(ctx context.Context, dir model.Obj, args mo... method Link (line 75) | func (d *DoubaoShare) Link(ctx context.Context, file model.Obj, args m... method MakeDir (line 123) | func (d *DoubaoShare) MakeDir(ctx context.Context, parentDir model.Obj... method Move (line 128) | func (d *DoubaoShare) Move(ctx context.Context, srcObj, dstDir model.O... method Rename (line 133) | func (d *DoubaoShare) Rename(ctx context.Context, srcObj model.Obj, ne... method Copy (line 138) | func (d *DoubaoShare) Copy(ctx context.Context, srcObj, dstDir model.O... method Remove (line 143) | func (d *DoubaoShare) Remove(ctx context.Context, obj model.Obj) error { method Put (line 148) | func (d *DoubaoShare) Put(ctx context.Context, dstDir model.Obj, file ... method GetArchiveMeta (line 153) | func (d *DoubaoShare) GetArchiveMeta(ctx context.Context, obj model.Ob... method ListArchive (line 158) | func (d *DoubaoShare) ListArchive(ctx context.Context, obj model.Obj, ... method Extract (line 163) | func (d *DoubaoShare) Extract(ctx context.Context, obj model.Obj, args... method ArchiveDecompress (line 168) | func (d *DoubaoShare) ArchiveDecompress(ctx context.Context, srcObj, d... FILE: drivers/doubao_share/meta.go type Addition (line 8) | type Addition struct function init (line 21) | func init() { FILE: drivers/doubao_share/types.go type BaseResp (line 10) | type BaseResp struct type NodeInfoData (line 15) | type NodeInfoData struct type NodeInfoResp (line 26) | type NodeInfoResp struct type RootFileList (line 31) | type RootFileList struct type File (line 38) | type File struct type FileObject (line 54) | type FileObject struct type ShareInfo (line 62) | type ShareInfo struct type CreatorInfo (line 91) | type CreatorInfo struct type FilePath (line 102) | type FilePath type GetDownloadInfoResp (line 118) | type GetDownloadInfoResp struct type GetVideoFileUrlResp (line 129) | type GetVideoFileUrlResp struct type CommonResp (line 162) | type CommonResp struct method IsSuccess (line 175) | func (r *CommonResp) IsSuccess() bool { method GetError (line 180) | func (r *CommonResp) GetError() error { method UnmarshalData (line 198) | func (r *CommonResp) UnmarshalData(v interface{}) error { FILE: drivers/doubao_share/util.go constant DirectoryType (line 20) | DirectoryType = 1 constant FileType (line 21) | FileType = 2 constant LinkType (line 22) | LinkType = 3 constant ImageType (line 23) | ImageType = 4 constant PagesType (line 24) | PagesType = 5 constant VideoType (line 25) | VideoType = 6 constant AudioType (line 26) | AudioType = 7 constant MeetingMinutesType (line 27) | MeetingMinutesType = 8 constant BaseURL (line 42) | BaseURL = "https://www.doubao.com" constant FileDataType (line 43) | FileDataType = "file" constant ImgDataType (line 44) | ImgDataType = "image" constant VideoDataType (line 45) | VideoDataType = "video" constant UserAgent (line 46) | UserAgent = base.UserAgentNT method request (line 49) | func (d *DoubaoShare) request(path string, method string, callback base.... method getFiles (line 94) | func (d *DoubaoShare) getFiles(dirId, nodeId, cursor string) (resp []Fil... method getShareOverview (line 133) | func (d *DoubaoShare) getShareOverview(shareId, cursor string) (resp []F... method getShareOverviewWithHistory (line 137) | func (d *DoubaoShare) getShareOverviewWithHistory(shareId, cursor string... method initShareList (line 183) | func (d *DoubaoShare) initShareList() error { method _parseShareConfigs (line 215) | func (d *DoubaoShare) _parseShareConfigs() (map[string]string, []string,... method _detectPathConflicts (line 265) | func (d *DoubaoShare) _detectPathConflicts(shareConfigs map[string]strin... method _buildTreeStructure (line 298) | func (d *DoubaoShare) _buildTreeStructure(shareConfigs map[string]string... method _extractTopLevelNodes (line 336) | func (d *DoubaoShare) _extractTopLevelNodes(rootMap map[string]*RootFile... function _ensurePathExists (line 375) | func _ensurePathExists(rootMap map[string]*RootFileList, path string) { function _extractShareId (line 410) | func _extractShareId(input string) string { function _findRootFileByShareID (line 423) | func _findRootFileByShareID(rootFiles []RootFileList, shareID string) *R... function _findNodeByPath (line 438) | func _findNodeByPath(rootFiles []RootFileList, path string) *RootFileList { function _findShareByPath (line 453) | func _findShareByPath(rootFiles []RootFileList, path string) (*RootFileL... method _findShareAndPath (line 498) | func (d *DoubaoShare) _findShareAndPath(dir model.Obj) (string, string, ... method convertToFileObject (line 556) | func (d *DoubaoShare) convertToFileObject(file File, shareId string, rel... method getFilesInPath (line 578) | func (d *DoubaoShare) getFilesInPath(ctx context.Context, shareId, nodeI... method listRootDirectory (line 614) | func (d *DoubaoShare) listRootDirectory(ctx context.Context) ([]model.Ob... method listVirtualDirectoryContent (line 670) | func (d *DoubaoShare) listVirtualDirectoryContent(dir model.Obj) ([]mode... FILE: drivers/dropbox/driver.go type Dropbox (line 19) | type Dropbox struct method Config (line 26) | func (d *Dropbox) Config() driver.Config { method GetAddition (line 30) | func (d *Dropbox) GetAddition() driver.Additional { method Init (line 34) | func (d *Dropbox) Init(ctx context.Context) error { method GetRootNamespaceId (line 53) | func (d *Dropbox) GetRootNamespaceId(ctx context.Context) (string, err... method Drop (line 69) | func (d *Dropbox) Drop(ctx context.Context) error { method List (line 73) | func (d *Dropbox) List(ctx context.Context, dir model.Obj, args model.... method Link (line 83) | func (d *Dropbox) Link(ctx context.Context, file model.Obj, args model... method MakeDir (line 100) | func (d *Dropbox) MakeDir(ctx context.Context, parentDir model.Obj, di... method Move (line 110) | func (d *Dropbox) Move(ctx context.Context, srcObj, dstDir model.Obj) ... method Rename (line 125) | func (d *Dropbox) Rename(ctx context.Context, srcObj model.Obj, newNam... method Copy (line 142) | func (d *Dropbox) Copy(ctx context.Context, srcObj, dstDir model.Obj) ... method Remove (line 156) | func (d *Dropbox) Remove(ctx context.Context, obj model.Obj) error { method Put (line 166) | func (d *Dropbox) Put(ctx context.Context, dstDir model.Obj, stream mo... FILE: drivers/dropbox/meta.go type Addition (line 8) | type Addition struct function init (line 24) | func init() { FILE: drivers/dropbox/types.go type TokenResp (line 9) | type TokenResp struct type ErrorResp (line 15) | type ErrorResp struct type RefreshTokenErrorResp (line 22) | type RefreshTokenErrorResp struct type CurrentAccountResp (line 27) | type CurrentAccountResp struct type File (line 34) | type File struct type ListResp (line 48) | type ListResp struct type UploadCursor (line 54) | type UploadCursor struct type UploadAppendArgs (line 59) | type UploadAppendArgs struct type UploadFinishArgs (line 64) | type UploadFinishArgs struct function fileToObj (line 75) | func fileToObj(f File) *model.ObjThumb { FILE: drivers/dropbox/util.go method refreshToken (line 17) | func (d *Dropbox) refreshToken() error { method request (line 73) | func (d *Dropbox) request(uri, method string, callback base.ReqCallback,... method list (line 117) | func (d *Dropbox) list(ctx context.Context, data base.Json, isContinue b... method getFiles (line 132) | func (d *Dropbox) getFiles(ctx context.Context, path string) ([]File, er... method finishUploadSession (line 169) | func (d *Dropbox) finishUploadSession(ctx context.Context, toPath string... method startUploadSession (line 220) | func (d *Dropbox) startUploadSession(ctx context.Context) (string, error) { method buildPathRootHeader (line 250) | func (d *Dropbox) buildPathRootHeader() (string, error) { FILE: drivers/febbox/driver.go type FebBox (line 16) | type FebBox struct method Config (line 23) | func (d *FebBox) Config() driver.Config { method GetAddition (line 27) | func (d *FebBox) GetAddition() driver.Additional { method Init (line 31) | func (d *FebBox) Init(ctx context.Context) error { method Drop (line 53) | func (d *FebBox) Drop(ctx context.Context) error { method List (line 57) | func (d *FebBox) List(ctx context.Context, dir model.Obj, args model.L... method Link (line 67) | func (d *FebBox) Link(ctx context.Context, file model.Obj, args model.... method MakeDir (line 84) | func (d *FebBox) MakeDir(ctx context.Context, parentDir model.Obj, dir... method Move (line 93) | func (d *FebBox) Move(ctx context.Context, srcObj, dstDir model.Obj) (... method Rename (line 102) | func (d *FebBox) Rename(ctx context.Context, srcObj model.Obj, newName... method Copy (line 111) | func (d *FebBox) Copy(ctx context.Context, srcObj, dstDir model.Obj) (... method Remove (line 120) | func (d *FebBox) Remove(ctx context.Context, obj model.Obj) error { method Put (line 129) | func (d *FebBox) Put(ctx context.Context, dstDir model.Obj, stream mod... FILE: drivers/febbox/meta.go type Addition (line 8) | type Addition struct function init (line 25) | func init() { FILE: drivers/febbox/oauth2.go type customTokenSource (line 16) | type customTokenSource struct method Token (line 22) | func (c *customTokenSource) Token() (*oauth2.Token, error) { method initializeOAuth2Token (line 82) | func (d *FebBox) initializeOAuth2Token(ctx context.Context, oauth2Config... FILE: drivers/febbox/types.go type ErrResp (line 13) | type ErrResp struct method IsError (line 20) | func (e *ErrResp) IsError() bool { method Error (line 24) | func (e *ErrResp) Error() string { type FileListResp (line 28) | type FileListResp struct type Rules (line 37) | type Rules struct type File (line 45) | type File struct function fileToObj (line 91) | func fileToObj(f File) *model.ObjThumb { type FileDownloadResp (line 108) | type FileDownloadResp struct FILE: drivers/febbox/util.go method refreshTokenByOAuth2 (line 15) | func (d *FebBox) refreshTokenByOAuth2() error { method request (line 27) | func (d *FebBox) request(url string, method string, callback base.ReqCal... method getFilesList (line 69) | func (d *FebBox) getFilesList(id string) ([]File, error) { method listWithLimit (line 80) | func (d *FebBox) listWithLimit(dirID string, pageLimit int64) (*[]File, ... method getFiles (line 98) | func (d *FebBox) getFiles(dirID string, page, pageLimit int64) (*[]File,... method getDownloadLink (line 122) | func (d *FebBox) getDownloadLink(id string, ip string) (string, error) { method makeDir (line 147) | func (d *FebBox) makeDir(id string, name string) error { method move (line 164) | func (d *FebBox) move(id string, id2 string) error { method rename (line 181) | func (d *FebBox) rename(id string, name string) error { method copy (line 198) | func (d *FebBox) copy(id string, id2 string) error { method remove (line 215) | func (d *FebBox) remove(id string) error { FILE: drivers/ftp/driver.go type FTP (line 18) | type FTP struct method Config (line 27) | func (d *FTP) Config() driver.Config { method GetAddition (line 31) | func (d *FTP) GetAddition() driver.Additional { method Init (line 35) | func (d *FTP) Init(ctx context.Context) error { method Drop (line 42) | func (d *FTP) Drop(ctx context.Context) error { method List (line 50) | func (d *FTP) List(ctx context.Context, dir model.Obj, args model.List... method Link (line 76) | func (d *FTP) Link(ctx context.Context, file model.Obj, args model.Lin... method MakeDir (line 123) | func (d *FTP) MakeDir(ctx context.Context, parentDir model.Obj, dirNam... method Move (line 130) | func (d *FTP) Move(ctx context.Context, srcObj, dstDir model.Obj) error { method Rename (line 140) | func (d *FTP) Rename(ctx context.Context, srcObj model.Obj, newName st... method Copy (line 150) | func (d *FTP) Copy(ctx context.Context, srcObj, dstDir model.Obj) error { method Remove (line 154) | func (d *FTP) Remove(ctx context.Context, obj model.Obj) error { method Put (line 166) | func (d *FTP) Put(ctx context.Context, dstDir model.Obj, s model.FileS... FILE: drivers/ftp/meta.go function encode (line 9) | func encode(str string, encoding string) string { function decode (line 17) | func decode(str string, encoding string) string { type Addition (line 25) | type Addition struct function init (line 41) | func init() { FILE: drivers/ftp/util.go method login (line 14) | func (d *FTP) login() error { method _login (line 32) | func (d *FTP) _login(ctx context.Context) (*ftp.ServerConn, error) { FILE: drivers/github/driver.go type Github (line 25) | type Github struct method Config (line 40) | func (d *Github) Config() driver.Config { method GetAddition (line 44) | func (d *Github) GetAddition() driver.Additional { method Init (line 48) | func (d *Github) Init(ctx context.Context) error { method Drop (line 130) | func (d *Github) Drop(ctx context.Context) error { method List (line 134) | func (d *Github) List(ctx context.Context, dir model.Obj, args model.L... method Link (line 168) | func (d *Github) Link(ctx context.Context, file model.Obj, args model.... method MakeDir (line 186) | func (d *Github) MakeDir(ctx context.Context, parentDir model.Obj, dir... method Move (line 247) | func (d *Github) Move(ctx context.Context, srcObj, dstDir model.Obj) e... method Rename (line 471) | func (d *Github) Rename(ctx context.Context, srcObj model.Obj, newName... method Copy (line 524) | func (d *Github) Copy(ctx context.Context, srcObj, dstDir model.Obj) e... method Remove (line 557) | func (d *Github) Remove(ctx context.Context, obj model.Obj) error { method Put (line 613) | func (d *Github) Put(ctx context.Context, dstDir model.Obj, stream mod... method getContentApiUrl (line 669) | func (d *Github) getContentApiUrl(path string) string { method get (line 674) | func (d *Github) get(path string) (*Object, error) { method putBlob (line 687) | func (d *Github) putBlob(ctx context.Context, s model.FileStreamer, up... method renewParentTrees (line 747) | func (d *Github) renewParentTrees(path, prevSha, curSha, until string)... method getTree (line 774) | func (d *Github) getTree(sha string) (*TreeResp, error) { method getTreeDirectly (line 789) | func (d *Github) getTreeDirectly(path string) (*TreeResp, string, erro... method newTree (line 807) | func (d *Github) newTree(baseSha string, tree []interface{}) (string, ... method commit (line 827) | func (d *Github) commit(message, treeSha string) error { method getBranchHead (line 870) | func (d *Github) getBranchHead() (string, error) { method copyWithoutRenewTree (line 885) | func (d *Github) copyWithoutRenewTree(srcObj, dstDir model.Obj) (dstSh... method getRepo (line 930) | func (d *Github) getRepo() (*RepoResp, error) { method getAuthenticatedUser (line 945) | func (d *Github) getAuthenticatedUser() (*UserResp, error) { method addCommitterAndAuthor (line 960) | func (d *Github) addCommitterAndAuthor(m *map[string]interface{}) { FILE: drivers/github/meta.go type Addition (line 8) | type Addition struct function init (line 35) | func init() { FILE: drivers/github/types.go type Links (line 10) | type Links struct type Object (line 16) | type Object struct method toModelObj (line 34) | func (o *Object) toModelObj() *model.Object { type PutBlobResp (line 44) | type PutBlobResp struct type ErrResp (line 49) | type ErrResp struct type TreeObjReq (line 55) | type TreeObjReq struct type TreeObjResp (line 62) | type TreeObjResp struct method toModelObj (line 68) | func (o *TreeObjResp) toModelObj() *model.Object { type TreeResp (line 78) | type TreeResp struct type TreeReq (line 85) | type TreeReq struct type CommitResp (line 90) | type CommitResp struct type BranchResp (line 94) | type BranchResp struct type UpdateRefReq (line 99) | type UpdateRefReq struct type RepoResp (line 104) | type RepoResp struct type UserResp (line 108) | type UserResp struct FILE: drivers/github/util.go type MessageTemplateVars (line 20) | type MessageTemplateVars struct function getMessage (line 30) | func getMessage(tmpl *template.Template, vars *MessageTemplateVars, defa... function calculateBase64Length (line 38) | func calculateBase64Length(inputLength int64) int64 { function toErr (line 42) | func toErr(res *resty.Response) error { function getPathCommonAncestor (line 61) | func getPathCommonAncestor(a, b string) (ancestor, aChildName, bChildNam... function getUsername (line 99) | func getUsername(ctx context.Context) string { function loadPrivateKey (line 107) | func loadPrivateKey(key, passphrase string) (*openpgp.Entity, error) { function signCommit (line 133) | func signCommit(m *map[string]interface{}, entity *openpgp.Entity) (stri... FILE: drivers/github_releases/driver.go type GithubReleases (line 16) | type GithubReleases struct method Config (line 23) | func (d *GithubReleases) Config() driver.Config { method GetAddition (line 27) | func (d *GithubReleases) GetAddition() driver.Additional { method Init (line 31) | func (d *GithubReleases) Init(ctx context.Context) error { method Drop (line 36) | func (d *GithubReleases) Drop(ctx context.Context) error { method List (line 40) | func (d *GithubReleases) List(ctx context.Context, dir model.Obj, args... method Link (line 137) | func (d *GithubReleases) Link(ctx context.Context, file model.Obj, arg... method MakeDir (line 152) | func (d *GithubReleases) MakeDir(ctx context.Context, parentDir model.... method Move (line 157) | func (d *GithubReleases) Move(ctx context.Context, srcObj, dstDir mode... method Rename (line 162) | func (d *GithubReleases) Rename(ctx context.Context, srcObj model.Obj,... method Copy (line 167) | func (d *GithubReleases) Copy(ctx context.Context, srcObj, dstDir mode... method Remove (line 172) | func (d *GithubReleases) Remove(ctx context.Context, obj model.Obj) er... FILE: drivers/github_releases/meta.go type Addition (line 8) | type Addition struct function init (line 23) | func init() { FILE: drivers/github_releases/models.go type Release (line 3) | type Release struct type User (line 25) | type User struct type Asset (line 47) | type Asset struct type Reactions (line 63) | type Reactions struct type FileInfo (line 76) | type FileInfo struct FILE: drivers/github_releases/types.go type MountPoint (line 13) | type MountPoint struct method RequestRelease (line 22) | func (m *MountPoint) RequestRelease(get func(url string) (*resty.Respo... method RequestReleases (line 35) | func (m *MountPoint) RequestReleases(get func(url string) (*resty.Resp... method GetLatestRelease (line 48) | func (m *MountPoint) GetLatestRelease() []File { method GetLatestSize (line 65) | func (m *MountPoint) GetLatestSize() int64 { method GetAllVersion (line 74) | func (m *MountPoint) GetAllVersion() []File { method GetReleaseByTagName (line 95) | func (m *MountPoint) GetReleaseByTagName(tagName string) []File { method GetSizeByTagName (line 117) | func (m *MountPoint) GetSizeByTagName(tagName string) int64 { method GetAllVersionSize (line 134) | func (m *MountPoint) GetAllVersionSize() int64 { method GetSourceCode (line 147) | func (m *MountPoint) GetSourceCode() []File { method GetSourceCodeByTagName (line 173) | func (m *MountPoint) GetSourceCodeByTagName(tagName string) []File { method GetOtherFile (line 201) | func (m *MountPoint) GetOtherFile(get func(url string) (*resty.Respons... type File (line 226) | type File struct method GetHash (line 236) | func (f File) GetHash() utils.HashInfo { method GetPath (line 240) | func (f File) GetPath() string { method GetSize (line 244) | func (f File) GetSize() int64 { method GetName (line 248) | func (f File) GetName() string { method ModTime (line 252) | func (f File) ModTime() time.Time { method CreateTime (line 257) | func (f File) CreateTime() time.Time { method IsDir (line 262) | func (f File) IsDir() bool { method GetID (line 266) | func (f File) GetID() string { FILE: drivers/github_releases/util.go method GetRequest (line 14) | func (d *GithubReleases) GetRequest(url string) (*resty.Response, error) { method ParseRepos (line 32) | func (d *GithubReleases) ParseRepos(text string) ([]MountPoint, error) { function GetNextDir (line 64) | func GetNextDir(wholePath string, basePath string) string { function IsAncestorDir (line 81) | func IsAncestorDir(parentDir string, targetDir string) bool { FILE: drivers/google_drive/driver.go type GoogleDrive (line 17) | type GoogleDrive struct method Config (line 25) | func (d *GoogleDrive) Config() driver.Config { method GetAddition (line 29) | func (d *GoogleDrive) GetAddition() driver.Additional { method Init (line 33) | func (d *GoogleDrive) Init(ctx context.Context) error { method Drop (line 40) | func (d *GoogleDrive) Drop(ctx context.Context) error { method List (line 44) | func (d *GoogleDrive) List(ctx context.Context, dir model.Obj, args mo... method Link (line 54) | func (d *GoogleDrive) Link(ctx context.Context, file model.Obj, args m... method MakeDir (line 69) | func (d *GoogleDrive) MakeDir(ctx context.Context, parentDir model.Obj... method Move (line 81) | func (d *GoogleDrive) Move(ctx context.Context, srcObj, dstDir model.O... method Rename (line 93) | func (d *GoogleDrive) Rename(ctx context.Context, srcObj model.Obj, ne... method Copy (line 104) | func (d *GoogleDrive) Copy(ctx context.Context, srcObj, dstDir model.O... method Remove (line 108) | func (d *GoogleDrive) Remove(ctx context.Context, obj model.Obj) error { method Put (line 114) | func (d *GoogleDrive) Put(ctx context.Context, dstDir model.Obj, strea... method GetDetails (line 170) | func (d *GoogleDrive) GetDetails(ctx context.Context) (*model.StorageD... FILE: drivers/google_drive/meta.go type Addition (line 8) | type Addition struct function init (line 27) | func init() { FILE: drivers/google_drive/types.go type TokenError (line 12) | type TokenError struct type Files (line 17) | type Files struct type File (line 22) | type File struct function fileToObj (line 40) | func fileToObj(f File) *model.ObjThumb { type Error (line 68) | type Error struct type AboutResp (line 82) | type AboutResp struct FILE: drivers/google_drive/util.go constant FilesListFields (line 33) | FilesListFields = "files(id,name,mimeType,size,modifiedTime,createdTime,... constant FileInfoFields (line 35) | FileInfoFields = "id,name,mimeType,size,md5Checksum,sha1Checksum,sha256C... type googleDriveServiceAccount (line 38) | type googleDriveServiceAccount struct method refreshToken (line 51) | func (d *GoogleDrive) refreshToken() error { method request (line 201) | func (d *GoogleDrive) request(url string, method string, callback base.R... method getFiles (line 231) | func (d *GoogleDrive) getFiles(id string) ([]File, error) { method getTargetFileInfo (line 303) | func (d *GoogleDrive) getTargetFileInfo(targetId string) (File, error) { method batchGetTargetFilesInfo (line 319) | func (d *GoogleDrive) batchGetTargetFilesInfo(targetIds []string) map[st... method chunkUpload (line 335) | func (d *GoogleDrive) chunkUpload(ctx context.Context, file model.FileSt... method getAbout (line 398) | func (d *GoogleDrive) getAbout(ctx context.Context) (*AboutResp, error) { FILE: drivers/google_photo/driver.go type GooglePhoto (line 18) | type GooglePhoto struct method Config (line 24) | func (d *GooglePhoto) Config() driver.Config { method GetAddition (line 28) | func (d *GooglePhoto) GetAddition() driver.Additional { method Init (line 32) | func (d *GooglePhoto) Init(ctx context.Context) error { method Drop (line 36) | func (d *GooglePhoto) Drop(ctx context.Context) error { method List (line 40) | func (d *GooglePhoto) List(ctx context.Context, dir model.Obj, args mo... method Link (line 50) | func (d *GooglePhoto) Link(ctx context.Context, file model.Obj, args m... method MakeDir (line 68) | func (d *GooglePhoto) MakeDir(ctx context.Context, parentDir model.Obj... method Move (line 72) | func (d *GooglePhoto) Move(ctx context.Context, srcObj, dstDir model.O... method Rename (line 76) | func (d *GooglePhoto) Rename(ctx context.Context, srcObj model.Obj, ne... method Copy (line 80) | func (d *GooglePhoto) Copy(ctx context.Context, srcObj, dstDir model.O... method Remove (line 84) | func (d *GooglePhoto) Remove(ctx context.Context, obj model.Obj) error { method Put (line 88) | func (d *GooglePhoto) Put(ctx context.Context, dstDir model.Obj, strea... FILE: drivers/google_photo/meta.go type Addition (line 8) | type Addition struct function init (line 24) | func init() { FILE: drivers/google_photo/types.go type TokenError (line 10) | type TokenError struct type Items (line 15) | type Items struct type MediaItem (line 22) | type MediaItem struct type MediaMetadata (line 32) | type MediaMetadata struct type Photo (line 40) | type Photo struct type Video (line 43) | type Video struct function fileToObj (line 46) | func fileToObj(f MediaItem) *model.ObjThumb { type Error (line 73) | type Error struct FILE: drivers/google_photo/util.go constant FETCH_ALL (line 14) | FETCH_ALL = "all" constant FETCH_ALBUMS (line 15) | FETCH_ALBUMS = "albums" constant FETCH_ROOT (line 16) | FETCH_ROOT = "root" constant FETCH_SHARE_ALBUMS (line 17) | FETCH_SHARE_ALBUMS = "share_albums" method refreshToken (line 20) | func (d *GooglePhoto) refreshToken() error { method request (line 41) | func (d *GooglePhoto) request(url string, method string, callback base.R... method getFiles (line 74) | func (d *GooglePhoto) getFiles(id string) ([]MediaItem, error) { method getFakeRoot (line 89) | func (d *GooglePhoto) getFakeRoot() ([]MediaItem, error) { method getAlbums (line 106) | func (d *GooglePhoto) getAlbums() ([]MediaItem, error) { method getShareAlbums (line 117) | func (d *GooglePhoto) getShareAlbums() ([]MediaItem, error) { method getMedias (line 128) | func (d *GooglePhoto) getMedias(albumId string) ([]MediaItem, error) { method getAllMedias (line 139) | func (d *GooglePhoto) getAllMedias() ([]MediaItem, error) { method getMedia (line 150) | func (d *GooglePhoto) getMedia(id string) (MediaItem, error) { method fetchItems (line 166) | func (d *GooglePhoto) fetchItems(url string, query map[string]string, me... FILE: drivers/halalcloud/driver.go type HalalCloud (line 30) | type HalalCloud struct method Config (line 38) | func (d *HalalCloud) Config() driver.Config { method GetAddition (line 42) | func (d *HalalCloud) GetAddition() driver.Additional { method Init (line 46) | func (d *HalalCloud) Init(ctx context.Context) error { method Drop (line 107) | func (d *HalalCloud) Drop(ctx context.Context) error { method List (line 111) | func (d *HalalCloud) List(ctx context.Context, dir model.Obj, args mod... method Link (line 115) | func (d *HalalCloud) Link(ctx context.Context, file model.Obj, args mo... method MakeDir (line 119) | func (d *HalalCloud) MakeDir(ctx context.Context, parentDir model.Obj,... method Move (line 123) | func (d *HalalCloud) Move(ctx context.Context, srcObj, dstDir model.Ob... method Rename (line 127) | func (d *HalalCloud) Rename(ctx context.Context, srcObj model.Obj, new... method Copy (line 131) | func (d *HalalCloud) Copy(ctx context.Context, srcObj, dstDir model.Ob... method Remove (line 135) | func (d *HalalCloud) Remove(ctx context.Context, obj model.Obj) error { method Put (line 139) | func (d *HalalCloud) Put(ctx context.Context, dstDir model.Obj, stream... method IsLogin (line 143) | func (d *HalalCloud) IsLogin() bool { method SetTokenResp (line 174) | func (d *HalalCloud) SetTokenResp(tr *TokenResp) { method getFiles (line 178) | func (d *HalalCloud) getFiles(ctx context.Context, dir model.Obj) ([]m... method getLink (line 212) | func (d *HalalCloud) getLink(ctx context.Context, file model.Obj, args... method makeDir (line 286) | func (d *HalalCloud) makeDir(ctx context.Context, dir model.Obj, name ... method move (line 294) | func (d *HalalCloud) move(ctx context.Context, obj model.Obj, dir mode... method rename (line 312) | func (d *HalalCloud) rename(ctx context.Context, obj model.Obj, name s... method copy (line 324) | func (d *HalalCloud) copy(ctx context.Context, obj model.Obj, dir mode... method remove (line 346) | func (d *HalalCloud) remove(ctx context.Context, obj model.Obj) error { method put (line 363) | func (d *HalalCloud) put(ctx context.Context, dstDir model.Obj, fileSt... type HalalCommon (line 166) | type HalalCommon struct FILE: drivers/halalcloud/meta.go type Addition (line 8) | type Addition struct function init (line 27) | func init() { FILE: drivers/halalcloud/options.go function defaultOptions (line 5) | func defaultOptions() halalOptions { type HalalOption (line 15) | type HalalOption interface type halalOptions (line 21) | type halalOptions struct type funcDialOption (line 28) | type funcDialOption struct method apply (line 32) | func (fdo *funcDialOption) apply(do *halalOptions) { function newFuncDialOption (line 36) | func newFuncDialOption(f func(*halalOptions)) *funcDialOption { function WithRefreshTokenRefreshedCallback (line 42) | func WithRefreshTokenRefreshedCallback(s func(accessToken string, access... function WithGrpcDialOptions (line 48) | func WithGrpcDialOptions(opts ...grpc.DialOption) HalalOption { FILE: drivers/halalcloud/types.go type AuthService (line 13) | type AuthService struct type TokenResp (line 22) | type TokenResp struct type UserInfo (line 29) | type UserInfo struct type OrderByInfo (line 36) | type OrderByInfo struct type ListInfo (line 41) | type ListInfo struct type FilesList (line 48) | type FilesList struct type Files (line 55) | type Files method GetSize (line 57) | func (f *Files) GetSize() int64 { method GetName (line 61) | func (f *Files) GetName() string { method ModTime (line 65) | func (f *Files) ModTime() time.Time { method CreateTime (line 69) | func (f *Files) CreateTime() time.Time { method IsDir (line 73) | func (f *Files) IsDir() bool { method GetHash (line 77) | func (f *Files) GetHash() utils.HashInfo { method GetID (line 81) | func (f *Files) GetID() string { method GetPath (line 88) | func (f *Files) GetPath() string { type SteamFile (line 92) | type SteamFile struct method Read (line 96) | func (s *SteamFile) Read(p []byte) (n int, err error) { FILE: drivers/halalcloud/util.go constant AppID (line 33) | AppID = "alist/10001" constant AppVersion (line 34) | AppVersion = "1.0.0" constant AppSecret (line 35) | AppSecret = "bR4SJwOkvnG5WvVJ" constant grpcServer (line 39) | grpcServer = "grpcuserapi.2dland.cn:443" constant grpcServerAuth (line 40) | grpcServerAuth = "grpcuserapi.2dland.cn" method NewAuthServiceWithOauth (line 43) | func (d *HalalCloud) NewAuthServiceWithOauth(options ...HalalOption) (*A... method NewAuthService (line 91) | func (d *HalalCloud) NewAuthService(refreshToken string, options ...Hala... method OnAccessTokenRefreshed (line 157) | func (s *AuthService) OnAccessTokenRefreshed(accessToken string, accessT... method GetGrpcConnection (line 169) | func (s *AuthService) GetGrpcConnection() *grpc.ClientConn { method Close (line 173) | func (s *AuthService) Close() { method signContext (line 177) | func (s *AuthService) signContext(method string, ctx context.Context) co... method GetCurrentOpDir (line 198) | func (d *HalalCloud) GetCurrentOpDir(dir model.Obj, args []string, index... method GetCurrentDir (line 210) | func (d *HalalCloud) GetCurrentDir(dir model.Obj) string { type Common (line 218) | type Common struct function getRawFiles (line 221) | func getRawFiles(addr *pubUserFile.SliceDownloadInfo) ([]byte, error) { type openObject (line 270) | type openObject struct method getChunk (line 284) | func (oo *openObject) getChunk(ctx context.Context) (err error) { method Read (line 302) | func (oo *openObject) Read(p []byte) (n int, err error) { method Close (line 340) | func (oo *openObject) Close() (err error) { method ChunkLocation (line 380) | func (oo *openObject) ChunkLocation(id int) (position int64, size int,... function GetMD5Hash (line 355) | func GetMD5Hash(text string) string { type chunkSize (line 361) | type chunkSize struct function getChunkSizes (line 366) | func getChunkSizes(sliceSize []*pubUserFile.SliceSize) (chunks []chunkSi... FILE: drivers/halalcloud_open/common.go type halalCommon (line 15) | type halalCommon struct method GetAccessToken (line 23) | func (m *halalCommon) GetAccessToken() (string, error) { method GetRefreshToken (line 32) | func (m *halalCommon) GetRefreshToken() (string, error) { method SetAccessToken (line 41) | func (m *halalCommon) SetAccessToken(token string) error { method SetRefreshToken (line 47) | func (m *halalCommon) SetRefreshToken(token string) error { method SetToken (line 56) | func (m *halalCommon) SetToken(accessToken string, refreshToken string... method ClearConfigs (line 67) | func (m *halalCommon) ClearConfigs() error { method DeleteConfig (line 73) | func (m *halalCommon) DeleteConfig(key string) error { method GetConfig (line 83) | func (m *halalCommon) GetConfig(key string) (string, error) { method ListConfigs (line 92) | func (m *halalCommon) ListConfigs() (map[string]string, error) { method SetConfig (line 102) | func (m *halalCommon) SetConfig(key string, value string) error { function NewHalalCommon (line 107) | func NewHalalCommon() *halalCommon { FILE: drivers/halalcloud_open/driver.go type HalalCloudOpen (line 11) | type HalalCloudOpen struct method Config (line 21) | func (d *HalalCloudOpen) Config() driver.Config { method GetAddition (line 25) | func (d *HalalCloudOpen) GetAddition() driver.Additional { FILE: drivers/halalcloud_open/driver_curd_impl.go method getFiles (line 11) | func (d *HalalCloudOpen) getFiles(ctx context.Context, dir model.Obj) ([... method makeDir (line 42) | func (d *HalalCloudOpen) makeDir(ctx context.Context, dir model.Obj, nam... method move (line 50) | func (d *HalalCloudOpen) move(ctx context.Context, obj model.Obj, dir mo... method rename (line 66) | func (d *HalalCloudOpen) rename(ctx context.Context, obj model.Obj, name... method copy (line 75) | func (d *HalalCloudOpen) copy(ctx context.Context, obj model.Obj, dir mo... method remove (line 103) | func (d *HalalCloudOpen) remove(ctx context.Context, obj model.Obj) error { method details (line 116) | func (d *HalalCloudOpen) details(ctx context.Context) (*model.StorageDet... FILE: drivers/halalcloud_open/driver_get_link.go method getLink (line 17) | func (d *HalalCloudOpen) getLink(ctx context.Context, file model.Obj, ar... FILE: drivers/halalcloud_open/driver_init.go method Init (line 13) | func (d *HalalCloudOpen) Init(ctx context.Context) error { FILE: drivers/halalcloud_open/driver_interface.go method Drop (line 10) | func (d *HalalCloudOpen) Drop(ctx context.Context) error { method List (line 14) | func (d *HalalCloudOpen) List(ctx context.Context, dir model.Obj, args m... method Link (line 18) | func (d *HalalCloudOpen) Link(ctx context.Context, file model.Obj, args ... method MakeDir (line 22) | func (d *HalalCloudOpen) MakeDir(ctx context.Context, parentDir model.Ob... method Move (line 26) | func (d *HalalCloudOpen) Move(ctx context.Context, srcObj, dstDir model.... method Rename (line 30) | func (d *HalalCloudOpen) Rename(ctx context.Context, srcObj model.Obj, n... method Copy (line 34) | func (d *HalalCloudOpen) Copy(ctx context.Context, srcObj, dstDir model.... method Remove (line 38) | func (d *HalalCloudOpen) Remove(ctx context.Context, obj model.Obj) error { method Put (line 42) | func (d *HalalCloudOpen) Put(ctx context.Context, dstDir model.Obj, stre... method GetDetails (line 46) | func (d *HalalCloudOpen) GetDetails(ctx context.Context) (*model.Storage... FILE: drivers/halalcloud_open/halalcloud_upload.go method put (line 22) | func (d *HalalCloudOpen) put(ctx context.Context, dstDir model.Obj, file... function makeFile (line 99) | func makeFile(ctx context.Context, fileSlice []string, taskID string, up... function doMakeFile (line 119) | func doMakeFile(fileSlice []string, taskID string, uploadAddress string)... function postFileSlice (line 166) | func postFileSlice(ctx context.Context, fileSlice []byte, taskID string,... function doPostFileSlice (line 181) | func doPostFileSlice(fileSlice []byte, taskID string, uploadAddress stri... FILE: drivers/halalcloud_open/meta.go type Addition (line 8) | type Addition struct function init (line 28) | func init() { type UploadedFile (line 34) | type UploadedFile struct FILE: drivers/halalcloud_open/obj_file.go type ObjFile (line 11) | type ObjFile struct method GetSize (line 28) | func (f *ObjFile) GetSize() int64 { method GetName (line 32) | func (f *ObjFile) GetName() string { method ModTime (line 36) | func (f *ObjFile) ModTime() time.Time { method IsDir (line 40) | func (f *ObjFile) IsDir() bool { method GetHash (line 44) | func (f *ObjFile) GetHash() utils.HashInfo { method GetID (line 50) | func (f *ObjFile) GetID() string { method GetPath (line 54) | func (f *ObjFile) GetPath() string { method CreateTime (line 58) | func (f *ObjFile) CreateTime() time.Time { function NewObjFile (line 18) | func NewObjFile(f *sdkUserFile.File) model.Obj { FILE: drivers/halalcloud_open/utils.go function GetMD5Hash (line 90) | func GetMD5Hash(text string) string { type chunkSize (line 95) | type chunkSize struct type openObject (line 100) | type openObject struct method getChunk (line 21) | func (oo *openObject) getChunk(_ context.Context) (err error) { method Read (line 39) | func (oo *openObject) Read(p []byte) (n int, err error) { method Close (line 75) | func (oo *openObject) Close() (err error) { method ChunkLocation (line 130) | func (oo *openObject) ChunkLocation(id int) (position int64, size int,... function getChunkSizes (line 113) | func getChunkSizes(sliceSize []*sdkUserFile.SliceSize) (chunks []chunkSi... function getRawFiles (line 138) | func getRawFiles(addr *sdkUserFile.SliceDownloadInfo) ([]byte, error) { FILE: drivers/ilanzou/driver.go type ILanZou (line 26) | type ILanZou struct method Config (line 37) | func (d *ILanZou) Config() driver.Config { method GetAddition (line 41) | func (d *ILanZou) GetAddition() driver.Additional { method Init (line 45) | func (d *ILanZou) Init(ctx context.Context) error { method Drop (line 64) | func (d *ILanZou) Drop(ctx context.Context) error { method List (line 68) | func (d *ILanZou) List(ctx context.Context, dir model.Obj, args model.... method Link (line 118) | func (d *ILanZou) Link(ctx context.Context, file model.Obj, args model... method MakeDir (line 174) | func (d *ILanZou) MakeDir(ctx context.Context, parentDir model.Obj, di... method Move (line 197) | func (d *ILanZou) Move(ctx context.Context, srcObj, dstDir model.Obj) ... method Rename (line 217) | func (d *ILanZou) Rename(ctx context.Context, srcObj model.Obj, newNam... method Copy (line 250) | func (d *ILanZou) Copy(ctx context.Context, srcObj, dstDir model.Obj) ... method Remove (line 255) | func (d *ILanZou) Remove(ctx context.Context, obj model.Obj) error { method Put (line 274) | func (d *ILanZou) Put(ctx context.Context, dstDir model.Obj, s model.F... method GetDetails (line 404) | func (d *ILanZou) GetDetails(ctx context.Context) (*model.StorageDetai... constant DefaultPartSize (line 272) | DefaultPartSize = 1024 * 1024 * 8 FILE: drivers/ilanzou/meta.go type Addition (line 8) | type Addition struct type Conf (line 18) | type Conf struct function init (line 28) | func init() { FILE: drivers/ilanzou/types.go type ListResp (line 3) | type ListResp struct type ListItem (line 13) | type ListItem struct type Part (line 41) | type Part struct type UploadTokenRapidResp (line 46) | type UploadTokenRapidResp struct type UploadResultResp (line 58) | type UploadResultResp struct FILE: drivers/ilanzou/util.go method login (line 19) | func (d *ILanZou) login() error { function getTimestamp (line 36) | func getTimestamp(secret []byte) (int64, string, error) { method request (line 46) | func (d *ILanZou) request(pathname, method string, callback base.ReqCall... method unproved (line 110) | func (d *ILanZou) unproved(pathname, method string, callback base.ReqCal... method proved (line 114) | func (d *ILanZou) proved(pathname, method string, callback base.ReqCallb... FILE: drivers/ipfs_api/driver.go type IPFS (line 15) | type IPFS struct method Config (line 22) | func (d *IPFS) Config() driver.Config { method GetAddition (line 26) | func (d *IPFS) GetAddition() driver.Additional { method Init (line 30) | func (d *IPFS) Init(ctx context.Context) error { method Drop (line 40) | func (d *IPFS) Drop(ctx context.Context) error { method List (line 44) | func (d *IPFS) List(ctx context.Context, dir model.Obj, args model.Lis... method Link (line 80) | func (d *IPFS) Link(ctx context.Context, file model.Obj, args model.Li... method Get (line 86) | func (d *IPFS) Get(ctx context.Context, rawPath string) (model.Obj, er... method MakeDir (line 110) | func (d *IPFS) MakeDir(ctx context.Context, parentDir model.Obj, dirNa... method Move (line 126) | func (d *IPFS) Move(ctx context.Context, srcObj, dstDir model.Obj) (mo... method Rename (line 136) | func (d *IPFS) Rename(ctx context.Context, srcObj model.Obj, newName s... method Copy (line 146) | func (d *IPFS) Copy(ctx context.Context, srcObj, dstDir model.Obj) (mo... method Remove (line 156) | func (d *IPFS) Remove(ctx context.Context, obj model.Obj) error { method Put (line 163) | func (d *IPFS) Put(ctx context.Context, dstDir model.Obj, s model.File... FILE: drivers/ipfs_api/meta.go type Addition (line 8) | type Addition struct function init (line 22) | func init() { FILE: drivers/kodbox/driver.go type KodBox (line 17) | type KodBox struct method Config (line 23) | func (d *KodBox) Config() driver.Config { method GetAddition (line 27) | func (d *KodBox) GetAddition() driver.Additional { method Init (line 31) | func (d *KodBox) Init(ctx context.Context) error { method Drop (line 37) | func (d *KodBox) Drop(ctx context.Context) error { method List (line 41) | func (d *KodBox) List(ctx context.Context, dir model.Obj, args model.L... method Link (line 82) | func (d *KodBox) Link(ctx context.Context, file model.Obj, args model.... method MakeDir (line 91) | func (d *KodBox) MakeDir(ctx context.Context, parentDir model.Obj, dir... method Move (line 119) | func (d *KodBox) Move(ctx context.Context, srcObj, dstDir model.Obj) (... method Rename (line 148) | func (d *KodBox) Rename(ctx context.Context, srcObj model.Obj, newName... method Copy (line 174) | func (d *KodBox) Copy(ctx context.Context, srcObj, dstDir model.Obj) (... method Remove (line 208) | func (d *KodBox) Remove(ctx context.Context, obj model.Obj) error { method Put (line 228) | func (d *KodBox) Put(ctx context.Context, dstDir model.Obj, s model.Fi... method getFileOrFolderName (line 261) | func (d *KodBox) getFileOrFolderName(ctx context.Context, path string)... FILE: drivers/kodbox/meta.go type Addition (line 8) | type Addition struct function init (line 20) | func init() { FILE: drivers/kodbox/types.go type CommonResp (line 3) | type CommonResp struct type ListPathData (line 11) | type ListPathData struct type FolderOrFile (line 16) | type FolderOrFile struct FILE: drivers/kodbox/util.go method getToken (line 12) | func (d *KodBox) getToken() error { method request (line 36) | func (d *KodBox) request(method string, pathname string, callback base.R... FILE: drivers/lanzou/driver.go type LanZou (line 15) | type LanZou struct method Config (line 24) | func (d *LanZou) Config() driver.Config { method GetAddition (line 28) | func (d *LanZou) GetAddition() driver.Additional { method Init (line 32) | func (d *LanZou) Init(ctx context.Context) (err error) { method Drop (line 52) | func (d *LanZou) Drop(ctx context.Context) error { method List (line 58) | func (d *LanZou) List(ctx context.Context, dir model.Obj, args model.L... method Link (line 66) | func (d *LanZou) Link(ctx context.Context, file model.Obj, args model.... method MakeDir (line 126) | func (d *LanZou) MakeDir(ctx context.Context, parentDir model.Obj, dir... method Move (line 148) | func (d *LanZou) Move(ctx context.Context, srcObj, dstDir model.Obj) (... method Rename (line 168) | func (d *LanZou) Rename(ctx context.Context, srcObj model.Obj, newName... method Remove (line 190) | func (d *LanZou) Remove(ctx context.Context, obj model.Obj) error { method Put (line 211) | func (d *LanZou) Put(ctx context.Context, dstDir model.Obj, s model.Fi... FILE: drivers/lanzou/help.go constant DAY (line 15) | DAY time.Duration = 84600000000000 function MustParseTime (line 21) | func MustParseTime(str string) time.Time { function SizeStrToInt64 (line 52) | func SizeStrToInt64(size string) int64 { function RemoveNotes (line 71) | func RemoveNotes(html string) string { function RemoveJSComment (line 81) | func RemoveJSComment(data string) string { function CalcAcwScV2 (line 124) | func CalcAcwScV2(htmlContent string) (string, error) { function unbox (line 140) | func unbox(hex string) string { function hexXor (line 151) | func hexXor(hex1, hex2 string) (string, error) { function findJSVarFunc (line 172) | func findJSVarFunc(key, data string) string { function findJSFunctionIndex (line 196) | func findJSFunctionIndex(data string, all bool) [][2]int { function removeJSGlobalFunction (line 231) | func removeJSGlobalFunction(html string) string { function getJSFunctionByName (line 243) | func getJSFunctionByName(html string, name string) (string, error) { function htmlJsonToMap2 (line 255) | func htmlJsonToMap2(html string) (map[string]string, error) { function htmlJsonToMap (line 270) | func htmlJsonToMap(html string) (map[string]string, error) { function jsonToMap (line 278) | func jsonToMap(data, html string) map[string]string { function IsNumber (line 292) | func IsNumber(str string) bool { function htmlFormToMap (line 304) | func htmlFormToMap(html string) (map[string]string, error) { function formToMap (line 312) | func formToMap(from string) map[string]string { function GetExpirationTime (line 323) | func GetExpirationTime(url string) (etime time.Duration) { function CookieToString (line 336) | func CookieToString(cookies []*http.Cookie) string { FILE: drivers/lanzou/meta.go type Addition (line 8) | type Addition struct method IsCookie (line 24) | func (a *Addition) IsCookie() bool { method IsAccount (line 28) | func (a *Addition) IsAccount() bool { function init (line 38) | func init() { FILE: drivers/lanzou/types.go type RespText (line 16) | type RespText struct type RespInfo (line 20) | type RespInfo struct type FileOrFolder (line 27) | type FileOrFolder struct method CreateTime (line 58) | func (f *FileOrFolder) CreateTime() time.Time { method GetHash (line 62) | func (f *FileOrFolder) GetHash() utils.HashInfo { method GetID (line 66) | func (f *FileOrFolder) GetID() string { method GetName (line 72) | func (f *FileOrFolder) GetName() string { method GetPath (line 78) | func (f *FileOrFolder) GetPath() string { return "" } method GetSize (line 79) | func (f *FileOrFolder) GetSize() int64 { method IsDir (line 86) | func (f *FileOrFolder) IsDir() bool { return f.FolID != "" } method ModTime (line 87) | func (f *FileOrFolder) ModTime() time.Time { method SetShareInfo (line 95) | func (f *FileOrFolder) SetShareInfo(fs *FileShare) { method GetShareInfo (line 98) | func (f *FileOrFolder) GetShareInfo() *FileShare { type FileShare (line 103) | type FileShare struct type FileOrFolderByShareUrlResp (line 119) | type FileOrFolderByShareUrlResp struct type FileOrFolderByShareUrl (line 122) | type FileOrFolderByShareUrl struct method CreateTime (line 147) | func (f *FileOrFolderByShareUrl) CreateTime() time.Time { method GetHash (line 151) | func (f *FileOrFolderByShareUrl) GetHash() utils.HashInfo { method GetID (line 155) | func (f *FileOrFolderByShareUrl) GetID() string { return f.ID } method GetName (line 156) | func (f *FileOrFolderByShareUrl) GetName() string { return f.NameAll } method GetPath (line 157) | func (f *FileOrFolderByShareUrl) GetPath() string { return "" } method GetSize (line 158) | func (f *FileOrFolderByShareUrl) GetSize() int64 { method IsDir (line 165) | func (f *FileOrFolderByShareUrl) IsDir() bool { return f.IsFloder } method ModTime (line 166) | func (f *FileOrFolderByShareUrl) ModTime() time.Time { type FileShareInfoAndUrlResp (line 175) | type FileShareInfoAndUrlResp struct method GetBaseUrl (line 181) | func (u *FileShareInfoAndUrlResp[T]) GetBaseUrl() string { method GetDownloadUrl (line 185) | func (u *FileShareInfoAndUrlResp[T]) GetDownloadUrl() string { FILE: drivers/lanzou/util.go method doupload (line 27) | func (d *LanZou) doupload(callback base.ReqCallback, resp interface{}) (... method get (line 39) | func (d *LanZou) get(url string, callback base.ReqCallback) ([]byte, err... method post (line 43) | func (d *LanZou) post(url string, callback base.ReqCallback, resp interf... method _post (line 64) | func (d *LanZou) _post(url string, callback base.ReqCallback, resp inter... method request (line 99) | func (d *LanZou) request(url string, method string, callback base.ReqCal... method Login (line 160) | func (d *LanZou) Login() ([]*http.Cookie, error) { method GetAllFiles (line 187) | func (d *LanZou) GetAllFiles(folderID string) ([]model.Obj, error) { method GetFolders (line 206) | func (d *LanZou) GetFolders(folderID string) ([]FileOrFolder, error) { method GetFiles (line 221) | func (d *LanZou) GetFiles(folderID string) ([]FileOrFolder, error) { method getFolderShareUrlByID (line 244) | func (d *LanZou) getFolderShareUrlByID(fileID string) (*FileShare, error) { method getFileShareUrlByID (line 259) | func (d *LanZou) getFileShareUrlByID(fileID string) (*FileShare, error) { method getShareUrlHtml (line 302) | func (d *LanZou) getShareUrlHtml(shareID string) (string, error) { method GetFileOrFolderByShareUrl (line 340) | func (d *LanZou) GetFileOrFolderByShareUrl(shareID, pwd string) ([]model... method GetFilesByShareUrl (line 366) | func (d *LanZou) GetFilesByShareUrl(shareID, pwd string) (file *FileOrFo... method getFilesByShareUrl (line 374) | func (d *LanZou) getFilesByShareUrl(shareID, pwd string, sharePageData s... method GetFolderByShareUrl (line 560) | func (d *LanZou) GetFolderByShareUrl(shareID, pwd string) ([]FileOrFolde... method getFolderByShareUrl (line 568) | func (d *LanZou) getFolderByShareUrl(pwd string, sharePageData string) (... method getFileRealInfo (line 611) | func (d *LanZou) getFileRealInfo(downURL string) (*int64, *time.Time) { method getVeiAndUid (line 621) | func (d *LanZou) getVeiAndUid() (vei string, uid string, err error) { FILE: drivers/lenovonas_share/driver.go type LenovoNasShare (line 19) | type LenovoNasShare struct method Config (line 26) | func (d *LenovoNasShare) Config() driver.Config { method GetAddition (line 30) | func (d *LenovoNasShare) GetAddition() driver.Additional { method Init (line 34) | func (d *LenovoNasShare) Init(ctx context.Context) error { method Drop (line 45) | func (d *LenovoNasShare) Drop(ctx context.Context) error { method List (line 49) | func (d *LenovoNasShare) List(ctx context.Context, dir model.Obj, args... method checkStoken (line 90) | func (d *LenovoNasShare) checkStoken() { // 检查stoken是否过期 method getStoken (line 96) | func (d *LenovoNasShare) getStoken() error { // 获取stoken method Link (line 119) | func (d *LenovoNasShare) Link(ctx context.Context, file model.Obj, arg... method MakeDir (line 143) | func (d *LenovoNasShare) MakeDir(ctx context.Context, parentDir model.... method Move (line 147) | func (d *LenovoNasShare) Move(ctx context.Context, srcObj, dstDir mode... method Rename (line 151) | func (d *LenovoNasShare) Rename(ctx context.Context, srcObj model.Obj,... method Copy (line 155) | func (d *LenovoNasShare) Copy(ctx context.Context, srcObj, dstDir mode... method Remove (line 159) | func (d *LenovoNasShare) Remove(ctx context.Context, obj model.Obj) er... method Put (line 163) | func (d *LenovoNasShare) Put(ctx context.Context, dstDir model.Obj, st... FILE: drivers/lenovonas_share/meta.go type Addition (line 8) | type Addition struct function init (line 22) | func init() { FILE: drivers/lenovonas_share/types.go type File (line 32) | type File struct method UnmarshalJSON (line 12) | func (f *File) UnmarshalJSON(data []byte) error { method GetHash (line 41) | func (f File) GetHash() utils.HashInfo { method GetPath (line 45) | func (f File) GetPath() string { method GetSize (line 49) | func (f File) GetSize() int64 { method GetName (line 57) | func (f File) GetName() string { method ModTime (line 61) | func (f File) ModTime() time.Time { method CreateTime (line 65) | func (f File) CreateTime() time.Time { method IsDir (line 69) | func (f File) IsDir() bool { method GetID (line 73) | func (f File) GetID() string { type Files (line 77) | type Files struct FILE: drivers/lenovonas_share/util.go method request (line 11) | func (d *LenovoNasShare) request(url string, method string, callback bas... FILE: drivers/local/benchmark_calculatedirsize_test.go function generatedTestDir (line 14) | func generatedTestDir(dir string, dep, filecount int) { function generatedFiles (line 26) | func generatedFiles(path string, count int) error { function BenchmarkCalculateDirSize (line 48) | func BenchmarkCalculateDirSize(t *testing.B) { FILE: drivers/local/copy_namedpipes.go function copyNamedPipe (line 11) | func copyNamedPipe(dstPath string, mode os.FileMode, dirMode os.FileMode... FILE: drivers/local/copy_namedpipes_x.go function copyNamedPipe (line 7) | func copyNamedPipe(_ string, _, _ os.FileMode) error { FILE: drivers/local/driver.go type Local (line 30) | type Local struct method Config (line 47) | func (d *Local) Config() driver.Config { method Init (line 51) | func (d *Local) Init(ctx context.Context) error { method Drop (line 127) | func (d *Local) Drop(ctx context.Context) error { method GetAddition (line 131) | func (d *Local) GetAddition() driver.Additional { method List (line 135) | func (d *Local) List(ctx context.Context, dir model.Obj, args model.Li... method FileInfoToObj (line 153) | func (d *Local) FileInfoToObj(ctx context.Context, f fs.FileInfo, reqP... method Get (line 197) | func (d *Local) Get(ctx context.Context, path string) (model.Obj, erro... method Link (line 234) | func (d *Local) Link(ctx context.Context, file model.Obj, args model.L... method MakeDir (line 283) | func (d *Local) MakeDir(ctx context.Context, parentDir model.Obj, dirN... method Move (line 292) | func (d *Local) Move(ctx context.Context, srcObj, dstDir model.Obj) er... method Rename (line 318) | func (d *Local) Rename(ctx context.Context, srcObj model.Obj, newName ... method Copy (line 336) | func (d *Local) Copy(_ context.Context, srcObj, dstDir model.Obj) error { method Remove (line 359) | func (d *Local) Remove(ctx context.Context, obj model.Obj) error { method Put (line 408) | func (d *Local) Put(ctx context.Context, dstDir model.Obj, stream mode... method GetDetails (line 436) | func (d *Local) GetDetails(ctx context.Context) (*model.StorageDetails... FILE: drivers/local/meta.go type Addition (line 8) | type Addition struct function init (line 29) | func init() { FILE: drivers/local/token_bucket.go type TokenBucket (line 5) | type TokenBucket interface type StaticTokenBucket (line 14) | type StaticTokenBucket struct method Take (line 58) | func (b StaticTokenBucket) Take() <-chan struct{} { method Put (line 62) | func (b StaticTokenBucket) Put() { method Do (line 66) | func (b StaticTokenBucket) Do(ctx context.Context, f func() error) err... function NewStaticTokenBucket (line 18) | func NewStaticTokenBucket(size int) StaticTokenBucket { function NewStaticTokenBucketWithMigration (line 26) | func NewStaticTokenBucketWithMigration(oldBucket TokenBucket, size int) ... type NopTokenBucket (line 79) | type NopTokenBucket struct method Take (line 89) | func (b NopTokenBucket) Take() <-chan struct{} { method Put (line 93) | func (b NopTokenBucket) Put() {} method Do (line 95) | func (b NopTokenBucket) Do(_ context.Context, f func() error) error { ... function NewNopTokenBucket (line 83) | func NewNopTokenBucket() NopTokenBucket { FILE: drivers/local/util.go function isSymlinkDir (line 27) | func isSymlinkDir(f fs.FileInfo, path string) bool { method GetSnapshot (line 47) | func (d *Local) GetSnapshot(videoPath string) (imgData *bytes.Buffer, er... function readDir (line 99) | func readDir(dirname string) ([]fs.FileInfo, error) { method getThumb (line 113) | func (d *Local) getThumb(file model.Obj) (*bytes.Buffer, *string, error) { type DirectoryMap (line 162) | type DirectoryMap struct method Has (line 183) | func (m *DirectoryMap) Has(path string) bool { method Get (line 189) | func (m *DirectoryMap) Get(path string) (*DirectoryNode, bool) { method Set (line 203) | func (m *DirectoryMap) Set(path string, node *DirectoryNode) { method Delete (line 207) | func (m *DirectoryMap) Delete(path string) { method Clear (line 211) | func (m *DirectoryMap) Clear() { method RecalculateDirSize (line 215) | func (m *DirectoryMap) RecalculateDirSize() error { method CalculateDirSize (line 234) | func (m *DirectoryMap) CalculateDirSize(dirname string) (int64, error) { method UpdateDirSize (line 321) | func (m *DirectoryMap) UpdateDirSize(dirname string) (int64, error) { method UpdateDirParents (line 370) | func (m *DirectoryMap) UpdateDirParents(dirname string) error { method DeleteDirNode (line 393) | func (m *DirectoryMap) DeleteDirNode(dirname string) error { type DirectoryNode (line 167) | type DirectoryNode struct type DirectoryTask (line 173) | type DirectoryTask struct type DirectoryTaskCache (line 178) | type DirectoryTaskCache struct method tryCopy (line 412) | func (d *Local) tryCopy(srcPath, dstPath string, info os.FileInfo) error { method copySymlink (line 426) | func (d *Local) copySymlink(srcPath, dstPath string) error { method recurAndTryCopy (line 450) | func (d *Local) recurAndTryCopy(srcPath, dstPath string) error { function tryReflinkCopy (line 480) | func tryReflinkCopy(srcPath, dstPath string) error { FILE: drivers/local/util_unix.go function isHidden (line 15) | func isHidden(f fs.FileInfo, _ string) bool { function getDiskUsage (line 19) | func getDiskUsage(path string) (model.DiskUsage, error) { function isCrossDeviceError (line 33) | func isCrossDeviceError(err error) bool { FILE: drivers/local/util_windows.go function isHidden (line 15) | func isHidden(f fs.FileInfo, fullPath string) bool { function getDiskUsage (line 28) | func getDiskUsage(path string) (model.DiskUsage, error) { function isCrossDeviceError (line 53) | func isCrossDeviceError(err error) bool { FILE: drivers/mediafire/driver.go type Mediafire (line 34) | type Mediafire struct method Config (line 53) | func (d *Mediafire) Config() driver.Config { method GetAddition (line 57) | func (d *Mediafire) GetAddition() driver.Additional { method Init (line 62) | func (d *Mediafire) Init(ctx context.Context) error { method Drop (line 98) | func (d *Mediafire) Drop(ctx context.Context) error { method List (line 109) | func (d *Mediafire) List(ctx context.Context, dir model.Obj, args mode... method Link (line 120) | func (d *Mediafire) Link(ctx context.Context, file model.Obj, args mod... method MakeDir (line 151) | func (d *Mediafire) MakeDir(ctx context.Context, parentDir model.Obj, ... method Move (line 182) | func (d *Mediafire) Move(ctx context.Context, srcObj, dstDir model.Obj... method Rename (line 220) | func (d *Mediafire) Rename(ctx context.Context, srcObj model.Obj, newN... method Copy (line 265) | func (d *Mediafire) Copy(ctx context.Context, srcObj, dstDir model.Obj... method Remove (line 321) | func (d *Mediafire) Remove(ctx context.Context, obj model.Obj) error { method Put (line 353) | func (d *Mediafire) Put(ctx context.Context, dstDir model.Obj, file mo... method GetDetails (line 409) | func (d *Mediafire) GetDetails(ctx context.Context) (*model.StorageDet... FILE: drivers/mediafire/meta.go type Addition (line 23) | type Addition struct function init (line 50) | func init() { FILE: drivers/mediafire/types.go type MediafireRenewTokenResponse (line 11) | type MediafireRenewTokenResponse struct type MediafireResponse (line 20) | type MediafireResponse struct type MediafireFolder (line 36) | type MediafireFolder struct type MediafireFile (line 43) | type MediafireFile struct type File (line 52) | type File struct type FolderContentResponse (line 60) | type FolderContentResponse struct type MediafireLinksResponse (line 66) | type MediafireLinksResponse struct type MediafireDirectDownloadResponse (line 85) | type MediafireDirectDownloadResponse struct type MediafireFolderCreateResponse (line 98) | type MediafireFolderCreateResponse struct type MediafireMoveResponse (line 120) | type MediafireMoveResponse struct type MediafireRenameResponse (line 131) | type MediafireRenameResponse struct type MediafireCopyResponse (line 141) | type MediafireCopyResponse struct type MediafireRemoveResponse (line 155) | type MediafireRemoveResponse struct type MediafireCheckResponse (line 165) | type MediafireCheckResponse struct type MediafireActionTokenResponse (line 196) | type MediafireActionTokenResponse struct type MediafirePollResponse (line 205) | type MediafirePollResponse struct type MediafireFileSearchResponse (line 225) | type MediafireFileSearchResponse struct type MediafireUserInfoResponse (line 234) | type MediafireUserInfoResponse struct FILE: drivers/mediafire/util.go function checkAPIResult (line 41) | func checkAPIResult(result string) error { method getSessionToken (line 49) | func (d *Mediafire) getSessionToken(ctx context.Context) (string, error) { method renewToken (line 153) | func (d *Mediafire) renewToken(ctx context.Context) error { method getFiles (line 181) | func (d *Mediafire) getFiles(ctx context.Context, folderKey string) ([]F... method getFolderContent (line 230) | func (d *Mediafire) getFolderContent(ctx context.Context, folderKey stri... method getFolderContentByType (line 248) | func (d *Mediafire) getFolderContentByType(ctx context.Context, folderKe... method fileToObj (line 276) | func (d *Mediafire) fileToObj(f File) *model.ObjThumb { method setCommonHeaders (line 300) | func (d *Mediafire) setCommonHeaders(req *resty.Request) { method apiRequest (line 310) | func (d *Mediafire) apiRequest(ctx context.Context, method, endpoint str... method getForm (line 357) | func (d *Mediafire) getForm(ctx context.Context, endpoint string, query ... method postForm (line 361) | func (d *Mediafire) postForm(ctx context.Context, endpoint string, data ... method getDirectDownloadLink (line 365) | func (d *Mediafire) getDirectDownloadLink(ctx context.Context, fileID st... method uploadCheck (line 390) | func (d *Mediafire) uploadCheck(ctx context.Context, filename string, fi... method uploadUnits (line 425) | func (d *Mediafire) uploadUnits(ctx context.Context, file model.FileStre... method getActionToken (line 623) | func (d *Mediafire) getActionToken(ctx context.Context) (string, error) { method pollUpload (line 648) | func (d *Mediafire) pollUpload(ctx context.Context, key string) (*Mediaf... method isUnitUploaded (line 680) | func (d *Mediafire) isUnitUploaded(words []int, unitID int) bool { method getExistingFileInfo (line 689) | func (d *Mediafire) getExistingFileInfo(ctx context.Context, fileHash, f... method getFileByHash (line 711) | func (d *Mediafire) getFileByHash(ctx context.Context, hash string) (*mo... FILE: drivers/mediatrack/driver.go type MediaTrack (line 26) | type MediaTrack struct method Config (line 31) | func (d *MediaTrack) Config() driver.Config { method GetAddition (line 35) | func (d *MediaTrack) GetAddition() driver.Additional { method Init (line 39) | func (d *MediaTrack) Init(ctx context.Context) error { method Drop (line 44) | func (d *MediaTrack) Drop(ctx context.Context) error { method List (line 48) | func (d *MediaTrack) List(ctx context.Context, dir model.Obj, args mod... method Link (line 73) | func (d *MediaTrack) Link(ctx context.Context, file model.Obj, args mo... method MakeDir (line 100) | func (d *MediaTrack) MakeDir(ctx context.Context, parentDir model.Obj,... method Move (line 111) | func (d *MediaTrack) Move(ctx context.Context, srcObj, dstDir model.Ob... method Rename (line 123) | func (d *MediaTrack) Rename(ctx context.Context, srcObj model.Obj, new... method Copy (line 134) | func (d *MediaTrack) Copy(ctx context.Context, srcObj, dstDir model.Ob... method Remove (line 146) | func (d *MediaTrack) Remove(ctx context.Context, obj model.Obj) error { method Put (line 164) | func (d *MediaTrack) Put(ctx context.Context, dstDir model.Obj, file m... FILE: drivers/mediatrack/meta.go type Addition (line 8) | type Addition struct function init (line 20) | func init() { FILE: drivers/mediatrack/types.go type BaseResp (line 9) | type BaseResp struct type File (line 13) | type File struct type ChildrenResp (line 35) | type ChildrenResp struct type UploadResp (line 46) | type UploadResp struct type Object (line 68) | type Object struct FILE: drivers/mediatrack/util.go method request (line 17) | func (d *MediaTrack) request(url string, method string, callback base.Re... method getFiles (line 39) | func (d *MediaTrack) getFiles(parentId string) ([]File, error) { FILE: drivers/mega/driver.go type Mega (line 23) | type Mega struct method Config (line 29) | func (d *Mega) Config() driver.Config { method GetAddition (line 33) | func (d *Mega) GetAddition() driver.Additional { method Init (line 37) | func (d *Mega) Init(ctx context.Context) error { method Drop (line 50) | func (d *Mega) Drop(ctx context.Context) error { method List (line 54) | func (d *Mega) List(ctx context.Context, dir model.Obj, args model.Lis... method GetRoot (line 82) | func (d *Mega) GetRoot(ctx context.Context) (model.Obj, error) { method Link (line 88) | func (d *Mega) Link(ctx context.Context, file model.Obj, args model.Li... method MakeDir (line 125) | func (d *Mega) MakeDir(ctx context.Context, parentDir model.Obj, dirNa... method Move (line 133) | func (d *Mega) Move(ctx context.Context, srcObj, dstDir model.Obj) err... method Rename (line 142) | func (d *Mega) Rename(ctx context.Context, srcObj model.Obj, newName s... method Copy (line 149) | func (d *Mega) Copy(ctx context.Context, srcObj, dstDir model.Obj) err... method Remove (line 153) | func (d *Mega) Remove(ctx context.Context, obj model.Obj) error { method Put (line 160) | func (d *Mega) Put(ctx context.Context, dstDir model.Obj, stream model... method GetDetails (line 198) | func (d *Mega) GetDetails(ctx context.Context) (*model.StorageDetails,... FILE: drivers/mega/meta.go type Addition (line 8) | type Addition struct function init (line 26) | func init() { FILE: drivers/mega/types.go type MegaNode (line 12) | type MegaNode struct method GetSize (line 16) | func (m *MegaNode) GetSize() int64 { method GetName (line 20) | func (m *MegaNode) GetName() string { method CreateTime (line 24) | func (m *MegaNode) CreateTime() time.Time { method GetHash (line 28) | func (m *MegaNode) GetHash() utils.HashInfo { method ModTime (line 33) | func (m *MegaNode) ModTime() time.Time { method IsDir (line 37) | func (m *MegaNode) IsDir() bool { method GetID (line 41) | func (m *MegaNode) GetID() string { method GetPath (line 45) | func (m *MegaNode) GetPath() string { FILE: drivers/mega/util.go type openObject (line 16) | type openObject struct method getChunk (line 27) | func (oo *openObject) getChunk(ctx context.Context) (err error) { method Read (line 45) | func (oo *openObject) Read(p []byte) (n int, err error) { method Close (line 79) | func (oo *openObject) Close() (err error) { FILE: drivers/misskey/driver.go type Misskey (line 12) | type Misskey struct method Config (line 17) | func (d *Misskey) Config() driver.Config { method GetAddition (line 21) | func (d *Misskey) GetAddition() driver.Additional { method Init (line 25) | func (d *Misskey) Init(ctx context.Context) error { method Drop (line 34) | func (d *Misskey) Drop(ctx context.Context) error { method List (line 38) | func (d *Misskey) List(ctx context.Context, dir model.Obj, args model.... method Link (line 42) | func (d *Misskey) Link(ctx context.Context, file model.Obj, args model... method MakeDir (line 46) | func (d *Misskey) MakeDir(ctx context.Context, parentDir model.Obj, di... method Move (line 50) | func (d *Misskey) Move(ctx context.Context, srcObj, dstDir model.Obj) ... method Rename (line 54) | func (d *Misskey) Rename(ctx context.Context, srcObj model.Obj, newNam... method Copy (line 58) | func (d *Misskey) Copy(ctx context.Context, srcObj, dstDir model.Obj) ... method Remove (line 62) | func (d *Misskey) Remove(ctx context.Context, obj model.Obj) error { method Put (line 66) | func (d *Misskey) Put(ctx context.Context, dstDir model.Obj, stream mo... FILE: drivers/misskey/meta.go type Addition (line 8) | type Addition struct function init (line 22) | func init() { FILE: drivers/misskey/types.go type Resp (line 3) | type Resp struct type Properties (line 8) | type Properties struct type MFile (line 13) | type MFile struct type MFolder (line 30) | type MFolder struct FILE: drivers/misskey/util.go method request (line 21) | func (d *Misskey) request(path, method string, callback base.ReqCallback... method getThumb (line 48) | func (d *Misskey) getThumb(ctx context.Context, obj model.Obj) (io.Reade... function setBody (line 53) | func setBody(body interface{}) base.ReqCallback { function handleFolderId (line 59) | func handleFolderId(dir model.Obj) interface{} { function isRootFolder (line 66) | func isRootFolder(dir model.Obj) bool { method getFiles (line 72) | func (d *Misskey) getFiles(dir model.Obj) ([]model.Obj, error) { method getFolders (line 89) | func (d *Misskey) getFolders(dir model.Obj) ([]model.Obj, error) { method list (line 106) | func (d *Misskey) list(dir model.Obj) ([]model.Obj, error) { method link (line 112) | func (d *Misskey) link(file model.Obj) (*model.Link, error) { method makeDir (line 123) | func (d *Misskey) makeDir(parentDir model.Obj, dirName string) (model.Ob... method move (line 132) | func (d *Misskey) move(srcObj, dstDir model.Obj) (model.Obj, error) { method rename (line 144) | func (d *Misskey) rename(srcObj model.Obj, newName string) (model.Obj, e... method copy (line 156) | func (d *Misskey) copy(srcObj, dstDir model.Obj) (model.Obj, error) { method remove (line 187) | func (d *Misskey) remove(obj model.Obj) error { method put (line 197) | func (d *Misskey) put(ctx context.Context, dstDir model.Obj, stream mode... function mFile2Object (line 236) | func mFile2Object(file MFile) *model.ObjThumbURL { function mFolder2Object (line 258) | func mFolder2Object(folder MFolder) *model.Object { FILE: drivers/mopan/driver.go type MoPan (line 24) | type MoPan struct method Config (line 33) | func (d *MoPan) Config() driver.Config { method GetAddition (line 37) | func (d *MoPan) GetAddition() driver.Additional { method Init (line 41) | func (d *MoPan) Init(ctx context.Context) error { method Drop (line 104) | func (d *MoPan) Drop(ctx context.Context) error { method List (line 110) | func (d *MoPan) List(ctx context.Context, dir model.Obj, args model.Li... method Link (line 135) | func (d *MoPan) Link(ctx context.Context, file model.Obj, args model.L... method MakeDir (line 158) | func (d *MoPan) MakeDir(ctx context.Context, parentDir model.Obj, dirN... method Move (line 168) | func (d *MoPan) Move(ctx context.Context, srcObj, dstDir model.Obj) (m... method Rename (line 172) | func (d *MoPan) Rename(ctx context.Context, srcObj model.Obj, newName ... method Copy (line 191) | func (d *MoPan) Copy(ctx context.Context, srcObj, dstDir model.Obj) (m... method newTask (line 195) | func (d *MoPan) newTask(srcObj, dstDir model.Obj, taskType mopan.TaskT... method Remove (line 254) | func (d *MoPan) Remove(ctx context.Context, obj model.Obj) error { method Put (line 265) | func (d *MoPan) Put(ctx context.Context, dstDir model.Obj, stream mode... method GetDetails (line 359) | func (d *MoPan) GetDetails(ctx context.Context) (*model.StorageDetails... FILE: drivers/mopan/meta.go type Addition (line 8) | type Addition struct method GetRootId (line 25) | func (a *Addition) GetRootId() string { function init (line 35) | func init() { FILE: drivers/mopan/util.go function fileToObj (line 11) | func fileToObj(f mopan.File) model.Obj { function folderToObj (line 27) | func folderToObj(f mopan.Folder) model.Obj { function CloneObj (line 37) | func CloneObj(o model.Obj, newID, newName string) model.Obj { FILE: drivers/netease_music/crypto.go function aesKeyPending (line 29) | func aesKeyPending(key []byte) []byte { function pkcs7Padding (line 49) | func pkcs7Padding(src []byte, blockSize int) []byte { function aesCBCEncrypt (line 55) | func aesCBCEncrypt(src, key, iv []byte) []byte { function aesECBEncrypt (line 66) | func aesECBEncrypt(src, key []byte) []byte { function ecbCryptBlocks (line 77) | func ecbCryptBlocks(block cipher.Block, dst, src []byte) { function rsaEncrypt (line 87) | func rsaEncrypt(buffer, key []byte) []byte { function getSecretKey (line 97) | func getSecretKey() ([]byte, []byte) { function weapi (line 108) | func weapi(data map[string]string) map[string]string { function eapi (line 118) | func eapi(url string, data map[string]interface{}) map[string]string { function linuxapi (line 130) | func linuxapi(data map[string]interface{}) map[string]string { FILE: drivers/netease_music/driver.go type NeteaseMusic (line 13) | type NeteaseMusic struct method Config (line 22) | func (d *NeteaseMusic) Config() driver.Config { method GetAddition (line 26) | func (d *NeteaseMusic) GetAddition() driver.Additional { method Init (line 30) | func (d *NeteaseMusic) Init(ctx context.Context) error { method Drop (line 41) | func (d *NeteaseMusic) Drop(ctx context.Context) error { method Get (line 49) | func (d *NeteaseMusic) Get(ctx context.Context, path string) (model.Ob... method List (line 67) | func (d *NeteaseMusic) List(ctx context.Context, dir model.Obj, args m... method Link (line 71) | func (d *NeteaseMusic) Link(ctx context.Context, file model.Obj, args ... method Remove (line 83) | func (d *NeteaseMusic) Remove(ctx context.Context, obj model.Obj) error { method Put (line 87) | func (d *NeteaseMusic) Put(ctx context.Context, dstDir model.Obj, stre... method Copy (line 91) | func (d *NeteaseMusic) Copy(ctx context.Context, srcObj, dstDir model.... method Move (line 95) | func (d *NeteaseMusic) Move(ctx context.Context, srcObj, dstDir model.... method MakeDir (line 99) | func (d *NeteaseMusic) MakeDir(ctx context.Context, parentDir model.Ob... method Rename (line 103) | func (d *NeteaseMusic) Rename(ctx context.Context, srcObj model.Obj, n... method GetRootPath (line 45) | func (Addition) GetRootPath() string { FILE: drivers/netease_music/meta.go type Addition (line 10) | type Addition struct method getCookie (line 15) | func (ad *Addition) getCookie(name string) string { function init (line 28) | func init() { FILE: drivers/netease_music/types.go type HostsResp (line 19) | type HostsResp struct type SongResp (line 23) | type SongResp struct type ListResp (line 29) | type ListResp struct type LyricObj (line 45) | type LyricObj struct method getProxyLink (line 50) | func (lrc *LyricObj) getProxyLink(ctx context.Context) *model.Link { method getLyricLink (line 56) | func (lrc *LyricObj) getLyricLink() *model.Link { type ReqOption (line 62) | type ReqOption struct type Characteristic (line 73) | type Characteristic method fromDriver (line 75) | func (ch *Characteristic) fromDriver(d *NeteaseMusic) *Characteristic { method toCookies (line 92) | func (ch Characteristic) toCookies() []*http.Cookie { method merge (line 100) | func (ch *Characteristic) merge(data map[string]string) map[string]int... FILE: drivers/netease_music/upload.go type token (line 19) | type token struct type songmeta (line 25) | type songmeta struct type uploader (line 33) | type uploader struct method init (line 43) | func (u *uploader) init(stream model.FileStreamer) error { method checkIfExisted (line 89) | func (u *uploader) checkIfExisted() error { method allocToken (line 117) | func (u *uploader) allocToken(bucket ...string) (token, error) { method publishInfo (line 145) | func (u *uploader) publishInfo(resourceId string) error { method upload (line 176) | func (u *uploader) upload(ctx context.Context, stream model.FileStream... FILE: drivers/netease_music/util.go method request (line 19) | func (d *NeteaseMusic) request(url, method string, opt ReqOption) ([]byt... method getSongObjs (line 96) | func (d *NeteaseMusic) getSongObjs(args model.ListArgs) ([]model.Obj, er... method getSongLink (line 147) | func (d *NeteaseMusic) getSongLink(file model.Obj) (*model.Link, error) { method getLyricObj (line 177) | func (d *NeteaseMusic) getLyricObj(file model.Obj) (model.Obj, error) { method removeSongObj (line 214) | func (d *NeteaseMusic) removeSongObj(file model.Obj) error { method putSongStream (line 225) | func (d *NeteaseMusic) putSongStream(ctx context.Context, stream model.F... FILE: drivers/onedrive/driver.go type Onedrive (line 19) | type Onedrive struct method Config (line 28) | func (d *Onedrive) Config() driver.Config { method GetAddition (line 32) | func (d *Onedrive) GetAddition() driver.Additional { method Init (line 36) | func (d *Onedrive) Init(ctx context.Context) error { method InitReference (line 46) | func (d *Onedrive) InitReference(refStorage driver.Driver) error { method Drop (line 54) | func (d *Onedrive) Drop(ctx context.Context) error { method GetRoot (line 59) | func (d *Onedrive) GetRoot(ctx context.Context) (model.Obj, error) { method List (line 95) | func (d *Onedrive) List(ctx context.Context, dir model.Obj, args model... method Link (line 107) | func (d *Onedrive) Link(ctx context.Context, file model.Obj, args mode... method MakeDir (line 129) | func (d *Onedrive) MakeDir(ctx context.Context, parentDir model.Obj, d... method Move (line 143) | func (d *Onedrive) Move(ctx context.Context, srcObj, dstDir model.Obj)... method Rename (line 167) | func (d *Onedrive) Rename(ctx context.Context, srcObj model.Obj, newNa... method Copy (line 190) | func (d *Onedrive) Copy(ctx context.Context, srcObj, dstDir model.Obj)... method Remove (line 209) | func (d *Onedrive) Remove(ctx context.Context, obj model.Obj) error { method Put (line 215) | func (d *Onedrive) Put(ctx context.Context, dstDir model.Obj, stream m... method GetDetails (line 225) | func (d *Onedrive) GetDetails(ctx context.Context) (*model.StorageDeta... method GetDirectUploadTools (line 241) | func (d *Onedrive) GetDirectUploadTools() []string { method GetDirectUploadInfo (line 249) | func (d *Onedrive) GetDirectUploadInfo(ctx context.Context, _ string, ... FILE: drivers/onedrive/meta.go type Addition (line 8) | type Addition struct function init (line 31) | func init() { FILE: drivers/onedrive/types.go type Host (line 9) | type Host struct type TokenErr (line 14) | type TokenErr struct type RespErr (line 19) | type RespErr struct type File (line 26) | type File struct type Object (line 45) | type Object struct function fileToObj (line 50) | func fileToObj(f File, parentID string) *Object { type Files (line 71) | type Files struct type Metadata (line 79) | type Metadata struct type FileSystemInfoFacet (line 88) | type FileSystemInfoFacet struct type DriveResp (line 93) | type DriveResp struct FILE: drivers/onedrive/util.go method GetMetaUrl (line 43) | func (d *Onedrive) GetMetaUrl(auth bool, path string) string { method refreshToken (line 64) | func (d *Onedrive) refreshToken() error { method _refreshToken (line 75) | func (d *Onedrive) _refreshToken() error { method Request (line 135) | func (d *Onedrive) Request(url string, method string, callback base.ReqC... method getFiles (line 166) | func (d *Onedrive) getFiles(path string) ([]File, error) { method GetFile (line 181) | func (d *Onedrive) GetFile(path string) (*File, error) { method upSmall (line 188) | func (d *Onedrive) upSmall(ctx context.Context, dstDir model.Obj, stream... method updateMetadata (line 208) | func (d *Onedrive) updateMetadata(ctx context.Context, stream model.File... function toAPIMetadata (line 218) | func toAPIMetadata(stream model.FileStreamer) Metadata { method upBig (line 234) | func (d *Onedrive) upBig(ctx context.Context, dstDir model.Obj, stream m... method getDrive (line 302) | func (d *Onedrive) getDrive(ctx context.Context) (*DriveResp, error) { method getDirectUploadInfo (line 320) | func (d *Onedrive) getDirectUploadInfo(ctx context.Context, path string)... FILE: drivers/onedrive_app/driver.go type OnedriveAPP (line 19) | type OnedriveAPP struct method Config (line 27) | func (d *OnedriveAPP) Config() driver.Config { method GetAddition (line 31) | func (d *OnedriveAPP) GetAddition() driver.Additional { method Init (line 35) | func (d *OnedriveAPP) Init(ctx context.Context) error { method Drop (line 42) | func (d *OnedriveAPP) Drop(ctx context.Context) error { method GetRoot (line 46) | func (d *OnedriveAPP) GetRoot(ctx context.Context) (model.Obj, error) { method List (line 82) | func (d *OnedriveAPP) List(ctx context.Context, dir model.Obj, args mo... method Link (line 94) | func (d *OnedriveAPP) Link(ctx context.Context, file model.Obj, args m... method MakeDir (line 116) | func (d *OnedriveAPP) MakeDir(ctx context.Context, parentDir model.Obj... method Move (line 129) | func (d *OnedriveAPP) Move(ctx context.Context, srcObj, dstDir model.O... method Rename (line 153) | func (d *OnedriveAPP) Rename(ctx context.Context, srcObj model.Obj, ne... method Copy (line 176) | func (d *OnedriveAPP) Copy(ctx context.Context, srcObj, dstDir model.O... method Remove (line 195) | func (d *OnedriveAPP) Remove(ctx context.Context, obj model.Obj) error { method Put (line 201) | func (d *OnedriveAPP) Put(ctx context.Context, dstDir model.Obj, strea... method GetDetails (line 211) | func (d *OnedriveAPP) GetDetails(ctx context.Context) (*model.StorageD... method GetDirectUploadTools (line 227) | func (d *OnedriveAPP) GetDirectUploadTools() []string { method GetDirectUploadInfo (line 234) | func (d *OnedriveAPP) GetDirectUploadInfo(ctx context.Context, _ strin... FILE: drivers/onedrive_app/meta.go type Addition (line 8) | type Addition struct function init (line 27) | func init() { FILE: drivers/onedrive_app/types.go type Host (line 9) | type Host struct type TokenErr (line 14) | type TokenErr struct type RespErr (line 19) | type RespErr struct type File (line 26) | type File struct type Object (line 45) | type Object struct function fileToObj (line 50) | func fileToObj(f File, parentID string) *Object { type Files (line 71) | type Files struct type DriveResp (line 76) | type DriveResp struct FILE: drivers/onedrive_app/util.go method GetMetaUrl (line 43) | func (d *OnedriveAPP) GetMetaUrl(auth bool, path string) string { method accessToken (line 55) | func (d *OnedriveAPP) accessToken() error { method _accessToken (line 66) | func (d *OnedriveAPP) _accessToken() error { method Request (line 91) | func (d *OnedriveAPP) Request(url string, method string, callback base.R... method getFiles (line 119) | func (d *OnedriveAPP) getFiles(path string) ([]File, error) { method GetFile (line 134) | func (d *OnedriveAPP) GetFile(path string) (*File, error) { method upSmall (line 141) | func (d *OnedriveAPP) upSmall(ctx context.Context, dstDir model.Obj, str... method upBig (line 149) | func (d *OnedriveAPP) upBig(ctx context.Context, dstDir model.Obj, strea... method getDrive (line 214) | func (d *OnedriveAPP) getDrive(ctx context.Context) (*DriveResp, error) { method getDirectUploadInfo (line 227) | func (d *OnedriveAPP) getDirectUploadInfo(ctx context.Context, path stri... FILE: drivers/onedrive_sharelink/driver.go constant headerTTL (line 24) | headerTTL = 25 * time.Minute type OnedriveSharelink (line 26) | type OnedriveSharelink struct method Config (line 35) | func (d *OnedriveSharelink) Config() driver.Config { method GetAddition (line 39) | func (d *OnedriveSharelink) GetAddition() driver.Additional { method Init (line 43) | func (d *OnedriveSharelink) Init(ctx context.Context) error { method Drop (line 72) | func (d *OnedriveSharelink) Drop(ctx context.Context) error { method List (line 76) | func (d *OnedriveSharelink) List(ctx context.Context, dir model.Obj, a... method Link (line 90) | func (d *OnedriveSharelink) Link(ctx context.Context, file model.Obj, ... method MakeDir (line 111) | func (d *OnedriveSharelink) MakeDir(ctx context.Context, parentDir mod... method Move (line 116) | func (d *OnedriveSharelink) Move(ctx context.Context, srcObj, dstDir m... method Rename (line 121) | func (d *OnedriveSharelink) Rename(ctx context.Context, srcObj model.O... method Copy (line 126) | func (d *OnedriveSharelink) Copy(ctx context.Context, srcObj, dstDir m... method Remove (line 131) | func (d *OnedriveSharelink) Remove(ctx context.Context, obj model.Obj)... method Put (line 136) | func (d *OnedriveSharelink) Put(ctx context.Context, dstDir model.Obj,... method rangeReadWithRefresh (line 149) | func (d *OnedriveSharelink) rangeReadWithRefresh(ctx context.Context, ... method headerSnapshot (line 197) | func (d *OnedriveSharelink) headerSnapshot() http.Header { method storeHeaders (line 203) | func (d *OnedriveSharelink) storeHeaders(header http.Header) { method headersExpired (line 213) | func (d *OnedriveSharelink) headersExpired() bool { method refreshHeaders (line 219) | func (d *OnedriveSharelink) refreshHeaders(ctx context.Context) (http.... method getValidHeaders (line 231) | func (d *OnedriveSharelink) getValidHeaders(ctx context.Context) (http... type rangeReaderFunc (line 184) | type rangeReaderFunc method RangeRead (line 186) | func (f rangeReaderFunc) RangeRead(ctx context.Context, hr http_range.... function cloneHeader (line 190) | func cloneHeader(header http.Header) http.Header { FILE: drivers/onedrive_sharelink/meta.go type Addition (line 10) | type Addition struct function init (line 27) | func init() { FILE: drivers/onedrive_sharelink/types.go type FolderResp (line 11) | type FolderResp struct type Item (line 25) | type Item struct function fileToObj (line 34) | func fileToObj(f Item) *model.ObjThumb { type GraphQLNEWRequest (line 55) | type GraphQLNEWRequest struct type GraphQLRequest (line 63) | type GraphQLRequest struct FILE: drivers/onedrive_sharelink/util.go function NewNoRedirectCLient (line 22) | func NewNoRedirectCLient() *http.Client { function getCookiesWithPassword (line 37) | func getCookiesWithPassword(link, password string) (string, error) { function getAttrValue (line 125) | func getAttrValue(n *html.Node, key string) string { method getHeaders (line 135) | func (d *OnedriveSharelink) getHeaders(ctx context.Context) (http.Header... method getFiles (line 184) | func (d *OnedriveSharelink) getFiles(ctx context.Context, path string) (... FILE: drivers/openlist/driver.go type OpenList (line 23) | type OpenList struct method Config (line 28) | func (d *OpenList) Config() driver.Config { method GetAddition (line 32) | func (d *OpenList) GetAddition() driver.Additional { method Init (line 36) | func (d *OpenList) Init(ctx context.Context) error { method Drop (line 73) | func (d *OpenList) Drop(ctx context.Context) error { method List (line 77) | func (d *OpenList) List(ctx context.Context, dir model.Obj, args model... method Link (line 112) | func (d *OpenList) Link(ctx context.Context, file model.Obj, args mode... method MakeDir (line 146) | func (d *OpenList) MakeDir(ctx context.Context, parentDir model.Obj, d... method Move (line 155) | func (d *OpenList) Move(ctx context.Context, srcObj, dstDir model.Obj)... method Rename (line 166) | func (d *OpenList) Rename(ctx context.Context, srcObj model.Obj, newNa... method Copy (line 176) | func (d *OpenList) Copy(ctx context.Context, srcObj, dstDir model.Obj)... method Remove (line 187) | func (d *OpenList) Remove(ctx context.Context, obj model.Obj) error { method Put (line 197) | func (d *OpenList) Put(ctx context.Context, dstDir model.Obj, s model.... method GetArchiveMeta (line 248) | func (d *OpenList) GetArchiveMeta(ctx context.Context, obj model.Obj, ... method ListArchive (line 281) | func (d *OpenList) ListArchive(ctx context.Context, obj model.Obj, arg... method Extract (line 325) | func (d *OpenList) Extract(ctx context.Context, obj model.Obj, args mo... method ArchiveDecompress (line 350) | func (d *OpenList) ArchiveDecompress(ctx context.Context, srcObj, dstD... method ResolveLinkCacheMode (line 370) | func (d *OpenList) ResolveLinkCacheMode(_ string) driver.LinkCacheMode { FILE: drivers/openlist/meta.go type Addition (line 8) | type Addition struct function init (line 28) | func init() { FILE: drivers/openlist/types.go type ListReq (line 10) | type ListReq struct type ObjResp (line 17) | type ObjResp struct type FsListResp (line 29) | type FsListResp struct type FsGetReq (line 37) | type FsGetReq struct type FsGetResp (line 42) | type FsGetResp struct type MkdirOrLinkReq (line 50) | type MkdirOrLinkReq struct type MoveCopyReq (line 54) | type MoveCopyReq struct type RenameReq (line 60) | type RenameReq struct type RemoveReq (line 65) | type RemoveReq struct type LoginResp (line 70) | type LoginResp struct type MeResp (line 74) | type MeResp struct type ArchiveMetaReq (line 86) | type ArchiveMetaReq struct type TreeResp (line 93) | type TreeResp struct method GetSize (line 99) | func (t *TreeResp) GetSize() int64 { method GetName (line 103) | func (t *TreeResp) GetName() string { method ModTime (line 107) | func (t *TreeResp) ModTime() time.Time { method CreateTime (line 111) | func (t *TreeResp) CreateTime() time.Time { method IsDir (line 115) | func (t *TreeResp) IsDir() bool { method GetHash (line 119) | func (t *TreeResp) GetHash() utils.HashInfo { method GetID (line 123) | func (t *TreeResp) GetID() string { method GetPath (line 127) | func (t *TreeResp) GetPath() string { method GetChildren (line 131) | func (t *TreeResp) GetChildren() []model.ObjTree { method Thumb (line 139) | func (t *TreeResp) Thumb() string { type ArchiveMetaResp (line 143) | type ArchiveMetaResp struct type ArchiveListReq (line 151) | type ArchiveListReq struct type ArchiveListResp (line 157) | type ArchiveListResp struct type DecompressReq (line 162) | type DecompressReq struct FILE: drivers/openlist/util.go method login (line 15) | func (d *OpenList) login() error { method request (line 34) | func (d *OpenList) request(api, method string, callback base.ReqCallback... FILE: drivers/openlist_share/driver.go type OpenListShare (line 19) | type OpenListShare struct method Config (line 25) | func (d *OpenListShare) Config() driver.Config { method GetAddition (line 29) | func (d *OpenListShare) GetAddition() driver.Additional { method Init (line 33) | func (d *OpenListShare) Init(ctx context.Context) error { method Drop (line 46) | func (d *OpenListShare) Drop(ctx context.Context) error { method List (line 50) | func (d *OpenListShare) List(ctx context.Context, dir model.Obj, args ... method Link (line 85) | func (d *OpenListShare) Link(ctx context.Context, file model.Obj, args... method GetArchiveMeta (line 91) | func (d *OpenListShare) GetArchiveMeta(ctx context.Context, obj model.... method ListArchive (line 124) | func (d *OpenListShare) ListArchive(ctx context.Context, obj model.Obj... method Extract (line 168) | func (d *OpenListShare) Extract(ctx context.Context, obj model.Obj, ar... FILE: drivers/openlist_share/meta.go type Addition (line 8) | type Addition struct function init (line 23) | func init() { FILE: drivers/openlist_share/types.go type ListReq (line 10) | type ListReq struct type ObjResp (line 17) | type ObjResp struct type FsListResp (line 29) | type FsListResp struct type ArchiveMetaReq (line 37) | type ArchiveMetaReq struct type TreeResp (line 44) | type TreeResp struct method GetSize (line 50) | func (t *TreeResp) GetSize() int64 { method GetName (line 54) | func (t *TreeResp) GetName() string { method ModTime (line 58) | func (t *TreeResp) ModTime() time.Time { method CreateTime (line 62) | func (t *TreeResp) CreateTime() time.Time { method IsDir (line 66) | func (t *TreeResp) IsDir() bool { method GetHash (line 70) | func (t *TreeResp) GetHash() utils.HashInfo { method GetID (line 74) | func (t *TreeResp) GetID() string { method GetPath (line 78) | func (t *TreeResp) GetPath() string { method GetChildren (line 82) | func (t *TreeResp) GetChildren() []model.ObjTree { method Thumb (line 90) | func (t *TreeResp) Thumb() string { type ArchiveMetaResp (line 94) | type ArchiveMetaResp struct type ArchiveListReq (line 102) | type ArchiveListReq struct type ArchiveListResp (line 108) | type ArchiveListResp struct FILE: drivers/openlist_share/util.go method request (line 10) | func (d *OpenListShare) request(api, method string, callback base.ReqCal... FILE: drivers/pikpak/driver.go type PikPak (line 22) | type PikPak struct method Config (line 30) | func (d *PikPak) Config() driver.Config { method GetAddition (line 34) | func (d *PikPak) GetAddition() driver.Additional { method Init (line 38) | func (d *PikPak) Init(ctx context.Context) (err error) { method Drop (line 116) | func (d *PikPak) Drop(ctx context.Context) error { method List (line 120) | func (d *PikPak) List(ctx context.Context, dir model.Obj, args model.L... method Link (line 130) | func (d *PikPak) Link(ctx context.Context, file model.Obj, args model.... method MakeDir (line 161) | func (d *PikPak) MakeDir(ctx context.Context, parentDir model.Obj, dir... method Move (line 172) | func (d *PikPak) Move(ctx context.Context, srcObj, dstDir model.Obj) e... method Rename (line 184) | func (d *PikPak) Rename(ctx context.Context, srcObj model.Obj, newName... method Copy (line 193) | func (d *PikPak) Copy(ctx context.Context, srcObj, dstDir model.Obj) e... method Remove (line 205) | func (d *PikPak) Remove(ctx context.Context, obj model.Obj) error { method Put (line 214) | func (d *PikPak) Put(ctx context.Context, dstDir model.Obj, stream mod... method GetDetails (line 262) | func (d *PikPak) GetDetails(ctx context.Context) (*model.StorageDetail... method OfflineDownload (line 287) | func (d *PikPak) OfflineDownload(ctx context.Context, fileUrl string, ... method OfflineList (line 316) | func (d *PikPak) OfflineList(ctx context.Context, nextPageToken string... method DeleteOfflineTasks (line 357) | func (d *PikPak) DeleteOfflineTasks(ctx context.Context, taskIDs []str... FILE: drivers/pikpak/meta.go type Addition (line 8) | type Addition struct function init (line 24) | func init() { FILE: drivers/pikpak/types.go type Files (line 13) | type Files struct type File (line 18) | type File struct function fileToObj (line 31) | func fileToObj(f File) *model.ObjThumb { type Media (line 49) | type Media struct type UploadTaskData (line 79) | type UploadTaskData struct type S3Params (line 91) | type S3Params struct type OfflineDownloadResp (line 102) | type OfflineDownloadResp struct type OfflineListResp (line 112) | type OfflineListResp struct type OfflineTask (line 119) | type OfflineTask struct type Params (line 143) | type Params struct type ReferenceResource (line 150) | type ReferenceResource struct type ErrResp (line 170) | type ErrResp struct method IsError (line 176) | func (e *ErrResp) IsError() bool { method Error (line 180) | func (e *ErrResp) Error() string { type CaptchaTokenRequest (line 184) | type CaptchaTokenRequest struct type CaptchaTokenResponse (line 193) | type CaptchaTokenResponse struct type AboutResponse (line 199) | type AboutResponse struct FILE: drivers/pikpak/util.go constant OSSUserAgent (line 74) | OSSUserAgent = "aliyun-sdk-android/2.9.13(Linux/Android 14... constant OssSecurityTokenHeaderName (line 75) | OssSecurityTokenHeaderName = "X-OSS-Security-Token" constant ThreadsNum (line 76) | ThreadsNum = 10 constant AndroidClientID (line 80) | AndroidClientID = "YNxT9w7GMdWvEOKa" constant AndroidClientSecret (line 81) | AndroidClientSecret = "dbw2OtmVEeuUvIptb1Coyg" constant AndroidClientVersion (line 82) | AndroidClientVersion = "1.53.2" constant AndroidPackageName (line 83) | AndroidPackageName = "com.pikcloud.pikpak" constant AndroidSdkVersion (line 84) | AndroidSdkVersion = "2.0.6.206003" constant WebClientID (line 85) | WebClientID = "YUMx5nI8ZU8Ap8pm" constant WebClientSecret (line 86) | WebClientSecret = "dbw2OtmVEeuUvIptb1Coyg" constant WebClientVersion (line 87) | WebClientVersion = "2.0.0" constant WebPackageName (line 88) | WebPackageName = "mypikpak.com" constant WebSdkVersion (line 89) | WebSdkVersion = "8.0.3" constant PCClientID (line 90) | PCClientID = "YvtoWO6GNHiuCl7x" constant PCClientSecret (line 91) | PCClientSecret = "1NIH5R1IEe2pAxZE3hv3uA" constant PCClientVersion (line 92) | PCClientVersion = "undefined" constant PCPackageName (line 93) | PCPackageName = "mypikpak.com" constant PCSdkVersion (line 94) | PCSdkVersion = "8.0.3" method login (line 97) | func (d *PikPak) login() error { method refreshToken (line 132) | func (d *PikPak) refreshToken(refreshToken string) error { method request (line 171) | func (d *PikPak) request(url string, method string, callback base.ReqCal... method getFiles (line 217) | func (d *PikPak) getFiles(id string) ([]File, error) { function GetAction (line 245) | func GetAction(method string, url string) string { type Common (line 250) | type Common struct method SetDeviceID (line 320) | func (c *Common) SetDeviceID(deviceID string) { method SetUserID (line 324) | func (c *Common) SetUserID(userID string) { method SetUserAgent (line 328) | func (c *Common) SetUserAgent(userAgent string) { method SetCaptchaToken (line 332) | func (c *Common) SetCaptchaToken(captchaToken string) { method GetCaptchaToken (line 335) | func (c *Common) GetCaptchaToken() string { method GetUserAgent (line 339) | func (c *Common) GetUserAgent() string { method GetDeviceID (line 343) | func (c *Common) GetDeviceID() string { method GetUserID (line 347) | func (c *Common) GetUserID() string { method GetCaptchaSign (line 376) | func (c *Common) GetCaptchaSign() (timestamp, sign string) { function generateDeviceSign (line 266) | func generateDeviceSign(deviceID, packageName string) string { function BuildCustomUserAgent (line 287) | func BuildCustomUserAgent(deviceID, clientID, appName, sdkVersion, clien... method RefreshCaptchaTokenAtLogin (line 352) | func (d *PikPak) RefreshCaptchaTokenAtLogin(action, userID string) error { method RefreshCaptchaTokenInLogin (line 363) | func (d *PikPak) RefreshCaptchaTokenInLogin(action, username string) err... method refreshCaptchaToken (line 387) | func (d *PikPak) refreshCaptchaToken(action string, metas map[string]str... method UploadByOSS (line 421) | func (d *PikPak) UploadByOSS(ctx context.Context, params *S3Params, s mo... method UploadByMultipart (line 441) | func (d *PikPak) UploadByMultipart(ctx context.Context, params *S3Params... function chunksProducer (line 566) | func chunksProducer(ch chan oss.FileChunk, chunks []oss.FileChunk) { function SplitFile (line 572) | func SplitFile(fileSize int64) (chunks []oss.FileChunk, err error) { function SplitFileByPartNum (line 597) | func SplitFileByPartNum(fileSize int64, chunkNum int) ([]oss.FileChunk, ... function SplitFileByPartSize (line 625) | func SplitFileByPartSize(fileSize int64, chunkSize int64) ([]oss.FileChu... function OssOption (line 655) | func OssOption(params *S3Params) []oss.Option { FILE: drivers/pikpak_share/driver.go type PikPakShare (line 16) | type PikPakShare struct method Config (line 23) | func (d *PikPakShare) Config() driver.Config { method GetAddition (line 27) | func (d *PikPakShare) GetAddition() driver.Additional { method Init (line 31) | func (d *PikPakShare) Init(ctx context.Context) error { method Drop (line 86) | func (d *PikPakShare) Drop(ctx context.Context) error { method List (line 90) | func (d *PikPakShare) List(ctx context.Context, dir model.Obj, args mo... method Link (line 100) | func (d *PikPakShare) Link(ctx context.Context, file model.Obj, args m... FILE: drivers/pikpak_share/meta.go type Addition (line 8) | type Addition struct function init (line 23) | func init() { FILE: drivers/pikpak_share/types.go type ShareResp (line 11) | type ShareResp struct type File (line 20) | type File struct function fileToObj (line 32) | func fileToObj(f File) *model.ObjThumb { type Media (line 48) | type Media struct type CaptchaTokenRequest (line 78) | type CaptchaTokenRequest struct type CaptchaTokenResponse (line 87) | type CaptchaTokenResponse struct type ErrResp (line 93) | type ErrResp struct method IsError (line 99) | func (e *ErrResp) IsError() bool { method Error (line 103) | func (e *ErrResp) Error() string { FILE: drivers/pikpak_share/util.go constant AndroidClientID (line 63) | AndroidClientID = "YNxT9w7GMdWvEOKa" constant AndroidClientSecret (line 64) | AndroidClientSecret = "dbw2OtmVEeuUvIptb1Coyg" constant AndroidClientVersion (line 65) | AndroidClientVersion = "1.53.2" constant AndroidPackageName (line 66) | AndroidPackageName = "com.pikcloud.pikpak" constant AndroidSdkVersion (line 67) | AndroidSdkVersion = "2.0.6.206003" constant WebClientID (line 68) | WebClientID = "YUMx5nI8ZU8Ap8pm" constant WebClientSecret (line 69) | WebClientSecret = "dbw2OtmVEeuUvIptb1Coyg" constant WebClientVersion (line 70) | WebClientVersion = "2.0.0" constant WebPackageName (line 71) | WebPackageName = "mypikpak.com" constant WebSdkVersion (line 72) | WebSdkVersion = "8.0.3" constant PCClientID (line 73) | PCClientID = "YvtoWO6GNHiuCl7x" constant PCClientSecret (line 74) | PCClientSecret = "1NIH5R1IEe2pAxZE3hv3uA" constant PCClientVersion (line 75) | PCClientVersion = "undefined" constant PCPackageName (line 76) | PCPackageName = "mypikpak.com" constant PCSdkVersion (line 77) | PCSdkVersion = "8.0.3" method request (line 80) | func (d *PikPakShare) request(url string, method string, callback base.R... method getSharePassToken (line 116) | func (d *PikPakShare) getSharePassToken() error { method getFiles (line 134) | func (d *PikPakShare) getFiles(id string) ([]File, error) { function GetAction (line 174) | func GetAction(method string, url string) string { type Common (line 179) | type Common struct method SetUserAgent (line 194) | func (c *Common) SetUserAgent(userAgent string) { method SetCaptchaToken (line 198) | func (c *Common) SetCaptchaToken(captchaToken string) { method SetDeviceID (line 202) | func (c *Common) SetDeviceID(deviceID string) { method GetCaptchaToken (line 206) | func (c *Common) GetCaptchaToken() string { method GetClientID (line 210) | func (c *Common) GetClientID() string { method GetUserAgent (line 214) | func (c *Common) GetUserAgent() string { method GetDeviceID (line 218) | func (c *Common) GetDeviceID() string { method GetCaptchaSign (line 288) | func (c *Common) GetCaptchaSign() (timestamp, sign string) { function generateDeviceSign (line 222) | func generateDeviceSign(deviceID, packageName string) string { function BuildCustomUserAgent (line 243) | func BuildCustomUserAgent(deviceID, clientID, appName, sdkVersion, clien... method RefreshCaptchaToken (line 277) | func (d *PikPakShare) RefreshCaptchaToken(action, userID string) error { method refreshCaptchaToken (line 299) | func (d *PikPakShare) refreshCaptchaToken(action string, metas map[strin... FILE: drivers/proton_drive/driver.go type ProtonDrive (line 38) | type ProtonDrive struct method Config (line 63) | func (d *ProtonDrive) Config() driver.Config { method GetAddition (line 67) | func (d *ProtonDrive) GetAddition() driver.Additional { method Init (line 71) | func (d *ProtonDrive) Init(ctx context.Context) (err error) { method Drop (line 139) | func (d *ProtonDrive) Drop(ctx context.Context) error { method List (line 143) | func (d *ProtonDrive) List(ctx context.Context, dir model.Obj, args mo... method Link (line 164) | func (d *ProtonDrive) Link(ctx context.Context, file model.Obj, args m... method MakeDir (line 199) | func (d *ProtonDrive) MakeDir(ctx context.Context, parentDir model.Obj... method Move (line 214) | func (d *ProtonDrive) Move(ctx context.Context, srcObj, dstDir model.O... method Rename (line 218) | func (d *ProtonDrive) Rename(ctx context.Context, srcObj model.Obj, ne... method Copy (line 226) | func (d *ProtonDrive) Copy(ctx context.Context, srcObj, dstDir model.O... method Remove (line 261) | func (d *ProtonDrive) Remove(ctx context.Context, obj model.Obj) error { method Put (line 269) | func (d *ProtonDrive) Put(ctx context.Context, dstDir model.Obj, file ... method GetDetails (line 273) | func (d *ProtonDrive) GetDetails(ctx context.Context) (*model.StorageD... FILE: drivers/proton_drive/meta.go type Addition (line 24) | type Addition struct function init (line 42) | func init() { FILE: drivers/proton_drive/types.go type MoveRequest (line 18) | type MoveRequest struct type RenameRequest (line 29) | type RenameRequest struct type RenameResponse (line 36) | type RenameResponse struct FILE: drivers/proton_drive/util.go method uploadFile (line 37) | func (d *ProtonDrive) uploadFile(ctx context.Context, parentLinkID strin... method encryptFileName (line 85) | func (d *ProtonDrive) encryptFileName(ctx context.Context, name string, ... method generateFileNameHash (line 111) | func (d *ProtonDrive) generateFileNameHash(ctx context.Context, name str... method getOriginalNameHash (line 141) | func (d *ProtonDrive) getOriginalNameHash(link *proton.Link) (string, er... method getLink (line 153) | func (d *ProtonDrive) getLink(ctx context.Context, linkID string) (*prot... method getLinkKR (line 166) | func (d *ProtonDrive) getLinkKR(ctx context.Context, link *proton.Link) ... function getAccountKRs (line 204) | func getAccountKRs(ctx context.Context, c *proton.Client, keyPass, salte... method getSignatureVerificationKeyring (line 251) | func (d *ProtonDrive) getSignatureVerificationKeyring(emailAddresses []s... method addKeysFromKR (line 282) | func (d *ProtonDrive) addKeysFromKR(kr *crypto.KeyRing, newKRs ...*crypt... method DirectRename (line 294) | func (d *ProtonDrive) DirectRename(ctx context.Context, srcObj model.Obj... method executeRenameAPI (line 352) | func (d *ProtonDrive) executeRenameAPI(ctx context.Context, linkID strin... method executeMoveAPI (line 396) | func (d *ProtonDrive) executeMoveAPI(ctx context.Context, linkID string,... method DirectMove (line 456) | func (d *ProtonDrive) DirectMove(ctx context.Context, srcObj model.Obj, ... method reencryptNodePassphrase (line 530) | func (d *ProtonDrive) reencryptNodePassphrase(ctx context.Context, srcLi... method generateNameHash (line 564) | func (d *ProtonDrive) generateNameHash(ctx context.Context, name string,... function reencryptKeyPacket (line 595) | func reencryptKeyPacket(srcKR, dstKR, _ *crypto.KeyRing, passphrase stri... method checkCircularMove (line 616) | func (d *ProtonDrive) checkCircularMove(ctx context.Context, srcLinkID, ... method authHandler (line 634) | func (d *ProtonDrive) authHandler(auth proton.Auth) { method initClient (line 648) | func (d *ProtonDrive) initClient(ctx context.Context) error { FILE: drivers/quark_open/driver.go type QuarkOpen (line 23) | type QuarkOpen struct method Config (line 30) | func (d *QuarkOpen) Config() driver.Config { method GetAddition (line 34) | func (d *QuarkOpen) GetAddition() driver.Additional { method Init (line 38) | func (d *QuarkOpen) Init(ctx context.Context) error { method Drop (line 55) | func (d *QuarkOpen) Drop(ctx context.Context) error { method List (line 59) | func (d *QuarkOpen) List(ctx context.Context, dir model.Obj, args mode... method Link (line 69) | func (d *QuarkOpen) Link(ctx context.Context, file model.Obj, args mod... method MakeDir (line 91) | func (d *QuarkOpen) MakeDir(ctx context.Context, parentDir model.Obj, ... method Move (line 103) | func (d *QuarkOpen) Move(ctx context.Context, srcObj, dstDir model.Obj... method Rename (line 116) | func (d *QuarkOpen) Rename(ctx context.Context, srcObj model.Obj, newN... method Copy (line 129) | func (d *QuarkOpen) Copy(ctx context.Context, srcObj, dstDir model.Obj... method Remove (line 133) | func (d *QuarkOpen) Remove(ctx context.Context, obj model.Obj) error { method Put (line 145) | func (d *QuarkOpen) Put(ctx context.Context, dstDir model.Obj, stream ... FILE: drivers/quark_open/meta.go type Addition (line 8) | type Addition struct type Conf (line 20) | type Conf struct function init (line 26) | func init() { FILE: drivers/quark_open/types.go type Resp (line 8) | type Resp struct type CommonRsp (line 14) | type CommonRsp struct type UserInfo (line 19) | type UserInfo struct type UserInfoResp (line 25) | type UserInfoResp struct type RefreshTokenOnlineAPIResp (line 30) | type RefreshTokenOnlineAPIResp struct type File (line 38) | type File struct function fileToObj (line 51) | func fileToObj(f File) *model.ObjThumb { type QueryCursor (line 65) | type QueryCursor struct type FileListResp (line 70) | type FileListResp struct type FileLikeResp (line 79) | type FileLikeResp struct type UpPreResp (line 89) | type UpPreResp struct type UpUrlInfo (line 112) | type UpUrlInfo struct type UpUrlResp (line 129) | type UpUrlResp struct type UpFinishResp (line 134) | type UpFinishResp struct FILE: drivers/quark_open/util.go method request (line 27) | func (d *QuarkOpen) request(ctx context.Context, pathname string, method... method GetFiles (line 86) | func (d *QuarkOpen) GetFiles(ctx context.Context, parent string) ([]File... method upPre (line 125) | func (d *QuarkOpen) upPre(ctx context.Context, file model.FileStreamer, ... method generateProof (line 176) | func (d *QuarkOpen) generateProof(file model.FileStreamer, xPanToken str... method generateProofSeed1 (line 200) | func (d *QuarkOpen) generateProofSeed1(xPanToken string) string { method generateProofSeed2 (line 207) | func (d *QuarkOpen) generateProofSeed2(fileSize int64) string { type ProofRange (line 212) | type ProofRange struct method generateProofCode (line 218) | func (d *QuarkOpen) generateProofCode(file model.FileStreamer, proofSeed... method getProofRange (line 257) | func (d *QuarkOpen) getProofRange(proofSeed string, fileSize int64) (*Pr... method _getPartInfo (line 284) | func (d *QuarkOpen) _getPartInfo(stream model.FileStreamer, partSize int... method upUrl (line 310) | func (d *QuarkOpen) upUrl(ctx context.Context, pre UpPreResp, partInfo [... method upPart (line 330) | func (d *QuarkOpen) upPart(ctx context.Context, upUrlInfo UpUrlInfo, par... method upFinish (line 358) | func (d *QuarkOpen) upFinish(ctx context.Context, pre UpPreResp, partInf... type ManualSign (line 397) | type ManualSign struct method generateReqSign (line 403) | func (d *QuarkOpen) generateReqSign(method string, pathname string, sign... method refreshToken (line 419) | func (d *QuarkOpen) refreshToken() error { method _refreshToken (line 438) | func (d *QuarkOpen) _refreshToken() (string, string, error) { method generateAuthCookie (line 467) | func (d *QuarkOpen) generateAuthCookie() string { FILE: drivers/quark_uc/driver.go type QuarkOrUC (line 21) | type QuarkOrUC struct method Config (line 28) | func (d *QuarkOrUC) Config() driver.Config { method GetAddition (line 32) | func (d *QuarkOrUC) GetAddition() driver.Additional { method Init (line 36) | func (d *QuarkOrUC) Init(ctx context.Context) error { method Drop (line 50) | func (d *QuarkOrUC) Drop(ctx context.Context) error { method List (line 54) | func (d *QuarkOrUC) List(ctx context.Context, dir model.Obj, args mode... method Link (line 63) | func (d *QuarkOrUC) Link(ctx context.Context, file model.Obj, args mod... method MakeDir (line 73) | func (d *QuarkOrUC) MakeDir(ctx context.Context, parentDir model.Obj, ... method Move (line 89) | func (d *QuarkOrUC) Move(ctx context.Context, srcObj, dstDir model.Obj... method Rename (line 102) | func (d *QuarkOrUC) Rename(ctx context.Context, srcObj model.Obj, newN... method Copy (line 113) | func (d *QuarkOrUC) Copy(ctx context.Context, srcObj, dstDir model.Obj... method Remove (line 117) | func (d *QuarkOrUC) Remove(ctx context.Context, obj model.Obj) error { method Put (line 129) | func (d *QuarkOrUC) Put(ctx context.Context, dstDir model.Obj, stream ... method GetDetails (line 222) | func (d *QuarkOrUC) GetDetails(ctx context.Context) (*model.StorageDet... FILE: drivers/quark_uc/meta.go type Addition (line 8) | type Addition struct type Conf (line 18) | type Conf struct function init (line 25) | func init() { FILE: drivers/quark_uc/types.go type Resp (line 11) | type Resp struct type File (line 21) | type File struct method GetSize (line 58) | func (f *File) GetSize() int64 { method GetName (line 62) | func (f *File) GetName() string { method ModTime (line 66) | func (f *File) ModTime() time.Time { method CreateTime (line 70) | func (f *File) CreateTime() time.Time { method IsDir (line 74) | func (f *File) IsDir() bool { method GetHash (line 78) | func (f *File) GetHash() utils.HashInfo { method GetID (line 82) | func (f *File) GetID() string { method GetPath (line 86) | func (f *File) GetPath() string { function fileToObj (line 47) | func fileToObj(f File) *model.Object { type SortResp (line 90) | type SortResp struct type DownResp (line 104) | type DownResp struct type TranscodingResp (line 140) | type TranscodingResp struct type UpPreResp (line 216) | type UpPreResp struct type HashResp (line 242) | type HashResp struct type UpAuthResp (line 253) | type UpAuthResp struct type MemberResp (line 263) | type MemberResp struct FILE: drivers/quark_uc/util.go method request (line 27) | func (d *QuarkOrUC) request(pathname string, method string, callback bas... method GetFiles (line 69) | func (d *QuarkOrUC) GetFiles(parent string) ([]model.Obj, error) { method getDownloadLink (line 113) | func (d *QuarkOrUC) getDownloadLink(file model.Obj) (*model.Link, error) { method getTranscodingLink (line 139) | func (d *QuarkOrUC) getTranscodingLink(file model.Obj) (*model.Link, err... method upPre (line 170) | func (d *QuarkOrUC) upPre(file model.FileStreamer, parentId string) (UpP... method upHash (line 190) | func (d *QuarkOrUC) upHash(md5, sha1, taskId string) (bool, error) { method upPart (line 204) | func (d *QuarkOrUC) upPart(ctx context.Context, pre UpPreResp, mineType ... method upCommit (line 262) | func (d *QuarkOrUC) upCommit(pre UpPreResp, md5s []string) error { method upFinish (line 332) | func (d *QuarkOrUC) upFinish(pre UpPreResp) error { method memberInfo (line 347) | func (d *QuarkOrUC) memberInfo(ctx context.Context) (*MemberResp, error) { FILE: drivers/quark_uc_tv/driver.go type QuarkUCTV (line 19) | type QuarkUCTV struct method Config (line 27) | func (d *QuarkUCTV) Config() driver.Config { method GetAddition (line 31) | func (d *QuarkUCTV) GetAddition() driver.Additional { method Init (line 35) | func (d *QuarkUCTV) Init(ctx context.Context) error { method Drop (line 90) | func (d *QuarkUCTV) Drop(ctx context.Context) error { method List (line 94) | func (d *QuarkUCTV) List(ctx context.Context, dir model.Obj, args mode... method Link (line 137) | func (d *QuarkUCTV) Link(ctx context.Context, file model.Obj, args mod... method MakeDir (line 147) | func (d *QuarkUCTV) MakeDir(ctx context.Context, parentDir model.Obj, ... method Move (line 151) | func (d *QuarkUCTV) Move(ctx context.Context, srcObj, dstDir model.Obj... method Rename (line 155) | func (d *QuarkUCTV) Rename(ctx context.Context, srcObj model.Obj, newN... method Copy (line 159) | func (d *QuarkUCTV) Copy(ctx context.Context, srcObj, dstDir model.Obj... method Remove (line 163) | func (d *QuarkUCTV) Remove(ctx context.Context, obj model.Obj) error { method Put (line 167) | func (d *QuarkUCTV) Put(ctx context.Context, dstDir model.Obj, stream ... type QuarkUCTVCommon (line 171) | type QuarkUCTVCommon struct FILE: drivers/quark_uc_tv/meta.go type Addition (line 8) | type Addition struct type Conf (line 23) | type Conf struct function init (line 32) | func init() { FILE: drivers/quark_uc_tv/types.go type Resp (line 10) | type Resp struct type CommonRsp (line 16) | type CommonRsp struct type RefreshTokenAuthResp (line 21) | type RefreshTokenAuthResp struct type Files (line 35) | type Files struct method GetSize (line 51) | func (f *Files) GetSize() int64 { method GetName (line 55) | func (f *Files) GetName() string { method ModTime (line 59) | func (f *Files) ModTime() time.Time { method CreateTime (line 64) | func (f *Files) CreateTime() time.Time { method IsDir (line 69) | func (f *Files) IsDir() bool { method GetHash (line 73) | func (f *Files) GetHash() utils.HashInfo { method GetID (line 77) | func (f *Files) GetID() string { method GetPath (line 81) | func (f *Files) GetPath() string { type FilesData (line 87) | type FilesData struct type StreamingFileLink (line 95) | type StreamingFileLink struct type DownloadFileLink (line 120) | type DownloadFileLink struct FILE: drivers/quark_uc_tv/util.go constant UserAgent (line 23) | UserAgent = "Mozilla/5.0 (Linux; U; Android 13; zh-cn; M2004J7AC Buil... constant DeviceBrand (line 24) | DeviceBrand = "Xiaomi" constant Platform (line 25) | Platform = "tv" constant DeviceName (line 26) | DeviceName = "M2004J7AC" constant DeviceModel (line 27) | DeviceModel = "M2004J7AC" constant BuildDevice (line 28) | BuildDevice = "M2004J7AC" constant BuildProduct (line 29) | BuildProduct = "M2004J7AC" constant DeviceGpu (line 30) | DeviceGpu = "Adreno (TM) 550" constant ActivityRect (line 31) | ActivityRect = "{}" method request (line 34) | func (d *QuarkUCTV) request(ctx context.Context, pathname string, method... method getLoginCode (line 99) | func (d *QuarkUCTV) getLoginCode(ctx context.Context) (string, error) { method getCode (line 128) | func (d *QuarkUCTV) getCode(ctx context.Context) (string, error) { method getRefreshTokenByTV (line 148) | func (d *QuarkUCTV) getRefreshTokenByTV(ctx context.Context, code string... method isLogin (line 195) | func (d *QuarkUCTV) isLogin(ctx context.Context) (bool, error) { method generateReqSign (line 204) | func (d *QuarkUCTV) generateReqSign(method string, pathname string, key ... method getTranscodingLink (line 225) | func (d *QuarkUCTV) getTranscodingLink(ctx context.Context, file model.O... method getDownloadLink (line 254) | func (d *QuarkUCTV) getDownloadLink(ctx context.Context, file model.Obj)... FILE: drivers/s3/doge.go type TmpTokenResponse (line 13) | type TmpTokenResponse struct type TmpTokenResponseData (line 18) | type TmpTokenResponseData struct type Credentials (line 22) | type Credentials struct function getCredentials (line 28) | func getCredentials(AccessKey, SecretKey string) (rst Credentials, err e... FILE: drivers/s3/driver.go type S3 (line 25) | type S3 struct method Config (line 37) | func (d *S3) Config() driver.Config { method GetAddition (line 41) | func (d *S3) GetAddition() driver.Additional { method Init (line 45) | func (d *S3) Init(ctx context.Context) error { method Drop (line 72) | func (d *S3) Drop(ctx context.Context) error { method List (line 79) | func (d *S3) List(ctx context.Context, dir model.Obj, args model.ListA... method Link (line 86) | func (d *S3) Link(ctx context.Context, file model.Obj, args model.Link... method MakeDir (line 156) | func (d *S3) MakeDir(ctx context.Context, parentDir model.Obj, dirName... method Move (line 169) | func (d *S3) Move(ctx context.Context, srcObj, dstDir model.Obj) error { method Rename (line 177) | func (d *S3) Rename(ctx context.Context, srcObj model.Obj, newName str... method Copy (line 185) | func (d *S3) Copy(ctx context.Context, srcObj, dstDir model.Obj) error { method Remove (line 189) | func (d *S3) Remove(ctx context.Context, obj model.Obj) error { method Put (line 196) | func (d *S3) Put(ctx context.Context, dstDir model.Obj, s model.FileSt... method GetDirectUploadTools (line 217) | func (d *S3) GetDirectUploadTools() []string { method GetDirectUploadInfo (line 224) | func (d *S3) GetDirectUploadInfo(ctx context.Context, _ string, dstDir... FILE: drivers/s3/meta.go type Addition (line 8) | type Addition struct function init (line 28) | func init() { FILE: drivers/s3/util.go method initSession (line 24) | func (d *S3) initSession() error { constant ClientTypeNormal (line 45) | ClientTypeNormal = iota constant ClientTypeLink (line 46) | ClientTypeLink constant ClientTypeDirectUpload (line 47) | ClientTypeDirectUpload method getClient (line 50) | func (d *S3) getClient(clientType int) *s3.S3 { function getKey (line 84) | func getKey(path string, dir bool) string { function getPlaceholderName (line 94) | func getPlaceholderName(placeholder string) string { method listV1 (line 101) | func (d *S3) listV1(dirPath string, args model.ListArgs) ([]model.Obj, e... method listV2 (line 152) | func (d *S3) listV2(dirPath string, args model.ListArgs) ([]model.Obj, e... method copy (line 210) | func (d *S3) copy(ctx context.Context, src string, dst string, isDir boo... method copyFile (line 217) | func (d *S3) copyFile(ctx context.Context, src string, dst string) error { method copyDir (line 230) | func (d *S3) copyDir(ctx context.Context, src string, dst string) error { method removeDir (line 250) | func (d *S3) removeDir(ctx context.Context, src string) error { method removeFile (line 271) | func (d *S3) removeFile(src string) error { FILE: drivers/seafile/driver.go type Seafile (line 17) | type Seafile struct method Config (line 25) | func (d *Seafile) Config() driver.Config { method GetAddition (line 29) | func (d *Seafile) GetAddition() driver.Additional { method Init (line 33) | func (d *Seafile) Init(ctx context.Context) error { method Drop (line 93) | func (d *Seafile) Drop(ctx context.Context) error { method GetRoot (line 98) | func (d *Seafile) GetRoot(ctx context.Context) (model.Obj, error) { method List (line 105) | func (d *Seafile) List(ctx context.Context, dir model.Obj, args model.... method Link (line 146) | func (d *Seafile) Link(ctx context.Context, file model.Obj, args model... method MakeDir (line 161) | func (d *Seafile) MakeDir(ctx context.Context, parentDir model.Obj, di... method Move (line 172) | func (d *Seafile) Move(ctx context.Context, srcObj, dstDir model.Obj) ... method Rename (line 185) | func (d *Seafile) Rename(ctx context.Context, srcObj model.Obj, newNam... method Copy (line 197) | func (d *Seafile) Copy(ctx context.Context, srcObj, dstDir model.Obj) ... method Remove (line 210) | func (d *Seafile) Remove(ctx context.Context, obj model.Obj) error { method Put (line 219) | func (d *Seafile) Put(ctx context.Context, dstDir model.Obj, s model.F... FILE: drivers/seafile/meta.go type Addition (line 8) | type Addition struct function init (line 24) | func init() { FILE: drivers/seafile/types.go type AuthTokenResp (line 10) | type AuthTokenResp struct type RepoItemResp (line 14) | type RepoItemResp struct method IsDir (line 27) | func (l *RepoItemResp) IsDir() bool { method GetPath (line 30) | func (l *RepoItemResp) GetPath() string { method GetName (line 33) | func (l *RepoItemResp) GetName() string { method ModTime (line 36) | func (l *RepoItemResp) ModTime() time.Time { method CreateTime (line 39) | func (l *RepoItemResp) CreateTime() time.Time { method GetSize (line 42) | func (l *RepoItemResp) GetSize() int64 { method GetID (line 45) | func (l *RepoItemResp) GetID() string { method GetHash (line 51) | func (l *RepoItemResp) GetHash() utils.HashInfo { type LibraryItemResp (line 57) | type LibraryItemResp struct type LibraryInfo (line 75) | type LibraryInfo struct method IsDir (line 81) | func (l *LibraryInfo) IsDir() bool { FILE: drivers/seafile/util.go method getToken (line 14) | func (d *Seafile) getToken() error { method request (line 37) | func (d *Seafile) request(method string, pathname string, callback base.... method getLibraryInfo (line 71) | func (d *Seafile) getLibraryInfo(repoId string) (LibraryItemResp, error) { method decryptLibrary (line 82) | func (d *Seafile) decryptLibrary(repo *LibraryInfo) (err error) { FILE: drivers/sftp/driver.go type SFTP (line 18) | type SFTP struct method Config (line 25) | func (d *SFTP) Config() driver.Config { method GetAddition (line 29) | func (d *SFTP) GetAddition() driver.Additional { method Init (line 33) | func (d *SFTP) Init(ctx context.Context) error { method Drop (line 37) | func (d *SFTP) Drop(ctx context.Context) error { method List (line 44) | func (d *SFTP) List(ctx context.Context, dir model.Obj, args model.Lis... method Link (line 59) | func (d *SFTP) Link(ctx context.Context, file model.Obj, args model.Li... method MakeDir (line 79) | func (d *SFTP) MakeDir(ctx context.Context, parentDir model.Obj, dirNa... method Move (line 86) | func (d *SFTP) Move(ctx context.Context, srcObj, dstDir model.Obj) err... method Rename (line 93) | func (d *SFTP) Rename(ctx context.Context, srcObj model.Obj, newName s... method Copy (line 100) | func (d *SFTP) Copy(ctx context.Context, srcObj, dstDir model.Obj) err... method Remove (line 104) | func (d *SFTP) Remove(ctx context.Context, obj model.Obj) error { method Put (line 111) | func (d *SFTP) Put(ctx context.Context, dstDir model.Obj, stream model... method GetDetails (line 126) | func (d *SFTP) GetDetails(ctx context.Context) (*model.StorageDetails,... FILE: drivers/sftp/meta.go type Addition (line 8) | type Addition struct function init (line 27) | func init() { FILE: drivers/sftp/types.go method fileToObj (line 12) | func (d *SFTP) fileToObj(f os.FileInfo, dir string) (model.Obj, error) { FILE: drivers/sftp/util.go method initClient (line 15) | func (d *SFTP) initClient() error { method _initClient (line 21) | func (d *SFTP) _initClient() error { method clientReconnectOnConnectionError (line 57) | func (d *SFTP) clientReconnectOnConnectionError() error { method remove (line 70) | func (d *SFTP) remove(remotePath string) error { method removeDirectory (line 82) | func (d *SFTP) removeDirectory(remotePath string) error { method removeFile (line 104) | func (d *SFTP) removeFile(remotePath string) error { FILE: drivers/smb/driver.go type SMB (line 18) | type SMB struct method Config (line 25) | func (d *SMB) Config() driver.Config { method GetAddition (line 29) | func (d *SMB) GetAddition() driver.Additional { method Init (line 33) | func (d *SMB) Init(ctx context.Context) error { method Drop (line 40) | func (d *SMB) Drop(ctx context.Context) error { method List (line 47) | func (d *SMB) List(ctx context.Context, dir model.Obj, args model.List... method Link (line 74) | func (d *SMB) Link(ctx context.Context, file model.Obj, args model.Lin... method MakeDir (line 97) | func (d *SMB) MakeDir(ctx context.Context, parentDir model.Obj, dirNam... method Move (line 111) | func (d *SMB) Move(ctx context.Context, srcObj, dstDir model.Obj) error { method Rename (line 126) | func (d *SMB) Rename(ctx context.Context, srcObj model.Obj, newName st... method Copy (line 141) | func (d *SMB) Copy(ctx context.Context, srcObj, dstDir model.Obj) error { method Remove (line 161) | func (d *SMB) Remove(ctx context.Context, obj model.Obj) error { method Put (line 180) | func (d *SMB) Put(ctx context.Context, dstDir model.Obj, stream model.... method GetDetails (line 204) | func (d *SMB) GetDetails(ctx context.Context) (*model.StorageDetails, ... FILE: drivers/smb/meta.go type Addition (line 8) | type Addition struct function init (line 25) | func init() { FILE: drivers/smb/util.go method updateLastConnTime (line 18) | func (d *SMB) updateLastConnTime() { method cleanLastConnTime (line 22) | func (d *SMB) cleanLastConnTime() { method getLastConnTime (line 26) | func (d *SMB) getLastConnTime() time.Time { method initFS (line 30) | func (d *SMB) initFS(ctx context.Context) error { method _initFS (line 36) | func (d *SMB) _initFS(ctx context.Context) error { method checkConn (line 55) | func (d *SMB) checkConn(ctx context.Context) error { method CopyFile (line 66) | func (d *SMB) CopyFile(src, dst string) error { method CopyDir (line 92) | func (d *SMB) CopyDir(src string, dst string) error { method Exists (line 124) | func (d *SMB) Exists(name string) bool { method CreateNestedFile (line 134) | func (d *SMB) CreateNestedFile(path string) (*smb2.File, error) { FILE: drivers/strm/driver.go type Strm (line 21) | type Strm struct method Config (line 32) | func (d *Strm) Config() driver.Config { method GetAddition (line 36) | func (d *Strm) GetAddition() driver.Additional { method Init (line 40) | func (d *Strm) Init(ctx context.Context) error { method Drop (line 126) | func (d *Strm) Drop(ctx context.Context) error { method Get (line 140) | func (d *Strm) Get(ctx context.Context, path string) (model.Obj, error) { method List (line 175) | func (d *Strm) List(ctx context.Context, dir model.Obj, args model.Lis... method Link (line 196) | func (d *Strm) Link(ctx context.Context, file model.Obj, args model.Li... method GetRootPath (line 136) | func (Addition) GetRootPath() string { FILE: drivers/strm/hook.go function UpdateLocalStrm (line 24) | func UpdateLocalStrm(ctx context.Context, path string, objs []model.Obj) { function InsertStrm (line 51) | func InsertStrm(dstPath string, d *Strm) error { function RemoveStrm (line 70) | func RemoveStrm(dstPath string, d *Strm) { function generateStrm (line 94) | func generateStrm(ctx context.Context, driver *Strm, obj model.Obj, loca... function isSameContent (line 146) | func isSameContent(localPath string, size int64, rc io.Reader) (bool, er... function deleteExtraFiles (line 174) | func deleteExtraFiles(driver *Strm, localPath string, objs []model.Obj) { function getLocalDirsAndFiles (line 218) | func getLocalDirsAndFiles(localPath string) ([]string, []string, error) { function init (line 235) | func init() { FILE: drivers/strm/meta.go constant SaveLocalInsertMode (line 9) | SaveLocalInsertMode = "insert" constant SaveLocalUpdateMode (line 10) | SaveLocalUpdateMode = "update" constant SaveLocalSyncMode (line 11) | SaveLocalSyncMode = "sync" type Addition (line 14) | type Addition struct function init (line 39) | func init() { FILE: drivers/strm/util.go method listRoot (line 17) | func (d *Strm) listRoot() []model.Obj { function getPair (line 32) | func getPair(path string) (string, string) { method getRootAndPath (line 43) | func (d *Strm) getRootAndPath(path string) (string, string) { method list (line 55) | func (d *Strm) list(ctx context.Context, dst, sub string, args *fs.ListA... method convert2strmObjs (line 64) | func (d *Strm) convert2strmObjs(ctx context.Context, reqPath string, obj... method getLink (line 106) | func (d *Strm) getLink(ctx context.Context, path string) string { method link (line 136) | func (d *Strm) link(ctx context.Context, reqPath string, args model.Link... FILE: drivers/teambition/driver.go type Teambition (line 16) | type Teambition struct method Config (line 21) | func (d *Teambition) Config() driver.Config { method GetAddition (line 25) | func (d *Teambition) GetAddition() driver.Additional { method Init (line 29) | func (d *Teambition) Init(ctx context.Context) error { method Drop (line 34) | func (d *Teambition) Drop(ctx context.Context) error { method List (line 38) | func (d *Teambition) List(ctx context.Context, dir model.Obj, args mod... method Link (line 42) | func (d *Teambition) Link(ctx context.Context, file model.Obj, args mo... method MakeDir (line 54) | func (d *Teambition) MakeDir(ctx context.Context, parentDir model.Obj,... method Move (line 76) | func (d *Teambition) Move(ctx context.Context, srcObj, dstDir model.Ob... method Rename (line 89) | func (d *Teambition) Rename(ctx context.Context, srcObj model.Obj, new... method Copy (line 106) | func (d *Teambition) Copy(ctx context.Context, srcObj, dstDir model.Ob... method Remove (line 119) | func (d *Teambition) Remove(ctx context.Context, obj model.Obj) error { method Put (line 128) | func (d *Teambition) Put(ctx context.Context, dstDir model.Obj, stream... FILE: drivers/teambition/help.go function getBetweenStr (line 5) | func getBetweenStr(str, start, end string) string { FILE: drivers/teambition/meta.go type Addition (line 8) | type Addition struct function init (line 22) | func init() { FILE: drivers/teambition/types.go type ErrResp (line 5) | type ErrResp struct type Collection (line 10) | type Collection struct type Work (line 16) | type Work struct type FileUpload (line 29) | type FileUpload struct type ChunkUpload (line 43) | type ChunkUpload struct type UploadToken (line 70) | type UploadToken struct FILE: drivers/teambition/util.go method isInternational (line 27) | func (d *Teambition) isInternational() bool { method request (line 31) | func (d *Teambition) request(pathname string, method string, callback ba... method getFiles (line 56) | func (d *Teambition) getFiles(parentId string) ([]model.Obj, error) { method upload (line 124) | func (d *Teambition) upload(ctx context.Context, file model.FileStreamer... method chunkUpload (line 152) | func (d *Teambition) chunkUpload(ctx context.Context, file model.FileStr... method finishUpload (line 209) | func (d *Teambition) finishUpload(file *FileUpload, parentId string) err... method newUpload (line 222) | func (d *Teambition) newUpload(ctx context.Context, dstDir model.Obj, st... FILE: drivers/teldrive/copy.go function NewCopyManager (line 16) | func NewCopyManager(ctx context.Context, concurrent int, d *Teldrive) *C... method startWorkers (line 28) | func (cm *CopyManager) startWorkers() { method worker (line 37) | func (cm *CopyManager) worker() error { method generateTasks (line 65) | func (cm *CopyManager) generateTasks(ctx context.Context, srcObj, dstDir... method generateFolderTasks (line 79) | func (cm *CopyManager) generateFolderTasks(ctx context.Context, srcDir, ... method processFile (line 117) | func (cm *CopyManager) processFile(task CopyTask) error { method copySingleFile (line 121) | func (cm *CopyManager) copySingleFile(ctx context.Context, srcObj, dstDi... FILE: drivers/teldrive/driver.go type Teldrive (line 24) | type Teldrive struct method Config (line 29) | func (d *Teldrive) Config() driver.Config { method GetAddition (line 33) | func (d *Teldrive) GetAddition() driver.Additional { method Init (line 37) | func (d *Teldrive) Init(ctx context.Context) error { method Drop (line 53) | func (d *Teldrive) Drop(ctx context.Context) error { method List (line 57) | func (d *Teldrive) List(ctx context.Context, dir model.Obj, args model... method Link (line 126) | func (d *Teldrive) Link(ctx context.Context, file model.Obj, args mode... method MakeDir (line 150) | func (d *Teldrive) MakeDir(ctx context.Context, parentDir model.Obj, d... method Move (line 158) | func (d *Teldrive) Move(ctx context.Context, srcObj, dstDir model.Obj)... method Rename (line 168) | func (d *Teldrive) Rename(ctx context.Context, srcObj model.Obj, newNa... method Copy (line 178) | func (d *Teldrive) Copy(ctx context.Context, srcObj, dstDir model.Obj)... method Remove (line 189) | func (d *Teldrive) Remove(ctx context.Context, obj model.Obj) error { method Put (line 198) | func (d *Teldrive) Put(ctx context.Context, dstDir model.Obj, file mod... method GetArchiveMeta (line 235) | func (d *Teldrive) GetArchiveMeta(ctx context.Context, obj model.Obj, ... method ListArchive (line 240) | func (d *Teldrive) ListArchive(ctx context.Context, obj model.Obj, arg... method Extract (line 245) | func (d *Teldrive) Extract(ctx context.Context, obj model.Obj, args mo... method ArchiveDecompress (line 250) | func (d *Teldrive) ArchiveDecompress(ctx context.Context, srcObj, dstD... FILE: drivers/teldrive/meta.go type Addition (line 8) | type Addition struct function init (line 23) | func init() { FILE: drivers/teldrive/types.go type ErrResp (line 14) | type ErrResp struct type Object (line 19) | type Object struct type ListResp (line 31) | type ListResp struct type FilePart (line 40) | type FilePart struct type chunkTask (line 50) | type chunkTask struct type CopyManager (line 58) | type CopyManager struct type CopyTask (line 66) | type CopyTask struct type ShareObj (line 71) | type ShareObj struct FILE: drivers/teldrive/upload.go method touch (line 29) | func (d *Teldrive) touch(name, path string) error { function getMD5Hash (line 44) | func getMD5Hash(text string) string { method createFileOnUploadSuccess (line 49) | func (d *Teldrive) createFileOnUploadSuccess(name, id, path string, uplo... method checkFilePartExist (line 82) | func (d *Teldrive) checkFilePartExist(fileId string, partId int) (FilePa... method getFilePart (line 101) | func (d *Teldrive) getFilePart(fileId string) ([]FilePart, error) { method singleUploadRequest (line 112) | func (d *Teldrive) singleUploadRequest(ctx context.Context, fileId strin... method doSingleUpload (line 143) | func (d *Teldrive) doSingleUpload(ctx context.Context, dstDir model.Obj,... method doMultiUpload (line 219) | func (d *Teldrive) doMultiUpload(ctx context.Context, dstDir model.Obj, ... method uploadSingleChunk (line 336) | func (d *Teldrive) uploadSingleChunk(ctx context.Context, fileId string,... FILE: drivers/teldrive/util.go method request (line 15) | func (d *Teldrive) request(method string, pathname string, callback base... method getFile (line 38) | func (d *Teldrive) getFile(path, name string, isFolder bool) (model.Obj,... method Error (line 68) | func (err *ErrResp) Error() string { method createShareFile (line 76) | func (d *Teldrive) createShareFile(fileId string) error { method getShareFileById (line 94) | func (d *Teldrive) getShareFileById(fileId string) (*ShareObj, error) { function getDateTime (line 105) | func getDateTime() string { FILE: drivers/template/driver.go type Template (line 11) | type Template struct method Config (line 16) | func (d *Template) Config() driver.Config { method GetAddition (line 20) | func (d *Template) GetAddition() driver.Additional { method Init (line 24) | func (d *Template) Init(ctx context.Context) error { method Drop (line 30) | func (d *Template) Drop(ctx context.Context) error { method List (line 34) | func (d *Template) List(ctx context.Context, dir model.Obj, args model... method Link (line 39) | func (d *Template) Link(ctx context.Context, file model.Obj, args mode... method MakeDir (line 44) | func (d *Template) MakeDir(ctx context.Context, parentDir model.Obj, d... method Move (line 49) | func (d *Template) Move(ctx context.Context, srcObj, dstDir model.Obj)... method Rename (line 54) | func (d *Template) Rename(ctx context.Context, srcObj model.Obj, newNa... method Copy (line 59) | func (d *Template) Copy(ctx context.Context, srcObj, dstDir model.Obj)... method Remove (line 64) | func (d *Template) Remove(ctx context.Context, obj model.Obj) error { method Put (line 69) | func (d *Template) Put(ctx context.Context, dstDir model.Obj, file mod... method GetArchiveMeta (line 74) | func (d *Template) GetArchiveMeta(ctx context.Context, obj model.Obj, ... method ListArchive (line 79) | func (d *Template) ListArchive(ctx context.Context, obj model.Obj, arg... method Extract (line 84) | func (d *Template) Extract(ctx context.Context, obj model.Obj, args mo... method ArchiveDecompress (line 89) | func (d *Template) ArchiveDecompress(ctx context.Context, srcObj, dstD... method GetDetails (line 96) | func (d *Template) GetDetails(ctx context.Context) (*model.StorageDeta... FILE: drivers/template/meta.go type Addition (line 8) | type Addition struct function init (line 30) | func init() { FILE: drivers/terabox/driver.go type Terabox (line 22) | type Terabox struct method Config (line 30) | func (d *Terabox) Config() driver.Config { method GetAddition (line 34) | func (d *Terabox) GetAddition() driver.Additional { method Init (line 38) | func (d *Terabox) Init(ctx context.Context) error { method Drop (line 55) | func (d *Terabox) Drop(ctx context.Context) error { method List (line 59) | func (d *Terabox) List(ctx context.Context, dir model.Obj, args model.... method Link (line 71) | func (d *Terabox) Link(ctx context.Context, file model.Obj, args model... method MakeDir (line 78) | func (d *Terabox) MakeDir(ctx context.Context, parentDir model.Obj, di... method Move (line 92) | func (d *Terabox) Move(ctx context.Context, srcObj, dstDir model.Obj) ... method Rename (line 104) | func (d *Terabox) Rename(ctx context.Context, srcObj model.Obj, newNam... method Copy (line 115) | func (d *Terabox) Copy(ctx context.Context, srcObj, dstDir model.Obj) ... method Remove (line 127) | func (d *Terabox) Remove(ctx context.Context, obj model.Obj) error { method Put (line 133) | func (d *Terabox) Put(ctx context.Context, dstDir model.Obj, stream mo... FILE: drivers/terabox/meta.go type Addition (line 8) | type Addition struct function init (line 22) | func init() { FILE: drivers/terabox/types.go type File (line 10) | type File struct type ListResp (line 41) | type ListResp struct function fileToObj (line 49) | func fileToObj(f File) *model.ObjThumb { type DownloadResp (line 62) | type DownloadResp struct type DownloadResp2 (line 69) | type DownloadResp2 struct type HomeInfoResp (line 77) | type HomeInfoResp struct type PrecreateResp (line 86) | type PrecreateResp struct type CheckLoginResp (line 95) | type CheckLoginResp struct type LocateUploadResp (line 99) | type LocateUploadResp struct type CreateResp (line 103) | type CreateResp struct FILE: drivers/terabox/util.go constant initialChunkSize (line 22) | initialChunkSize int64 = 4 << 20 constant initialSizeThreshold (line 23) | initialSizeThreshold int64 = 4 << 30 function getStrBetween (line 26) | func getStrBetween(raw, start, end string) string { method resetJsToken (line 37) | func (d *Terabox) resetJsToken() error { method request (line 58) | func (d *Terabox) request(rurl string, method string, callback base.ReqC... method get (line 114) | func (d *Terabox) get(pathname string, params map[string]string, resp in... method post (line 122) | func (d *Terabox) post(pathname string, params map[string]string, data i... method post_form (line 131) | func (d *Terabox) post_form(pathname string, params map[string]string, d... method post_multipart (line 140) | func (d *Terabox) post_multipart( method getFiles (line 156) | func (d *Terabox) getFiles(dir string) ([]File, error) { function sign (line 189) | func sign(s1, s2 string) string { method genSign (line 212) | func (d *Terabox) genSign() (string, error) { method linkOfficial (line 221) | func (d *Terabox) linkOfficial(file model.Obj, args model.LinkArgs) (*mo... method linkCrack (line 256) | func (d *Terabox) linkCrack(file model.Obj, args model.LinkArgs) (*model... method manage (line 275) | func (d *Terabox) manage(opera string, filelist interface{}) ([]byte, er... function encodeURIComponent (line 288) | func encodeURIComponent(str string) string { function calculateChunkSize (line 294) | func calculateChunkSize(streamSize int64) int64 { FILE: drivers/thunder/driver.go type Thunder (line 26) | type Thunder struct method Config (line 34) | func (x *Thunder) Config() driver.Config { method GetAddition (line 38) | func (x *Thunder) GetAddition() driver.Additional { method Init (line 42) | func (x *Thunder) Init(ctx context.Context) (err error) { method Drop (line 130) | func (x *Thunder) Drop(ctx context.Context) error { type ThunderExpert (line 134) | type ThunderExpert struct method Config (line 142) | func (x *ThunderExpert) Config() driver.Config { method GetAddition (line 146) | func (x *ThunderExpert) GetAddition() driver.Additional { method Init (line 150) | func (x *ThunderExpert) Init(ctx context.Context) (err error) { method Drop (line 259) | func (x *ThunderExpert) Drop(ctx context.Context) error { method SetTokenResp (line 263) | func (x *ThunderExpert) SetTokenResp(token *TokenResp) { type XunLeiCommon (line 270) | type XunLeiCommon struct method List (line 278) | func (xc *XunLeiCommon) List(ctx context.Context, dir model.Obj, args ... method Link (line 282) | func (xc *XunLeiCommon) Link(ctx context.Context, file model.Obj, args... method MakeDir (line 321) | func (xc *XunLeiCommon) MakeDir(ctx context.Context, parentDir model.O... method Move (line 334) | func (xc *XunLeiCommon) Move(ctx context.Context, srcObj, dstDir model... method Rename (line 346) | func (xc *XunLeiCommon) Rename(ctx context.Context, srcObj model.Obj, ... method Copy (line 358) | func (xc *XunLeiCommon) Copy(ctx context.Context, srcObj, dstDir model... method Remove (line 370) | func (xc *XunLeiCommon) Remove(ctx context.Context, obj model.Obj) err... method Put (line 380) | func (xc *XunLeiCommon) Put(ctx context.Context, dstDir model.Obj, fil... method GetDetails (line 436) | func (xc *XunLeiCommon) GetDetails(ctx context.Context) (*model.Storag... method getFiles (line 462) | func (xc *XunLeiCommon) getFiles(ctx context.Context, folderId string)... method SetRefreshTokenFunc (line 509) | func (xc *XunLeiCommon) SetRefreshTokenFunc(fn func() error) { method SetTokenResp (line 514) | func (xc *XunLeiCommon) SetTokenResp(tr *TokenResp) { method SetCoreTokenResp (line 518) | func (xc *XunLeiCommon) SetCoreTokenResp(tr *CoreLoginResp) { method Request (line 523) | func (xc *XunLeiCommon) Request(url string, method string, callback ba... method RefreshToken (line 560) | func (xc *XunLeiCommon) RefreshToken(refreshToken string) (*TokenResp,... method Login (line 581) | func (xc *XunLeiCommon) Login(username, password string) (*TokenResp, ... method IsLogin (line 609) | func (xc *XunLeiCommon) IsLogin() bool { method OfflineDownload (line 618) | func (xc *XunLeiCommon) OfflineDownload(ctx context.Context, fileUrl s... method OfflineList (line 644) | func (xc *XunLeiCommon) OfflineList(ctx context.Context, nextPageToken... method DeleteOfflineTasks (line 665) | func (xc *XunLeiCommon) DeleteOfflineTasks(ctx context.Context, taskID... method CoreLogin (line 680) | func (xc *XunLeiCommon) CoreLogin(username string, password string) (s... FILE: drivers/thunder/meta.go type ExpertAddition (line 13) | type ExpertAddition struct method GetIdentity (line 54) | func (i *ExpertAddition) GetIdentity() string { type Addition (line 76) | type Addition struct method GetIdentity (line 90) | func (i *Addition) GetIdentity() string { function init (line 104) | func init() { FILE: drivers/thunder/types.go type ErrResp (line 13) | type ErrResp struct method IsError (line 20) | func (e *ErrResp) IsError() bool { method Error (line 28) | func (e *ErrResp) Error() string { type CaptchaTokenRequest (line 35) | type CaptchaTokenRequest struct type CaptchaTokenResponse (line 44) | type CaptchaTokenResponse struct type TokenResp (line 53) | type TokenResp struct method Token (line 63) | func (t *TokenResp) Token() string { type SignInRequest (line 67) | type SignInRequest struct type CoreLoginRequest (line 75) | type CoreLoginRequest struct type CoreLoginResp (line 100) | type CoreLoginResp struct type FileList (line 146) | type FileList struct type Link (line 154) | type Link struct type Files (line 163) | type Files struct method GetHash (line 225) | func (c *Files) GetHash() utils.HashInfo { method GetSize (line 229) | func (c *Files) GetSize() int64 { size, _ := strconv.ParseInt(c... method GetName (line 230) | func (c *Files) GetName() string { return c.Name } method CreateTime (line 231) | func (c *Files) CreateTime() time.Time { return c.CreatedTime } method ModTime (line 232) | func (c *Files) ModTime() time.Time { return c.ModifiedTime } method IsDir (line 233) | func (c *Files) IsDir() bool { return c.Kind == FOLDER } method GetID (line 234) | func (c *Files) GetID() string { return c.ID } method GetPath (line 235) | func (c *Files) GetPath() string { return "" } method Thumb (line 236) | func (c *Files) Thumb() string { return c.ThumbnailLink } type UploadTaskResponse (line 241) | type UploadTaskResponse struct type OfflineDownloadResp (line 279) | type OfflineDownloadResp struct type OfflineListResp (line 289) | type OfflineListResp struct type OfflineTask (line 296) | type OfflineTask struct type Params (line 319) | type Params struct type LoginReviewResp (line 326) | type LoginReviewResp struct type ReviewData (line 344) | type ReviewData struct type AboutResponse (line 351) | type AboutResponse struct FILE: drivers/thunder/util.go constant API_URL (line 20) | API_URL = "https://api-pan.xunlei.com/drive/v1" constant FILE_API_URL (line 21) | FILE_API_URL = API_URL + "/files" constant TASK_API_URL (line 22) | TASK_API_URL = API_URL + "/tasks" constant XLUSER_API_BASE_URL (line 23) | XLUSER_API_BASE_URL = "https://xluser-ssl.xunlei.com" constant XLUSER_API_URL (line 24) | XLUSER_API_URL = XLUSER_API_BASE_URL + "/v1" constant FOLDER (line 28) | FOLDER = "drive#folder" constant FILE (line 29) | FILE = "drive#file" constant RESUMABLE (line 30) | RESUMABLE = "drive#resumable" constant UPLOAD_TYPE_UNKNOWN (line 34) | UPLOAD_TYPE_UNKNOWN = "UPLOAD_TYPE_UNKNOWN" constant UPLOAD_TYPE_RESUMABLE (line 36) | UPLOAD_TYPE_RESUMABLE = "UPLOAD_TYPE_RESUMABLE" constant UPLOAD_TYPE_URL (line 37) | UPLOAD_TYPE_URL = "UPLOAD_TYPE_URL" constant SignProvider (line 41) | SignProvider = "access_end_point_token" constant APPID (line 42) | APPID = "40" constant APPKey (line 43) | APPKey = "34a062aaa22f906fca4fefe9fb3a3021" function GetAction (line 46) | func GetAction(method string, url string) string { type Common (line 51) | type Common struct method SetCaptchaToken (line 77) | func (c *Common) SetCaptchaToken(captchaToken string) { method GetCaptchaToken (line 80) | func (c *Common) GetCaptchaToken() string { method SetCreditKey (line 84) | func (c *Common) SetCreditKey(creditKey string) { method GetCreditKey (line 87) | func (c *Common) GetCreditKey() string { method RefreshCaptchaTokenAtLogin (line 92) | func (c *Common) RefreshCaptchaTokenAtLogin(action, userID string) err... method RefreshCaptchaTokenInLogin (line 103) | func (c *Common) RefreshCaptchaTokenInLogin(action, username string) e... method GetCaptchaSign (line 116) | func (c *Common) GetCaptchaSign() (timestamp, sign string) { method refreshCaptchaToken (line 130) | func (c *Common) refreshCaptchaToken(action string, metas map[string]s... method Request (line 169) | func (c *Common) Request(url, method string, callback base.ReqCallback... method getReviewData (line 204) | func (c *Common) getReviewData(res *resty.Response) error { function getGcid (line 240) | func getGcid(r io.Reader, size int64) (string, error) { function generateDeviceSign (line 265) | func generateDeviceSign(deviceID, packageName string) string { FILE: drivers/thunder_browser/driver.go type ThunderBrowser (line 27) | type ThunderBrowser struct method Config (line 35) | func (x *ThunderBrowser) Config() driver.Config { method GetAddition (line 39) | func (x *ThunderBrowser) GetAddition() driver.Additional { method Init (line 43) | func (x *ThunderBrowser) Init(ctx context.Context) (err error) { method Drop (line 139) | func (x *ThunderBrowser) Drop(ctx context.Context) error { type ThunderBrowserExpert (line 143) | type ThunderBrowserExpert struct method Config (line 151) | func (x *ThunderBrowserExpert) Config() driver.Config { method GetAddition (line 155) | func (x *ThunderBrowserExpert) GetAddition() driver.Additional { method Init (line 159) | func (x *ThunderBrowserExpert) Init(ctx context.Context) (err error) { method Drop (line 325) | func (x *ThunderBrowserExpert) Drop(ctx context.Context) error { method SetTokenResp (line 329) | func (x *ThunderBrowserExpert) SetTokenResp(token *TokenResp) { type XunLeiBrowserCommon (line 336) | type XunLeiBrowserCommon struct method List (line 344) | func (xc *XunLeiBrowserCommon) List(ctx context.Context, dir model.Obj... method Link (line 348) | func (xc *XunLeiBrowserCommon) Link(ctx context.Context, file model.Ob... method MakeDir (line 385) | func (xc *XunLeiBrowserCommon) MakeDir(ctx context.Context, parentDir ... method Move (line 400) | func (xc *XunLeiBrowserCommon) Move(ctx context.Context, srcObj, dstDi... method Rename (line 419) | func (xc *XunLeiBrowserCommon) Rename(ctx context.Context, srcObj mode... method Copy (line 434) | func (xc *XunLeiBrowserCommon) Copy(ctx context.Context, srcObj, dstDi... method Remove (line 453) | func (xc *XunLeiBrowserCommon) Remove(ctx context.Context, obj model.O... method Put (line 491) | func (xc *XunLeiBrowserCommon) Put(ctx context.Context, dstDir model.O... method GetDetails (line 546) | func (xc *XunLeiBrowserCommon) GetDetails(ctx context.Context) (*model... method getFiles (line 572) | func (xc *XunLeiBrowserCommon) getFiles(ctx context.Context, dir model... method SetRefreshTokenFunc (line 621) | func (xc *XunLeiBrowserCommon) SetRefreshTokenFunc(fn func() error) { method SetTokenResp (line 626) | func (xc *XunLeiBrowserCommon) SetTokenResp(tr *TokenResp) { method SetCoreTokenResp (line 631) | func (xc *XunLeiBrowserCommon) SetCoreTokenResp(tr *CoreLoginResp) { method SetSpaceTokenResp (line 636) | func (xc *XunLeiBrowserCommon) SetSpaceTokenResp(spaceToken string) { method Request (line 641) | func (xc *XunLeiBrowserCommon) Request(url string, method string, call... method RefreshToken (line 702) | func (xc *XunLeiBrowserCommon) RefreshToken(refreshToken string) (*Tok... method GetSafeAccessToken (line 723) | func (xc *XunLeiBrowserCommon) GetSafeAccessToken(safePassword string)... method Login (line 742) | func (xc *XunLeiBrowserCommon) Login(username, password string) (*Toke... method IsLogin (line 770) | func (xc *XunLeiBrowserCommon) IsLogin() bool { method OfflineDownload (line 779) | func (xc *XunLeiBrowserCommon) OfflineDownload(ctx context.Context, fi... method OfflineList (line 845) | func (xc *XunLeiBrowserCommon) OfflineList(ctx context.Context, nextPa... method DeleteOfflineTasks (line 867) | func (xc *XunLeiBrowserCommon) DeleteOfflineTasks(ctx context.Context,... method CoreLogin (line 887) | func (xc *XunLeiBrowserCommon) CoreLogin(username string, password str... FILE: drivers/thunder_browser/meta.go type ExpertAddition (line 13) | type ExpertAddition struct method GetIdentity (line 58) | func (i *ExpertAddition) GetIdentity() string { type Addition (line 80) | type Addition struct method GetIdentity (line 95) | func (i *Addition) GetIdentity() string { function init (line 109) | func init() { FILE: drivers/thunder_browser/types.go type ErrResp (line 13) | type ErrResp struct method IsError (line 20) | func (e *ErrResp) IsError() bool { method Error (line 28) | func (e *ErrResp) Error() string { type CaptchaTokenRequest (line 35) | type CaptchaTokenRequest struct type CaptchaTokenResponse (line 44) | type CaptchaTokenResponse struct type TokenResp (line 53) | type TokenResp struct method GetToken (line 65) | func (t *TokenResp) GetToken() string { method GetSpaceToken (line 70) | func (t *TokenResp) GetSpaceToken() string { type SignInRequest (line 74) | type SignInRequest struct type CoreLoginRequest (line 81) | type CoreLoginRequest struct type CoreLoginResp (line 106) | type CoreLoginResp struct type FileList (line 152) | type FileList struct type Link (line 161) | type Link struct type Files (line 170) | type Files struct method GetHash (line 243) | func (c *Files) GetHash() utils.HashInfo { method GetSize (line 247) | func (c *Files) GetSize() int64 { size, _ := strconv.ParseInt(c... method GetName (line 248) | func (c *Files) GetName() string { return c.Name } method CreateTime (line 249) | func (c *Files) CreateTime() time.Time { return c.CreatedTime.Time } method ModTime (line 250) | func (c *Files) ModTime() time.Time { return c.ModifiedTime.Time } method IsDir (line 251) | func (c *Files) IsDir() bool { return c.Kind == FOLDER } method GetID (line 252) | func (c *Files) GetID() string { return c.ID } method GetPath (line 253) | func (c *Files) GetPath() string { method Thumb (line 256) | func (c *Files) Thumb() string { return c.ThumbnailLink } method GetSpace (line 258) | func (c *Files) GetSpace() string { type UploadTaskResponse (line 270) | type UploadTaskResponse struct type OfflineDownloadResp (line 308) | type OfflineDownloadResp struct type OfflineListResp (line 318) | type OfflineListResp struct type OfflineTask (line 325) | type OfflineTask struct type Params (line 348) | type Params struct type LoginReviewResp (line 355) | type LoginReviewResp struct type ReviewData (line 373) | type ReviewData struct type AboutResponse (line 380) | type AboutResponse struct FILE: drivers/thunder_browser/util.go constant API_URL (line 21) | API_URL = "https://x-api-pan.xunlei.com/drive/v1" constant FILE_API_URL (line 22) | FILE_API_URL = API_URL + "/files" constant TASK_API_URL (line 23) | TASK_API_URL = API_URL + "/tasks" constant XLUSER_API_BASE_URL (line 24) | XLUSER_API_BASE_URL = "https://xluser-ssl.xunlei.com" constant XLUSER_API_URL (line 25) | XLUSER_API_URL = XLUSER_API_BASE_URL + "/v1" constant ClientID (line 44) | ClientID = "ZUBzD9J_XPXfn7f7" constant ClientSecret (line 45) | ClientSecret = "yESVmHecEe6F0aou69vl-g" constant ClientVersion (line 46) | ClientVersion = "1.40.0.7208" constant PackageName (line 47) | PackageName = "com.xunlei.browser" constant DownloadUserAgent (line 48) | DownloadUserAgent = "AndroidDownloadManager/13 (Linux; U; Android 13; M2... constant SdkVersion (line 49) | SdkVersion = "509300" constant FOLDER (line 53) | FOLDER = "drive#folder" constant FILE (line 54) | FILE = "drive#file" constant RESUMABLE (line 55) | RESUMABLE = "drive#resumable" constant UPLOAD_TYPE_UNKNOWN (line 59) | UPLOAD_TYPE_UNKNOWN = "UPLOAD_TYPE_UNKNOWN" constant UPLOAD_TYPE_RESUMABLE (line 61) | UPLOAD_TYPE_RESUMABLE = "UPLOAD_TYPE_RESUMABLE" constant UPLOAD_TYPE_URL (line 62) | UPLOAD_TYPE_URL = "UPLOAD_TYPE_URL" constant ThunderDriveSpace (line 66) | ThunderDriveSpace = "" constant ThunderDriveSafeSpace (line 67) | ThunderDriveSafeSpace = "SPACE_SAFE" constant ThunderBrowserDriveSpace (line 68) | ThunderBrowserDriveSpace = "SPACE_BROWSER" constant ThunderBrowserDriveSafeSpace (line 69) | ThunderBrowserDriveSafeSpace = "SPACE_BROWSER_SAFE" constant ThunderDriveFolderType (line 70) | ThunderDriveFolderType = "DEFAULT_ROOT" constant ThunderBrowserDriveSafeFolderType (line 71) | ThunderBrowserDriveSafeFolderType = "BROWSER_SAFE" constant ThunderBrowserDriveFluentPlayFolderType (line 72) | ThunderBrowserDriveFluentPlayFolderType = "SPACE_FAVORITE" constant SignProvider (line 76) | SignProvider = "access_end_point_token" constant APPID (line 77) | APPID = "22062" constant APPKey (line 78) | APPKey = "a5d7416858147a4ab99573872ffccef8" function GetAction (line 81) | func GetAction(method string, url string) string { type Common (line 86) | type Common struct method SetDeviceID (line 113) | func (c *Common) SetDeviceID(deviceID string) { method SetCaptchaToken (line 117) | func (c *Common) SetCaptchaToken(captchaToken string) { method GetCaptchaToken (line 120) | func (c *Common) GetCaptchaToken() string { method SetCreditKey (line 124) | func (c *Common) SetCreditKey(creditKey string) { method GetCreditKey (line 127) | func (c *Common) GetCreditKey() string { method RefreshCaptchaTokenAtLogin (line 132) | func (c *Common) RefreshCaptchaTokenAtLogin(action, userID string) err... method RefreshCaptchaTokenInLogin (line 143) | func (c *Common) RefreshCaptchaTokenInLogin(action, username string) e... method GetCaptchaSign (line 156) | func (c *Common) GetCaptchaSign() (timestamp, sign string) { method refreshCaptchaToken (line 170) | func (c *Common) refreshCaptchaToken(action string, metas map[string]s... method Request (line 209) | func (c *Common) Request(url, method string, callback base.ReqCallback... method getReviewData (line 244) | func (c *Common) getReviewData(res *resty.Response) error { function getGcid (line 280) | func getGcid(r io.Reader, size int64) (string, error) { type CustomTime (line 305) | type CustomTime struct method UnmarshalJSON (line 311) | func (ct *CustomTime) UnmarshalJSON(b []byte) error { constant timeFormat (line 309) | timeFormat = time.RFC3339 function EncryptPassword (line 327) | func EncryptPassword(password string) string { function generateDeviceSign (line 339) | func generateDeviceSign(deviceID, packageName string) string { function BuildCustomUserAgent (line 360) | func BuildCustomUserAgent(deviceID, appName, sdkVersion, clientVersion, ... FILE: drivers/thunderx/driver.go type ThunderX (line 27) | type ThunderX struct method Config (line 35) | func (x *ThunderX) Config() driver.Config { method GetAddition (line 39) | func (x *ThunderX) GetAddition() driver.Additional { method Init (line 43) | func (x *ThunderX) Init(ctx context.Context) (err error) { method Drop (line 114) | func (x *ThunderX) Drop(ctx context.Context) error { type ThunderXExpert (line 118) | type ThunderXExpert struct method Config (line 126) | func (x *ThunderXExpert) Config() driver.Config { method GetAddition (line 130) | func (x *ThunderXExpert) GetAddition() driver.Additional { method Init (line 134) | func (x *ThunderXExpert) Init(ctx context.Context) (err error) { method Drop (line 258) | func (x *ThunderXExpert) Drop(ctx context.Context) error { method SetTokenResp (line 262) | func (x *ThunderXExpert) SetTokenResp(token *TokenResp) { type XunLeiXCommon (line 269) | type XunLeiXCommon struct method List (line 276) | func (xc *XunLeiXCommon) List(ctx context.Context, dir model.Obj, args... method Link (line 280) | func (xc *XunLeiXCommon) Link(ctx context.Context, file model.Obj, arg... method MakeDir (line 319) | func (xc *XunLeiXCommon) MakeDir(ctx context.Context, parentDir model.... method Move (line 331) | func (xc *XunLeiXCommon) Move(ctx context.Context, srcObj, dstDir mode... method Rename (line 342) | func (xc *XunLeiXCommon) Rename(ctx context.Context, srcObj model.Obj,... method Copy (line 351) | func (xc *XunLeiXCommon) Copy(ctx context.Context, srcObj, dstDir mode... method Remove (line 362) | func (xc *XunLeiXCommon) Remove(ctx context.Context, obj model.Obj) er... method Put (line 371) | func (xc *XunLeiXCommon) Put(ctx context.Context, dstDir model.Obj, fi... method GetDetails (line 426) | func (xc *XunLeiXCommon) GetDetails(ctx context.Context) (*model.Stora... method getFiles (line 452) | func (xc *XunLeiXCommon) getFiles(ctx context.Context, folderId string... method SetRefreshTokenFunc (line 488) | func (xc *XunLeiXCommon) SetRefreshTokenFunc(fn func() error) { method SetTokenResp (line 493) | func (xc *XunLeiXCommon) SetTokenResp(tr *TokenResp) { method Request (line 498) | func (xc *XunLeiXCommon) Request(url string, method string, callback b... method RefreshToken (line 536) | func (xc *XunLeiXCommon) RefreshToken(refreshToken string) (*TokenResp... method Login (line 558) | func (xc *XunLeiXCommon) Login(username, password string) (*TokenResp,... method IsLogin (line 582) | func (xc *XunLeiXCommon) IsLogin() bool { method OfflineDownload (line 591) | func (xc *XunLeiXCommon) OfflineDownload(ctx context.Context, fileUrl ... method OfflineList (line 616) | func (xc *XunLeiXCommon) OfflineList(ctx context.Context, nextPageToke... method DeleteOfflineTasks (line 656) | func (xc *XunLeiXCommon) DeleteOfflineTasks(ctx context.Context, taskI... FILE: drivers/thunderx/meta.go type ExpertAddition (line 13) | type ExpertAddition struct method GetIdentity (line 50) | func (i *ExpertAddition) GetIdentity() string { type Addition (line 72) | type Addition struct method GetIdentity (line 81) | func (i *Addition) GetIdentity() string { function init (line 95) | func init() { FILE: drivers/thunderx/types.go type ErrResp (line 13) | type ErrResp struct method IsError (line 20) | func (e *ErrResp) IsError() bool { method Error (line 24) | func (e *ErrResp) Error() string { type CaptchaTokenRequest (line 31) | type CaptchaTokenRequest struct type CaptchaTokenResponse (line 40) | type CaptchaTokenResponse struct type TokenResp (line 49) | type TokenResp struct method Token (line 59) | func (t *TokenResp) Token() string { type SignInRequest (line 63) | type SignInRequest struct type FileList (line 76) | type FileList struct type Link (line 84) | type Link struct type Files (line 93) | type Files struct method GetHash (line 155) | func (c *Files) GetHash() utils.HashInfo { method GetSize (line 159) | func (c *Files) GetSize() int64 { size, _ := strconv.ParseInt(c... method GetName (line 160) | func (c *Files) GetName() string { return c.Name } method CreateTime (line 161) | func (c *Files) CreateTime() time.Time { return c.CreatedTime } method ModTime (line 162) | func (c *Files) ModTime() time.Time { return c.ModifiedTime } method IsDir (line 163) | func (c *Files) IsDir() bool { return c.Kind == FOLDER } method GetID (line 164) | func (c *Files) GetID() string { return c.ID } method GetPath (line 165) | func (c *Files) GetPath() string { return "" } method Thumb (line 166) | func (c *Files) Thumb() string { return c.ThumbnailLink } type UploadTaskResponse (line 171) | type UploadTaskResponse struct type OfflineDownloadResp (line 209) | type OfflineDownloadResp struct type OfflineListResp (line 219) | type OfflineListResp struct type OfflineTask (line 226) | type OfflineTask struct type Params (line 250) | type Params struct type ReferenceResource (line 257) | type ReferenceResource struct type Media (line 277) | type Media struct type AboutResponse (line 307) | type AboutResponse struct FILE: drivers/thunderx/util.go constant API_URL (line 20) | API_URL = "https://api-pan.xunleix.com/drive/v1" constant FILE_API_URL (line 21) | FILE_API_URL = API_URL + "/files" constant TASKS_API_URL (line 22) | TASKS_API_URL = API_URL + "/tasks" constant XLUSER_API_URL (line 23) | XLUSER_API_URL = "https://xluser-ssl.xunleix.com/v1" constant ClientID (line 45) | ClientID = "ZQL_zwA4qhHcoe_2" constant ClientSecret (line 46) | ClientSecret = "Og9Vr1L8Ee6bh0olFxFDRg" constant ClientVersion (line 47) | ClientVersion = "1.06.0.2132" constant PackageName (line 48) | PackageName = "com.thunder.downloader" constant DownloadUserAgent (line 49) | DownloadUserAgent = "Dalvik/2.1.0 (Linux; U; Android 13; M2004J7AC Build... constant SdkVersion (line 50) | SdkVersion = "2.0.3.203100 " constant FOLDER (line 54) | FOLDER = "drive#folder" constant FILE (line 55) | FILE = "drive#file" constant RESUMABLE (line 56) | RESUMABLE = "drive#resumable" constant UPLOAD_TYPE_UNKNOWN (line 60) | UPLOAD_TYPE_UNKNOWN = "UPLOAD_TYPE_UNKNOWN" constant UPLOAD_TYPE_RESUMABLE (line 62) | UPLOAD_TYPE_RESUMABLE = "UPLOAD_TYPE_RESUMABLE" constant UPLOAD_TYPE_URL (line 63) | UPLOAD_TYPE_URL = "UPLOAD_TYPE_URL" function GetAction (line 66) | func GetAction(method string, url string) string { type Common (line 71) | type Common struct method SetDeviceID (line 94) | func (c *Common) SetDeviceID(deviceID string) { method SetUserID (line 98) | func (c *Common) SetUserID(userID string) { method SetUserAgent (line 102) | func (c *Common) SetUserAgent(userAgent string) { method SetCaptchaToken (line 106) | func (c *Common) SetCaptchaToken(captchaToken string) { method GetCaptchaToken (line 109) | func (c *Common) GetCaptchaToken() string { method RefreshCaptchaTokenAtLogin (line 114) | func (c *Common) RefreshCaptchaTokenAtLogin(action, userID string) err... method RefreshCaptchaTokenInLogin (line 125) | func (c *Common) RefreshCaptchaTokenInLogin(action, username string) e... method GetCaptchaSign (line 138) | func (c *Common) GetCaptchaSign() (timestamp, sign string) { method refreshCaptchaToken (line 152) | func (c *Common) refreshCaptchaToken(action string, metas map[string]s... method Request (line 191) | func (c *Common) Request(url, method string, callback base.ReqCallback... function getGcid (line 221) | func getGcid(r io.Reader, size int64) (string, error) { function generateDeviceSign (line 246) | func generateDeviceSign(deviceID, packageName string) string { function BuildCustomUserAgent (line 267) | func BuildCustomUserAgent(deviceID, clientID, appName, sdkVersion, clien... FILE: drivers/url_tree/driver.go type Urls (line 18) | type Urls struct method Config (line 25) | func (d *Urls) Config() driver.Config { method GetAddition (line 29) | func (d *Urls) GetAddition() driver.Additional { method Init (line 33) | func (d *Urls) Init(ctx context.Context) error { method Drop (line 43) | func (d *Urls) Drop(ctx context.Context) error { method Get (line 51) | func (d *Urls) Get(ctx context.Context, path string) (model.Obj, error) { method List (line 58) | func (d *Urls) List(ctx context.Context, dir model.Obj, args model.Lis... method Link (line 74) | func (d *Urls) Link(ctx context.Context, file model.Obj, args model.Li... method MakeDir (line 90) | func (d *Urls) MakeDir(ctx context.Context, parentDir model.Obj, dirNa... method Move (line 112) | func (d *Urls) Move(ctx context.Context, srcObj, dstDir model.Obj) (mo... method Rename (line 150) | func (d *Urls) Rename(ctx context.Context, srcObj model.Obj, newName s... method Copy (line 165) | func (d *Urls) Copy(ctx context.Context, srcObj, dstDir model.Obj) (mo... method Remove (line 189) | func (d *Urls) Remove(ctx context.Context, obj model.Obj) error { method PutURL (line 220) | func (d *Urls) PutURL(ctx context.Context, dstDir model.Obj, name, url... method Put (line 249) | func (d *Urls) Put(ctx context.Context, dstDir model.Obj, stream model... method updateStorage (line 271) | func (d *Urls) updateStorage() { method GetRootPath (line 47) | func (Addition) GetRootPath() string { FILE: drivers/url_tree/meta.go type Addition (line 8) | type Addition struct function init (line 22) | func init() { FILE: drivers/url_tree/types.go type Node (line 6) | type Node struct method getByPath (line 15) | func (node *Node) getByPath(paths []string) *Node { method isFile (line 34) | func (node *Node) isFile() bool { method calSize (line 38) | func (node *Node) calSize() int64 { method setLevel (line 50) | func (node *Node) setLevel(level int) { method deepCopy (line 57) | func (node *Node) deepCopy(level int) *Node { FILE: drivers/url_tree/urls_test.go function testTree (line 9) | func testTree() (*url_tree.Node, error) { function TestBuildTree (line 24) | func TestBuildTree(t *testing.T) { function TestGetNode (line 33) | func TestGetNode(t *testing.T) { FILE: drivers/url_tree/util.go function BuildTree (line 36) | func BuildTree(text string, headSize bool) (*Node, error) { function isFolder (line 92) | func isFolder(line string) bool { function parseFileLine (line 98) | func parseFileLine(line string, headSize bool) (*Node, error) { function splitPath (line 152) | func splitPath(path string) []string { function GetNodeFromRootByPath (line 164) | func GetNodeFromRootByPath(root *Node, path string) *Node { function nodeToObj (line 168) | func nodeToObj(node *Node, path string) (model.Obj, error) { function getSizeFromUrl (line 181) | func getSizeFromUrl(url string) (int64, error) { function StringifyTree (line 197) | func StringifyTree(node *Node) string { FILE: drivers/uss/driver.go type USS (line 19) | type USS struct method Config (line 25) | func (d *USS) Config() driver.Config { method GetAddition (line 29) | func (d *USS) GetAddition() driver.Additional { method Init (line 33) | func (d *USS) Init(ctx context.Context) error { method Drop (line 42) | func (d *USS) Drop(ctx context.Context) error { method List (line 46) | func (d *USS) List(ctx context.Context, dir model.Obj, args model.List... method Link (line 76) | func (d *USS) Link(ctx context.Context, file model.Obj, args model.Lin... method MakeDir (line 96) | func (d *USS) MakeDir(ctx context.Context, parentDir model.Obj, dirNam... method Move (line 100) | func (d *USS) Move(ctx context.Context, srcObj, dstDir model.Obj) error { method Rename (line 107) | func (d *USS) Rename(ctx context.Context, srcObj model.Obj, newName st... method Copy (line 114) | func (d *USS) Copy(ctx context.Context, srcObj, dstDir model.Obj) error { method Remove (line 121) | func (d *USS) Remove(ctx context.Context, obj model.Obj) error { method Put (line 128) | func (d *USS) Put(ctx context.Context, dstDir model.Obj, s model.FileS... FILE: drivers/uss/meta.go type Addition (line 8) | type Addition struct function init (line 25) | func init() { FILE: drivers/uss/util.go function getKey (line 7) | func getKey(path string, dir bool) string { FILE: drivers/virtual/driver.go type Virtual (line 13) | type Virtual struct method Config (line 18) | func (d *Virtual) Config() driver.Config { method Init (line 22) | func (d *Virtual) Init(ctx context.Context) error { method Drop (line 26) | func (d *Virtual) Drop(ctx context.Context) error { method GetAddition (line 30) | func (d *Virtual) GetAddition() driver.Additional { method List (line 34) | func (d *Virtual) List(ctx context.Context, dir model.Obj, args model.... method Link (line 59) | func (d *Virtual) Link(ctx context.Context, file model.Obj, args model... method MakeDir (line 65) | func (d *Virtual) MakeDir(ctx context.Context, parentDir model.Obj, di... method Move (line 75) | func (d *Virtual) Move(ctx context.Context, srcObj, dstDir model.Obj) ... method Rename (line 79) | func (d *Virtual) Rename(ctx context.Context, srcObj model.Obj, newNam... method Copy (line 89) | func (d *Virtual) Copy(ctx context.Context, srcObj, dstDir model.Obj) ... method Remove (line 93) | func (d *Virtual) Remove(ctx context.Context, obj model.Obj) error { method Put (line 97) | func (d *Virtual) Put(ctx context.Context, dstDir model.Obj, stream mo... type DummyMFile (line 45) | type DummyMFile struct method Read (line 47) | func (f DummyMFile) Read(p []byte) (n int, err error) { method ReadAt (line 51) | func (f DummyMFile) ReadAt(p []byte, off int64) (n int, err error) { method Seek (line 55) | func (DummyMFile) Seek(offset int64, whence int) (int64, error) { FILE: drivers/virtual/meta.go type Addition (line 8) | type Addition struct function init (line 24) | func init() { FILE: drivers/virtual/util.go method genObj (line 10) | func (d *Virtual) genObj(dir bool) model.Obj { FILE: drivers/webdav/driver.go type WebDav (line 19) | type WebDav struct method Config (line 26) | func (d *WebDav) Config() driver.Config { method GetAddition (line 30) | func (d *WebDav) GetAddition() driver.Additional { method Init (line 34) | func (d *WebDav) Init(ctx context.Context) error { method Drop (line 45) | func (d *WebDav) Drop(ctx context.Context) error { method List (line 52) | func (d *WebDav) List(ctx context.Context, dir model.Obj, args model.L... method Link (line 68) | func (d *WebDav) Link(ctx context.Context, file model.Obj, args model.... method MakeDir (line 95) | func (d *WebDav) MakeDir(ctx context.Context, parentDir model.Obj, dir... method Move (line 99) | func (d *WebDav) Move(ctx context.Context, srcObj, dstDir model.Obj) e... method Rename (line 103) | func (d *WebDav) Rename(ctx context.Context, srcObj model.Obj, newName... method Copy (line 107) | func (d *WebDav) Copy(ctx context.Context, srcObj, dstDir model.Obj) e... method Remove (line 111) | func (d *WebDav) Remove(ctx context.Context, obj model.Obj) error { method Put (line 115) | func (d *WebDav) Put(ctx context.Context, dstDir model.Obj, s model.Fi... FILE: drivers/webdav/meta.go type Addition (line 8) | type Addition struct function init (line 24) | func init() { FILE: drivers/webdav/odrvcookie/cookie.go function GetCookie (line 23) | func GetCookie(username, password, siteUrl string) (string, error) { FILE: drivers/webdav/odrvcookie/fetch.go type CookieAuth (line 21) | type CookieAuth struct method Cookies (line 93) | func (ca *CookieAuth) Cookies() (CookieResponse, error) { method getSPCookie (line 101) | func (ca *CookieAuth) getSPCookie(conf *SuccessResponse) (CookieRespon... method getSPToken (line 163) | func (ca *CookieAuth) getSPToken() (*SuccessResponse, error) { type CookieResponse (line 28) | type CookieResponse struct type SuccessResponse (line 34) | type SuccessResponse struct type SuccessResponseBody (line 40) | type SuccessResponseBody struct constant reqString (line 49) | reqString = `> 1) constant MinInt (line 11) | MinInt = -MaxInt - 1 FILE: internal/model/search.go type IndexProgress (line 8) | type IndexProgress struct type SearchReq (line 15) | type SearchReq struct method Validate (line 30) | func (p *SearchReq) Validate() error { type SearchNode (line 23) | type SearchNode struct method Type (line 40) | func (s *SearchNode) Type() string { FILE: internal/model/setting.go constant SINGLE (line 4) | SINGLE = iota constant SITE (line 5) | SITE constant STYLE (line 6) | STYLE constant PREVIEW (line 7) | PREVIEW constant GLOBAL (line 8) | GLOBAL constant OFFLINE_DOWNLOAD (line 9) | OFFLINE_DOWNLOAD constant INDEX (line 10) | INDEX constant SSO (line 11) | SSO constant LDAP (line 12) | LDAP constant S3 (line 13) | S3 constant FTP (line 14) | FTP constant TRAFFIC (line 15) | TRAFFIC constant PUBLIC (line 19) | PUBLIC = iota constant PRIVATE (line 20) | PRIVATE constant READONLY (line 21) | READONLY constant DEPRECATED (line 22) | DEPRECATED type SettingItem (line 25) | type SettingItem struct method IsDeprecated (line 37) | func (s SettingItem) IsDeprecated() bool { FILE: internal/model/sharing.go type SharingDB (line 5) | type SharingDB struct type Sharing (line 20) | type Sharing struct method Valid (line 26) | func (s *Sharing) Valid() bool { method Verify (line 45) | func (s *Sharing) Verify(pwd string) bool { FILE: internal/model/sshkey.go type SSHPublicKey (line 8) | type SSHPublicKey struct method GetKey (line 18) | func (k *SSHPublicKey) GetKey() (ssh.PublicKey, error) { method UpdateLastUsedTime (line 26) | func (k *SSHPublicKey) UpdateLastUsedTime() { FILE: internal/model/storage.go type Storage (line 8) | type Storage struct method GetStorage (line 41) | func (s *Storage) GetStorage() *Storage { method SetStorage (line 45) | func (s *Storage) SetStorage(storage Storage) { method SetStatus (line 49) | func (s *Storage) SetStatus(status string) { type Sort (line 26) | type Sort struct type Proxy (line 32) | type Proxy struct method Webdav302 (line 53) | func (p Proxy) Webdav302() bool { method WebdavProxyURL (line 57) | func (p Proxy) WebdavProxyURL() bool { type DiskUsage (line 61) | type DiskUsage struct method FreeSpace (line 66) | func (d DiskUsage) FreeSpace() int64 { method MarshalJSON (line 70) | func (d DiskUsage) MarshalJSON() ([]byte, error) { type StorageDetails (line 78) | type StorageDetails struct type ObjWithStorageDetails (line 82) | type ObjWithStorageDetails interface type ObjStorageDetails (line 86) | type ObjStorageDetails struct method Unwrap (line 91) | func (o *ObjStorageDetails) Unwrap() Obj { method GetStorageDetails (line 95) | func (o *ObjStorageDetails) GetStorageDetails() *StorageDetails { function GetStorageDetails (line 99) | func GetStorageDetails(obj Obj) (*StorageDetails, bool) { FILE: internal/model/task.go type TaskItem (line 3) | type TaskItem struct FILE: internal/model/user.go constant GENERAL (line 18) | GENERAL = iota constant GUEST (line 19) | GUEST constant ADMIN (line 20) | ADMIN constant StaticHashSalt (line 24) | StaticHashSalt = "https://github.com/alist-org/alist" constant InvalidUsernameOrPassword (line 26) | InvalidUsernameOrPassword = "Invalid username or password" constant Invalid2FACode (line 27) | Invalid2FACode = "Invalid 2FA code" constant TooManyAttempts (line 28) | TooManyAttempts = "Too many unsuccessful sign-in attempts have... constant GuestCannotUpdateProfile (line 29) | GuestCannotUpdateProfile = "Guest user can not update profile" constant GuestCannotGenerate2FA (line 30) | GuestCannotGenerate2FA = "Guest user can not generate 2FA code" type User (line 40) | type User struct method IsGuest (line 73) | func (u *User) IsGuest() bool { method IsAdmin (line 77) | func (u *User) IsAdmin() bool { method ValidateRawPassword (line 81) | func (u *User) ValidateRawPassword(password string) error { method ValidatePwdStaticHash (line 85) | func (u *User) ValidatePwdStaticHash(pwdStaticHash string) error { method SetPassword (line 95) | func (u *User) SetPassword(pwd string) *User { method CanSeeHides (line 106) | func (u *User) CanSeeHides() bool { method CanAccessWithoutPassword (line 114) | func (u *User) CanAccessWithoutPassword() bool { method CanAddOfflineDownloadTasks (line 122) | func (u *User) CanAddOfflineDownloadTasks() bool { method CanWrite (line 130) | func (u *User) CanWrite() bool { method CanRename (line 138) | func (u *User) CanRename() bool { method CanMove (line 146) | func (u *User) CanMove() bool { method CanCopy (line 154) | func (u *User) CanCopy() bool { method CanRemove (line 162) | func (u *User) CanRemove() bool { method CanWebdavRead (line 170) | func (u *User) CanWebdavRead() bool { method CanWebdavManage (line 178) | func (u *User) CanWebdavManage() bool { method CanFTPAccess (line 186) | func (u *User) CanFTPAccess() bool { method CanFTPManage (line 194) | func (u *User) CanFTPManage() bool { method CanReadArchives (line 202) | func (u *User) CanReadArchives() bool { method CanDecompress (line 210) | func (u *User) CanDecompress() bool { method CanShare (line 218) | func (u *User) CanShare() bool { method JoinPath (line 222) | func (u *User) JoinPath(reqPath string) (string, error) { method WebAuthnID (line 238) | func (u *User) WebAuthnID() []byte { method WebAuthnName (line 244) | func (u *User) WebAuthnName() string { method WebAuthnDisplayName (line 248) | func (u *User) WebAuthnDisplayName() string { method WebAuthnCredentials (line 252) | func (u *User) WebAuthnCredentials() []webauthn.Credential { method WebAuthnIcon (line 261) | func (u *User) WebAuthnIcon() string { function CanSeeHides (line 102) | func CanSeeHides(permission int32) bool { function CanAccessWithoutPassword (line 110) | func CanAccessWithoutPassword(permission int32) bool { function CanAddOfflineDownloadTasks (line 118) | func CanAddOfflineDownloadTasks(permission int32) bool { function CanWrite (line 126) | func CanWrite(permission int32) bool { function CanRename (line 134) | func CanRename(permission int32) bool { function CanMove (line 142) | func CanMove(permission int32) bool { function CanCopy (line 150) | func CanCopy(permission int32) bool { function CanRemove (line 158) | func CanRemove(permission int32) bool { function CanWebdavRead (line 166) | func CanWebdavRead(permission int32) bool { function CanWebdavManage (line 174) | func CanWebdavManage(permission int32) bool { function CanFTPAccess (line 182) | func CanFTPAccess(permission int32) bool { function CanFTPManage (line 190) | func CanFTPManage(permission int32) bool { function CanReadArchives (line 198) | func CanReadArchives(permission int32) bool { function CanDecompress (line 206) | func CanDecompress(permission int32) bool { function CanShare (line 214) | func CanShare(permission int32) bool { function StaticHash (line 226) | func StaticHash(password string) string { function HashPwd (line 230) | func HashPwd(static string, salt string) string { function TwoHashPwd (line 234) | func TwoHashPwd(password string, salt string) string { FILE: internal/net/oss.go function NewOSSClient (line 5) | func NewOSSClient(endpoint, accessKeyID, accessKeySecret string, options... FILE: internal/net/oss_test.go function TestNewOSSClientUsesEnvironmentHTTPSProxy (line 11) | func TestNewOSSClientUsesEnvironmentHTTPSProxy(t *testing.T) { FILE: internal/net/request.go constant DefaultDownloadPartSize (line 27) | DefaultDownloadPartSize = utils.MB * 8 constant DefaultDownloadConcurrency (line 31) | DefaultDownloadConcurrency = 2 constant DefaultPartBodyMaxRetries (line 34) | DefaultPartBodyMaxRetries = 3 type Downloader (line 38) | type Downloader struct method Download (line 72) | func (d Downloader) Download(ctx context.Context, p *HttpRequestParams... type HttpRequestFunc (line 55) | type HttpRequestFunc function NewDownloader (line 57) | func NewDownloader(options ...func(*Downloader)) *Downloader { type downloader (line 100) | type downloader struct method concurrencyCheck (line 149) | func (d *downloader) concurrencyCheck() error { method concurrencyFinish (line 155) | func (d *downloader) concurrencyFinish() { method download (line 162) | func (d *downloader) download() (io.ReadCloser, error) { method sendChunkTask (line 213) | func (d *downloader) sendChunkTask(newConcurrency bool) error { method interrupt (line 280) | func (d *downloader) interrupt() error { method getBuf (line 303) | func (d *downloader) getBuf(id int) (b *Buf) { method finishBuf (line 306) | func (d *downloader) finishBuf(id int) (isLast bool, nextBuf *Buf) { method downloadPart (line 320) | func (d *downloader) downloadPart() { method downloadChunk (line 353) | func (d *downloader) downloadChunk(ch *chunk) error { method tryDownloadChunk (line 404) | func (d *downloader) tryDownloadChunk(params *HttpRequestParams, ch *c... method getParamsFromChunk (line 473) | func (d *downloader) getParamsFromChunk(ch *chunk) *HttpRequestParams { method checkTotalBytes (line 482) | func (d *downloader) checkTotalBytes(resp *http.Response) error { method incrWritten (line 524) | func (d *downloader) incrWritten(n int64) { method getErr (line 532) | func (d *downloader) getErr() error { method setErr (line 540) | func (d *downloader) setErr(e error) { type ConcurrencyLimit (line 124) | type ConcurrencyLimit struct method sub (line 131) | func (l *ConcurrencyLimit) sub() error { method add (line 141) | func (l *ConcurrencyLimit) add() { type chunk (line 551) | type chunk struct function DefaultHttpRequestFunc (line 560) | func DefaultHttpRequestFunc(ctx context.Context, params *HttpRequestPara... function GetRangeReaderHttpRequestFunc (line 565) | func GetRangeReaderHttpRequestFunc(rangeReader model.RangeReaderIF) Http... type HttpRequestParams (line 584) | type HttpRequestParams struct type errNeedRetry (line 592) | type errNeedRetry struct method Error (line 596) | func (e *errNeedRetry) Error() string { method Unwrap (line 600) | func (e *errNeedRetry) Unwrap() error { type MultiReadCloser (line 604) | type MultiReadCloser struct method Read (line 623) | func (mr MultiReadCloser) Read(p []byte) (n int, err error) { method Close (line 647) | func (mr MultiReadCloser) Close() error { type cfg (line 610) | type cfg struct type closerFunc (line 615) | type closerFunc type finishBufFUnc (line 616) | type finishBufFUnc function NewMultiReadCloser (line 619) | func NewMultiReadCloser(buf *Buf, c closerFunc, fb finishBufFUnc) *Multi... type Buf (line 651) | type Buf struct method Reset (line 684) | func (br *Buf) Reset(size int) error { method Read (line 699) | func (br *Buf) Read(p []byte) (int, error) { method Write (line 744) | func (br *Buf) Write(p []byte) (int, error) { method Close (line 774) | func (br *Buf) Close() error { function NewBuf (line 666) | func NewBuf(ctx context.Context, maxSize int) *Buf { FILE: internal/net/request_test.go function containsString (line 21) | func containsString(slice []string, val string) bool { function dummyHttpRequest (line 30) | func dummyHttpRequest(data []byte, p http_range.Range) io.ReadCloser { function TestDownloadOrder (line 42) | func TestDownloadOrder(t *testing.T) { function init (line 88) | func init() { function TestDownloadSingle (line 98) | func TestDownloadSingle(t *testing.T) { type downloadCaptureClient (line 141) | type downloadCaptureClient struct method HttpRequest (line 150) | func (c *downloadCaptureClient) HttpRequest(ctx context.Context, param... function newDownloadRangeClient (line 163) | func newDownloadRangeClient(data []byte) (*downloadCaptureClient, *int, ... FILE: internal/net/serve.go function ServeHTTP (line 54) | func ServeHTTP(w http.ResponseWriter, r *http.Request, name string, modT... function ProcessHeader (line 212) | func ProcessHeader(origin, override http.Header) http.Header { function RequestHttp (line 229) | func RequestHttp(ctx context.Context, httpMethod string, headerOverride ... type HttpStatusCodeError (line 262) | type HttpStatusCodeError method Error (line 264) | func (e HttpStatusCodeError) Error() string { function HttpClient (line 271) | func HttpClient() *http.Client { function NewHttpClient (line 285) | func NewHttpClient() *http.Client { FILE: internal/net/util.go function scanETag (line 24) | func scanETag(s string) (etag string, remain string) { function etagStrongMatch (line 51) | func etagStrongMatch(a, b string) bool { function etagWeakMatch (line 57) | func etagWeakMatch(a, b string) bool { type condResult (line 63) | type condResult constant condNone (line 66) | condNone condResult = iota constant condTrue (line 67) | condTrue constant condFalse (line 68) | condFalse function checkIfMatch (line 71) | func checkIfMatch(w http.ResponseWriter, r *http.Request) condResult { function checkIfUnmodifiedSince (line 102) | func checkIfUnmodifiedSince(r *http.Request, modtime time.Time) condResu... function checkIfNoneMatch (line 125) | func checkIfNoneMatch(w http.ResponseWriter, r *http.Request) condResult { function checkIfModifiedSince (line 156) | func checkIfModifiedSince(r *http.Request, modtime time.Time) condResult { function checkIfRange (line 181) | func checkIfRange(w http.ResponseWriter, r *http.Request, modtime time.T... function isZeroTime (line 215) | func isZeroTime(t time.Time) bool { function setLastModified (line 219) | func setLastModified(w http.ResponseWriter, modtime time.Time) { function writeNotModified (line 225) | func writeNotModified(w http.ResponseWriter) { function checkPreconditions (line 243) | func checkPreconditions(w http.ResponseWriter, r *http.Request, modtime ... function sumRangesSize (line 275) | func sumRangesSize(ranges []http_range.Range) (size int64) { type countingWriter (line 283) | type countingWriter method Write (line 285) | func (w *countingWriter) Write(p []byte) (n int, err error) { function rangesMIMESize (line 292) | func rangesMIMESize(ranges []http_range.Range, contentType string, conte... function GetRangedHttpReader (line 312) | func GetRangedHttpReader(readCloser io.ReadCloser, offset, length int64)... function SetProxyIfConfigured (line 327) | func SetProxyIfConfigured(transport *http.Transport) { function SetRestyProxyIfConfigured (line 337) | func SetRestyProxyIfConfigured(client *resty.Client) { FILE: internal/offline_download/115/client.go type Cloud115 (line 17) | type Cloud115 struct method Name (line 21) | func (p *Cloud115) Name() string { method Items (line 25) | func (p *Cloud115) Items() []model.SettingItem { method Run (line 29) | func (p *Cloud115) Run(task *tool.DownloadTask) error { method Init (line 33) | func (p *Cloud115) Init() (string, error) { method IsReady (line 38) | func (p *Cloud115) IsReady() bool { method AddURL (line 53) | func (p *Cloud115) AddURL(args *tool.AddUrlArgs) (string, error) { method Remove (line 84) | func (p *Cloud115) Remove(task *tool.DownloadTask) error { method Status (line 101) | func (p *Cloud115) Status(task *tool.DownloadTask) (*tool.Status, erro... function init (line 141) | func init() { FILE: internal/offline_download/115_open/client.go type Open115 (line 17) | type Open115 struct method Name (line 20) | func (o *Open115) Name() string { method Items (line 24) | func (o *Open115) Items() []model.SettingItem { method Run (line 28) | func (o *Open115) Run(task *tool.DownloadTask) error { method Init (line 32) | func (o *Open115) Init() (string, error) { method IsReady (line 36) | func (o *Open115) IsReady() bool { method AddURL (line 51) | func (o *Open115) AddURL(args *tool.AddUrlArgs) (string, error) { method Remove (line 80) | func (o *Open115) Remove(task *tool.DownloadTask) error { method Status (line 97) | func (o *Open115) Status(task *tool.DownloadTask) (*tool.Status, error) { function init (line 138) | func init() { FILE: internal/offline_download/123/client.go type Pan123 (line 17) | type Pan123 struct method Name (line 19) | func (*Pan123) Name() string { method Items (line 23) | func (*Pan123) Items() []model.SettingItem { method Run (line 29) | func (*Pan123) Run(_ *tool.DownloadTask) error { method Init (line 33) | func (*Pan123) Init() (string, error) { method IsReady (line 37) | func (*Pan123) IsReady() bool { method AddURL (line 52) | func (*Pan123) AddURL(args *tool.AddUrlArgs) (string, error) { method Remove (line 76) | func (*Pan123) Remove(task *tool.DownloadTask) error { method Status (line 92) | func (*Pan123) Status(task *tool.DownloadTask) (*tool.Status, error) { function init (line 140) | func init() { FILE: internal/offline_download/123_open/client.go type Open123 (line 17) | type Open123 struct method Name (line 19) | func (*Open123) Name() string { method Items (line 23) | func (*Open123) Items() []model.SettingItem { method Run (line 27) | func (*Open123) Run(_ *tool.DownloadTask) error { method Init (line 31) | func (*Open123) Init() (string, error) { method IsReady (line 35) | func (*Open123) IsReady() bool { method AddURL (line 50) | func (*Open123) AddURL(args *tool.AddUrlArgs) (string, error) { method Remove (line 75) | func (*Open123) Remove(_ *tool.DownloadTask) error { method Status (line 79) | func (*Open123) Status(task *tool.DownloadTask) (*tool.Status, error) { function init (line 117) | func init() { FILE: internal/offline_download/aria2/aria2.go type Aria2 (line 22) | type Aria2 struct method Run (line 26) | func (a *Aria2) Run(task *tool.DownloadTask) error { method Name (line 30) | func (a *Aria2) Name() string { method Items (line 34) | func (a *Aria2) Items() []model.SettingItem { method Init (line 42) | func (a *Aria2) Init() (string, error) { method IsReady (line 59) | func (a *Aria2) IsReady() bool { method AddURL (line 63) | func (a *Aria2) AddURL(args *tool.AddUrlArgs) (string, error) { method Remove (line 75) | func (a *Aria2) Remove(task *tool.DownloadTask) error { method Status (line 80) | func (a *Aria2) Status(task *tool.DownloadTask) (*tool.Status, error) { function init (line 126) | func init() { FILE: internal/offline_download/aria2/notify.go constant Downloading (line 9) | Downloading = iota constant Paused (line 10) | Paused constant Stopped (line 11) | Stopped constant Completed (line 12) | Completed constant Errored (line 13) | Errored type Notify (line 16) | type Notify struct method OnDownloadStart (line 24) | func (n *Notify) OnDownloadStart(events []rpc.Event) { method OnDownloadPause (line 32) | func (n *Notify) OnDownloadPause(events []rpc.Event) { method OnDownloadStop (line 40) | func (n *Notify) OnDownloadStop(events []rpc.Event) { method OnDownloadComplete (line 48) | func (n *Notify) OnDownloadComplete(events []rpc.Event) { method OnDownloadError (line 56) | func (n *Notify) OnDownloadError(events []rpc.Event) { method OnBtDownloadComplete (line 64) | func (n *Notify) OnBtDownloadComplete(events []rpc.Event) { function NewNotify (line 20) | func NewNotify() *Notify { FILE: internal/offline_download/http/client.go type SimpleHttp (line 20) | type SimpleHttp struct method Name (line 24) | func (s SimpleHttp) Name() string { method Items (line 28) | func (s SimpleHttp) Items() []model.SettingItem { method Init (line 32) | func (s SimpleHttp) Init() (string, error) { method IsReady (line 36) | func (s SimpleHttp) IsReady() bool { method AddURL (line 40) | func (s SimpleHttp) AddURL(args *tool.AddUrlArgs) (string, error) { method Remove (line 44) | func (s SimpleHttp) Remove(task *tool.DownloadTask) error { method Status (line 48) | func (s SimpleHttp) Status(task *tool.DownloadTask) (*tool.Status, err... method Run (line 52) | func (s SimpleHttp) Run(task *tool.DownloadTask) error { function init (line 105) | func init() { FILE: internal/offline_download/http/util.go function parseFilenameFromContentDisposition (line 8) | func parseFilenameFromContentDisposition(contentDisposition string) (str... FILE: internal/offline_download/pikpak/pikpak.go type PikPak (line 18) | type PikPak struct method Name (line 22) | func (p *PikPak) Name() string { method Items (line 26) | func (p *PikPak) Items() []model.SettingItem { method Run (line 30) | func (p *PikPak) Run(task *tool.DownloadTask) error { method Init (line 34) | func (p *PikPak) Init() (string, error) { method IsReady (line 39) | func (p *PikPak) IsReady() bool { method AddURL (line 54) | func (p *PikPak) AddURL(args *tool.AddUrlArgs) (string, error) { method Remove (line 85) | func (p *PikPak) Remove(task *tool.DownloadTask) error { method Status (line 102) | func (p *PikPak) Status(task *tool.DownloadTask) (*tool.Status, error) { function init (line 141) | func init() { FILE: internal/offline_download/pikpak/util.go method GetTasks (line 16) | func (p *PikPak) GetTasks(pikpakDriver *pikpak.PikPak) ([]pikpak.Offline... FILE: internal/offline_download/qbit/qbit.go type QBittorrent (line 13) | type QBittorrent struct method Run (line 17) | func (a *QBittorrent) Run(task *tool.DownloadTask) error { method Name (line 21) | func (a *QBittorrent) Name() string { method Items (line 25) | func (a *QBittorrent) Items() []model.SettingItem { method Init (line 33) | func (a *QBittorrent) Init() (string, error) { method IsReady (line 44) | func (a *QBittorrent) IsReady() bool { method AddURL (line 48) | func (a *QBittorrent) AddURL(args *tool.AddUrlArgs) (string, error) { method Remove (line 56) | func (a *QBittorrent) Remove(task *tool.DownloadTask) error { method Status (line 61) | func (a *QBittorrent) Status(task *tool.DownloadTask) (*tool.Status, e... function init (line 84) | func init() { FILE: internal/offline_download/thunder/thunder.go type Thunder (line 19) | type Thunder struct method Name (line 23) | func (t *Thunder) Name() string { method Items (line 27) | func (t *Thunder) Items() []model.SettingItem { method Run (line 31) | func (t *Thunder) Run(task *tool.DownloadTask) error { method Init (line 35) | func (t *Thunder) Init() (string, error) { method IsReady (line 40) | func (t *Thunder) IsReady() bool { method AddURL (line 55) | func (t *Thunder) AddURL(args *tool.AddUrlArgs) (string, error) { method Remove (line 86) | func (t *Thunder) Remove(task *tool.DownloadTask) error { method Status (line 103) | func (t *Thunder) Status(task *tool.DownloadTask) (*tool.Status, error) { function init (line 142) | func init() { FILE: internal/offline_download/thunder/util.go method GetTasks (line 16) | func (t *Thunder) GetTasks(thunderDriver *thunder.Thunder) ([]thunder.Of... FILE: internal/offline_download/thunder_browser/thunder_browser.go type ThunderBrowser (line 19) | type ThunderBrowser struct method Name (line 23) | func (t *ThunderBrowser) Name() string { method Items (line 27) | func (t *ThunderBrowser) Items() []model.SettingItem { method Run (line 31) | func (t *ThunderBrowser) Run(task *tool.DownloadTask) error { method Init (line 35) | func (t *ThunderBrowser) Init() (string, error) { method IsReady (line 40) | func (t *ThunderBrowser) IsReady() bool { method AddURL (line 58) | func (t *ThunderBrowser) AddURL(args *tool.AddUrlArgs) (string, error) { method Remove (line 98) | func (t *ThunderBrowser) Remove(task *tool.DownloadTask) error { method Status (line 121) | func (t *ThunderBrowser) Status(task *tool.DownloadTask) (*tool.Status... function init (line 170) | func init() { FILE: internal/offline_download/thunder_browser/util.go method GetTasks (line 16) | func (t *ThunderBrowser) GetTasks(thunderDriver *thunder_browser.Thunder... method GetTasksExpert (line 44) | func (t *ThunderBrowser) GetTasksExpert(thunderDriver *thunder_browser.T... FILE: internal/offline_download/thunderx/thunderx.go type ThunderX (line 17) | type ThunderX struct method Name (line 21) | func (t *ThunderX) Name() string { method Items (line 25) | func (t *ThunderX) Items() []model.SettingItem { method Init (line 29) | func (t *ThunderX) Init() (string, error) { method IsReady (line 34) | func (t *ThunderX) IsReady() bool { method AddURL (line 49) | func (t *ThunderX) AddURL(args *tool.AddUrlArgs) (string, error) { method Remove (line 80) | func (t *ThunderX) Remove(task *tool.DownloadTask) error { method Status (line 97) | func (t *ThunderX) Status(task *tool.DownloadTask) (*tool.Status, erro... method Run (line 136) | func (t *ThunderX) Run(task *tool.DownloadTask) error { function init (line 140) | func init() { FILE: internal/offline_download/thunderx/utils.go method GetTasks (line 15) | func (t *ThunderX) GetTasks(thunderxDriver *thunderx.ThunderX) ([]thunde... FILE: internal/offline_download/tool/add.go type DeletePolicy (line 29) | type DeletePolicy constant DeleteOnUploadSucceed (line 32) | DeleteOnUploadSucceed DeletePolicy = "delete_on_upload_succeed" constant DeleteOnUploadFailed (line 33) | DeleteOnUploadFailed DeletePolicy = "delete_on_upload_failed" constant DeleteNever (line 34) | DeleteNever DeletePolicy = "delete_never" constant DeleteAlways (line 35) | DeleteAlways DeletePolicy = "delete_always" constant UploadDownloadStream (line 36) | UploadDownloadStream DeletePolicy = "upload_download_stream" type AddURLArgs (line 39) | type AddURLArgs struct function AddURL (line 46) | func AddURL(ctx context.Context, args *AddURLArgs) (task.TaskExtensionIn... function tryPutUrl (line 164) | func tryPutUrl(ctx context.Context, path, urlStr string) error { FILE: internal/offline_download/tool/base.go type AddUrlArgs (line 7) | type AddUrlArgs struct type Status (line 14) | type Status struct type Tool (line 23) | type Tool interface FILE: internal/offline_download/tool/download.go type DownloadTask (line 21) | type DownloadTask struct method Run (line 35) | func (t *DownloadTask) Run() error { method Update (line 145) | func (t *DownloadTask) Update() (bool, error) { method Transfer (line 176) | func (t *DownloadTask) Transfer() error { method GetName (line 214) | func (t *DownloadTask) GetName() string { method GetStatus (line 218) | func (t *DownloadTask) GetStatus() string { FILE: internal/offline_download/tool/tools.go type ToolsManager (line 14) | type ToolsManager method Get (line 16) | func (t ToolsManager) Get(name string) (Tool, error) { method Add (line 23) | func (t ToolsManager) Add(tool Tool) { method Names (line 27) | func (t ToolsManager) Names() []string { method Items (line 38) | func (t ToolsManager) Items() []model.SettingItem { FILE: internal/offline_download/tool/transfer.go type TransferTask (line 27) | type TransferTask struct method Run (line 34) | func (t *TransferTask) Run() error { method GetName (line 83) | func (t *TransferTask) GetName() string { method OnSucceeded (line 90) | func (t *TransferTask) OnSucceeded() { method OnFailed (line 101) | func (t *TransferTask) OnFailed() { method SetRetry (line 112) | func (t *TransferTask) SetRetry(retry int, maxRetry int) { function transferStd (line 126) | func transferStd(ctx context.Context, tempDir, dstDirPath string, delete... function transferStdPath (line 157) | func transferStdPath(t *TransferTask) error { function transferStdFile (line 197) | func transferStdFile(t *TransferTask) error { function removeStdTemp (line 223) | func removeStdTemp(t *TransferTask) { function transferObj (line 233) | func transferObj(ctx context.Context, tempDir, dstDirPath string, delete... function transferObjPath (line 270) | func transferObjPath(t *TransferTask) error { function transferObjFile (line 313) | func transferObjFile(t *TransferTask) error { function removeObjTemp (line 335) | func removeObjTemp(t *TransferTask) { FILE: internal/offline_download/transmission/client.go type Transmission (line 23) | type Transmission struct method Run (line 27) | func (t *Transmission) Run(task *tool.DownloadTask) error { method Name (line 31) | func (t *Transmission) Name() string { method Items (line 35) | func (t *Transmission) Items() []model.SettingItem { method Init (line 43) | func (t *Transmission) Init() (string, error) { method IsReady (line 72) | func (t *Transmission) IsReady() bool { method AddURL (line 76) | func (t *Transmission) AddURL(args *tool.AddUrlArgs) (string, error) { method Remove (line 121) | func (t *Transmission) Remove(task *tool.DownloadTask) error { method Status (line 133) | func (t *Transmission) Status(task *tool.DownloadTask) (*tool.Status, ... function init (line 175) | func init() { FILE: internal/op/archive.go function GetArchiveMeta (line 32) | func GetArchiveMeta(ctx context.Context, storage driver.Driver, path str... function GetArchiveToolAndStream (line 62) | func GetArchiveToolAndStream(ctx context.Context, storage driver.Driver,... function getArchiveMeta (line 152) | func getArchiveMeta(ctx context.Context, storage driver.Driver, path str... function ListArchive (line 208) | func ListArchive(ctx context.Context, storage driver.Driver, path string... function _listArchive (line 251) | func _listArchive(ctx context.Context, storage driver.Driver, path strin... function listArchive (line 283) | func listArchive(ctx context.Context, storage driver.Driver, path string... function getChildrenFromArchiveMeta (line 305) | func getChildrenFromArchiveMeta(meta model.ArchiveMeta, innerPath string... function splitPath (line 332) | func splitPath(path string) []string { function ArchiveGet (line 345) | func ArchiveGet(ctx context.Context, storage driver.Driver, path string,... type objWithLink (line 392) | type objWithLink struct function DriverExtract (line 402) | func DriverExtract(ctx context.Context, storage driver.Driver, path stri... function driverExtract (line 437) | func driverExtract(ctx context.Context, storage driver.Driver, path stri... type streamWithParent (line 456) | type streamWithParent struct method Read (line 461) | func (s *streamWithParent) Read(p []byte) (int, error) { method Close (line 465) | func (s *streamWithParent) Close() error { function InternalExtract (line 473) | func InternalExtract(ctx context.Context, storage driver.Driver, path st... function ArchiveDecompress (line 493) | func ArchiveDecompress(ctx context.Context, storage driver.Driver, srcPa... FILE: internal/op/cache.go type CacheManager (line 14) | type CacheManager struct method DeleteDirectoryTree (line 40) | func (cm *CacheManager) DeleteDirectoryTree(storage driver.Driver, dir... method deleteDirectoryTree (line 46) | func (cm *CacheManager) deleteDirectoryTree(key string) { method DeleteDirectory (line 59) | func (cm *CacheManager) DeleteDirectory(storage driver.Driver, dirPath... method removeDirectoryObject (line 69) | func (cm *CacheManager) removeDirectoryObject(storage driver.Driver, d... method SetUser (line 87) | func (cm *CacheManager) SetUser(username string, user *model.User) { method GetUser (line 92) | func (cm *CacheManager) GetUser(username string) (*model.User, bool) { method DeleteUser (line 97) | func (cm *CacheManager) DeleteUser(username string) { method SetSetting (line 102) | func (cm *CacheManager) SetSetting(key string, setting *model.SettingI... method GetSetting (line 107) | func (cm *CacheManager) GetSetting(key string) (*model.SettingItem, bo... method SetSettingGroup (line 117) | func (cm *CacheManager) SetSettingGroup(key string, settings []model.S... method GetSettingGroup (line 122) | func (cm *CacheManager) GetSettingGroup(key string) ([]model.SettingIt... method SetStorageDetails (line 131) | func (cm *CacheManager) SetStorageDetails(storage driver.Driver, detai... method GetStorageDetails (line 139) | func (cm *CacheManager) GetStorageDetails(storage driver.Driver) (*mod... method InvalidateStorageDetails (line 143) | func (cm *CacheManager) InvalidateStorageDetails(storage driver.Driver) { method ClearAll (line 148) | func (cm *CacheManager) ClearAll() { function NewCacheManager (line 22) | func NewCacheManager() *CacheManager { function Key (line 35) | func Key(storage driver.Driver, path string) string { type directoryCache (line 156) | type directoryCache struct method RemoveObject (line 178) | func (dc *directoryCache) RemoveObject(name string) { method UpdateObject (line 190) | func (dc *directoryCache) UpdateObject(oldName string, newObj model.Ob... method GetSortedObjects (line 206) | func (dc *directoryCache) GetSortedObjects(meta driver.Meta) []model.O... constant dirtyRemove (line 165) | dirtyRemove uint8 = 1 << iota constant dirtyUpdate (line 166) | dirtyUpdate function newDirectoryCache (line 169) | func newDirectoryCache(objs []model.Obj) *directoryCache { FILE: internal/op/const.go constant WORK (line 4) | WORK = "work" constant DISABLED (line 5) | DISABLED = "disabled" constant RootName (line 6) | RootName = "root" FILE: internal/op/driver.go type DriverConstructor (line 13) | type DriverConstructor function RegisterDriver (line 18) | func RegisterDriver(driver DriverConstructor) { function GetDriver (line 26) | func GetDriver(name string) (DriverConstructor, error) { function GetDriverNames (line 34) | func GetDriverNames() []string { function GetDriverInfoMap (line 42) | func GetDriverInfoMap() map[string]driver.Info { function registerDriverItems (line 46) | func registerDriverItems(config driver.Config, addition driver.Additiona... function getMainItems (line 61) | func getMainItems(config driver.Config) []driver.Item { function getAdditionalItems (line 178) | func getAdditionalItems(t reflect.Type, defaultRoot string) []driver.Item { FILE: internal/op/driver_test.go function TestDriverItemsMap (line 10) | func TestDriverItemsMap(t *testing.T) { FILE: internal/op/fs.go function List (line 26) | func List(ctx context.Context, storage driver.Driver, path string, args ... function list (line 30) | func list(ctx context.Context, storage driver.Driver, path string, args ... function Get (line 129) | func Get(ctx context.Context, storage driver.Driver, path string, exclud... function GetUnwrap (line 217) | func GetUnwrap(ctx context.Context, storage driver.Driver, path string) ... function Link (line 228) | func Link(ctx context.Context, storage driver.Driver, path string, args ... function Other (line 285) | func Other(ctx context.Context, storage driver.Driver, args model.FsOthe... function MakeDir (line 306) | func MakeDir(ctx context.Context, storage driver.Driver, path string) er... function Move (line 370) | func Move(ctx context.Context, storage driver.Driver, srcPath, dstDirPat... function Rename (line 446) | func Rename(ctx context.Context, storage driver.Driver, srcPath, dstName... function Copy (line 507) | func Copy(ctx context.Context, storage driver.Driver, srcPath, dstDirPat... function Remove (line 571) | func Remove(ctx context.Context, storage driver.Driver, path string) err... function Put (line 605) | func Put(ctx context.Context, storage driver.Driver, dstDirPath string, ... function PutURL (line 712) | func PutURL(ctx context.Context, storage driver.Driver, dstDirPath, dstN... function GetDirectUploadTools (line 768) | func GetDirectUploadTools(storage driver.Driver) []string { function GetDirectUploadInfo (line 779) | func GetDirectUploadInfo(ctx context.Context, tool string, storage drive... function objsUpdateHook (line 808) | func objsUpdateHook(ctx context.Context, storage driver.Driver, dirPath ... function recursivelyObjsUpdateHook (line 825) | func recursivelyObjsUpdateHook(ctx context.Context, storage driver.Drive... function needHandleObjsUpdateHook (line 847) | func needHandleObjsUpdateHook() bool { function wrapObjsName (line 855) | func wrapObjsName(storage driver.Driver, objs []model.Obj) { function wrapObjName (line 860) | func wrapObjName(storage driver.Driver, obj model.Obj) model.Obj { FILE: internal/op/hook.go function RegisterObjsUpdateHook (line 23) | func RegisterObjsUpdateHook(hook ObjsUpdateHook) { function HandleObjsUpdateHook (line 27) | func HandleObjsUpdateHook(ctx context.Context, parent string, objs []mod... type SettingItemHook (line 34) | type SettingItemHook function RegisterSettingItemHook (line 88) | func RegisterSettingItemHook(key string, hook SettingItemHook) { function HandleSettingItemHook (line 92) | func HandleSettingItemHook(item *model.SettingItem) (hasHook bool, err e... type StorageHook (line 100) | type StorageHook function callStorageHooks (line 104) | func callStorageHooks(typ string, storage driver.Driver) { function RegisterStorageHook (line 110) | func RegisterStorageHook(hook StorageHook) { FILE: internal/op/meta.go function GetNearestMeta (line 22) | func GetNearestMeta(path string) (*model.Meta, error) { function getNearestMeta (line 25) | func getNearestMeta(path string) (*model.Meta, error) { function GetMetaByPath (line 39) | func GetMetaByPath(path string) (*model.Meta, error) { function getMetaByPath (line 42) | func getMetaByPath(path string) (*model.Meta, error) { function DeleteMetaById (line 65) | func DeleteMetaById(id uint) error { function UpdateMeta (line 74) | func UpdateMeta(u *model.Meta) error { function CreateMeta (line 84) | func CreateMeta(u *model.Meta) error { function GetMetaById (line 90) | func GetMetaById(id uint) (*model.Meta, error) { function GetMetas (line 94) | func GetMetas(pageIndex, pageSize int) (metas []model.Meta, count int64,... FILE: internal/op/path.go function GetStorageAndActualPath (line 16) | func GetStorageAndActualPath(rawPath string) (storage driver.Driver, act... function urlTreeSplitLineFormPath (line 34) | func urlTreeSplitLineFormPath(path string) (pp string, file string) { FILE: internal/op/recursive_list.go function ManualScanRunning (line 23) | func ManualScanRunning() bool { function BeginManualScan (line 27) | func BeginManualScan(rawPath string, limit float64) error { function StopManualScan (line 45) | func StopManualScan() { function RecursivelyList (line 52) | func RecursivelyList(ctx context.Context, rawPath string, limit rate.Lim... function recursivelyListVirtual (line 70) | func recursivelyListVirtual(ctx context.Context, rawPath string, limit r... function RecursivelyListStorage (line 99) | func RecursivelyListStorage(ctx context.Context, storage driver.Driver, ... FILE: internal/op/setting.go function RegisterSettingChangingCallback (line 27) | func RegisterSettingChangingCallback(f func()) { function SettingCacheUpdate (line 31) | func SettingCacheUpdate() { function GetPublicSettingsMap (line 38) | func GetPublicSettingsMap() map[string]string { function GetSettingsMap (line 47) | func GetSettingsMap() map[string]string { function GetSettingItems (line 56) | func GetSettingItems() ([]model.SettingItem, error) { function GetPublicSettingItems (line 71) | func GetPublicSettingItems() ([]model.SettingItem, error) { function GetSettingItemByKey (line 86) | func GetSettingItemByKey(key string) (*model.SettingItem, error) { function GetSettingItemInKeys (line 102) | func GetSettingItemInKeys(keys []string) ([]model.SettingItem, error) { function GetSettingItemsByGroup (line 114) | func GetSettingItemsByGroup(group int) ([]model.SettingItem, error) { function GetSettingItemsInGroups (line 130) | func GetSettingItemsInGroups(groups []int) ([]model.SettingItem, error) { function SaveSettingItems (line 153) | func SaveSettingItems(items []model.SettingItem) error { function SaveSettingItem (line 172) | func SaveSettingItem(item *model.SettingItem) (err error) { function DeleteSettingItemByKey (line 189) | func DeleteSettingItemByKey(key string) error { type MigrationValueItem (line 201) | type MigrationValueItem struct FILE: internal/op/sharing.go function makeJoined (line 17) | func makeJoined(sdb []model.SharingDB) []model.Sharing { function GetSharingById (line 45) | func GetSharingById(id string, refresh ...bool) (*model.Sharing, error) { function GetSharings (line 74) | func GetSharings(pageIndex, pageSize int) ([]model.Sharing, int64, error) { function GetSharingsByCreatorId (line 82) | func GetSharingsByCreatorId(userId uint, pageIndex, pageSize int) ([]mod... function GetSharingUnwrapPath (line 90) | func GetSharingUnwrapPath(sharing *model.Sharing, path string) (unwrapPa... function CreateSharing (line 115) | func CreateSharing(sharing *model.Sharing) (id string, err error) { function UpdateSharing (line 124) | func UpdateSharing(sharing *model.Sharing, skipMarshal ...bool) (err err... function DeleteSharing (line 136) | func DeleteSharing(sid string) error { function DeleteSharingsByCreatorId (line 141) | func DeleteSharingsByCreatorId(creatorId uint) error { FILE: internal/op/sshkey.go function CreateSSHPublicKey (line 12) | func CreateSSHPublicKey(k *model.SSHPublicKey) (error, bool) { function GetSSHPublicKeyByUserId (line 27) | func GetSSHPublicKeyByUserId(userId uint, pageIndex, pageSize int) (keys... function GetSSHPublicKeyByIdAndUserId (line 31) | func GetSSHPublicKeyByIdAndUserId(id uint, userId uint) (*model.SSHPubli... function UpdateSSHPublicKey (line 42) | func UpdateSSHPublicKey(k *model.SSHPublicKey) error { function DeleteSSHPublicKeyById (line 46) | func DeleteSSHPublicKeyById(keyId uint) error { FILE: internal/op/storage.go function GetAllStorages (line 29) | func GetAllStorages() []driver.Driver { function HasStorage (line 33) | func HasStorage(mountPath string) bool { function GetStorageByMountPath (line 37) | func GetStorageByMountPath(mountPath string) (driver.Driver, error) { function CreateStorage (line 48) | func CreateStorage(ctx context.Context, storage model.Storage) (uint, er... function LoadStorage (line 75) | func LoadStorage(ctx context.Context, storage model.Storage) error { function getCurrentGoroutineStack (line 91) | func getCurrentGoroutineStack() string { function initStorage (line 98) | func initStorage(ctx context.Context, storage model.Storage, storageDriv... function IsUseOnlineAPI (line 153) | func IsUseOnlineAPI(storageDriver driver.Driver) bool { function EnableStorage (line 171) | func EnableStorage(ctx context.Context, id uint) error { function DisableStorage (line 191) | func DisableStorage(ctx context.Context, id uint) error { function UpdateStorage (line 222) | func UpdateStorage(ctx context.Context, storage model.Storage) error { function DeleteStorageById (line 260) | func DeleteStorageById(ctx context.Context, id uint) error { function MustSaveDriverStorage (line 289) | func MustSaveDriverStorage(driver driver.Driver) { function saveDriverStorage (line 296) | func saveDriverStorage(driver driver.Driver) error { function getStoragesByPath (line 314) | func getStoragesByPath(path string) []driver.Driver { function GetStorageVirtualFilesByPath (line 343) | func GetStorageVirtualFilesByPath(prefix string) []model.Obj { function GetStorageVirtualFilesWithDetailsByPath (line 347) | func GetStorageVirtualFilesWithDetailsByPath(ctx context.Context, prefix... function getStorageVirtualFilesByPath (line 378) | func getStorageVirtualFilesByPath(prefix string, rootCallback func(drive... function GetBalancedStorage (line 448) | func GetBalancedStorage(path string) driver.Driver { function GetStorageDetails (line 468) | func GetStorageDetails(ctx context.Context, storage driver.Driver, refre... FILE: internal/op/storage_test.go function init (line 17) | func init() { function TestCreateStorage (line 26) | func TestCreateStorage(t *testing.T) { function TestGetStorageVirtualFilesByPath (line 47) | func TestGetStorageVirtualFilesByPath(t *testing.T) { function TestGetBalancedStorage (line 62) | func TestGetBalancedStorage(t *testing.T) { function setupStorages (line 74) | func setupStorages(t *testing.T) { FILE: internal/op/user.go function GetAdmin (line 16) | func GetAdmin() (*model.User, error) { function GetGuest (line 27) | func GetGuest() (*model.User, error) { function GetUserByRole (line 38) | func GetUserByRole(role int) (*model.User, error) { function GetUserByName (line 42) | func GetUserByName(username string) (*model.User, error) { function GetUserById (line 60) | func GetUserById(id uint) (*model.User, error) { function GetUsers (line 64) | func GetUsers(pageIndex, pageSize int) (users []model.User, count int64,... function CreateUser (line 68) | func CreateUser(u *model.User) error { function DeleteUserById (line 73) | func DeleteUserById(id uint) error { function UpdateUser (line 88) | func UpdateUser(u *model.User) error { function Cancel2FAByUser (line 104) | func Cancel2FAByUser(u *model.User) error { function Cancel2FAById (line 109) | func Cancel2FAById(id uint) error { function DelUserCache (line 117) | func DelUserCache(username string) error { FILE: internal/search/bleve/init.go function Init (line 14) | func Init(indexPath *string) (bleve.Index, error) { function init (line 39) | func init() { FILE: internal/search/bleve/search.go type Bleve (line 20) | type Bleve struct method Config (line 24) | func (b *Bleve) Config() searcher.Config { method Search (line 28) | func (b *Bleve) Search(ctx context.Context, req model.SearchReq) ([]mo... method Index (line 60) | func (b *Bleve) Index(ctx context.Context, node model.SearchNode) error { method BatchIndex (line 64) | func (b *Bleve) BatchIndex(ctx context.Context, nodes []model.SearchNo... method Get (line 72) | func (b *Bleve) Get(ctx context.Context, parent string) ([]model.Searc... method Del (line 76) | func (b *Bleve) Del(ctx context.Context, prefix string) error { method Release (line 80) | func (b *Bleve) Release(ctx context.Context) error { method Clear (line 87) | func (b *Bleve) Clear(ctx context.Context) error { FILE: internal/search/build.go function Running (line 29) | func Running() bool { function BuildIndex (line 33) | func BuildIndex(ctx context.Context, indexPaths, ignorePaths []string, m... function Del (line 190) | func Del(ctx context.Context, prefix string) error { function Clear (line 194) | func Clear(ctx context.Context) error { function Config (line 198) | func Config(ctx context.Context) searcher.Config { function Update (line 202) | func Update(ctx context.Context, parent string, objs []model.Obj) { function init (line 275) | func init() { FILE: internal/search/db/init.go function init (line 19) | func init() { FILE: internal/search/db/search.go type DB (line 11) | type DB struct method Config (line 13) | func (D DB) Config() searcher.Config { method Search (line 17) | func (D DB) Search(ctx context.Context, req model.SearchReq) ([]model.... method Index (line 21) | func (D DB) Index(ctx context.Context, node model.SearchNode) error { method BatchIndex (line 25) | func (D DB) BatchIndex(ctx context.Context, nodes []model.SearchNode) ... method Get (line 29) | func (D DB) Get(ctx context.Context, parent string) ([]model.SearchNod... method Del (line 33) | func (D DB) Del(ctx context.Context, path string) error { method Release (line 37) | func (D DB) Release(ctx context.Context) error { method Clear (line 41) | func (D DB) Clear(ctx context.Context) error { FILE: internal/search/db_non_full_text/init.go function init (line 12) | func init() { FILE: internal/search/db_non_full_text/search.go type DB (line 11) | type DB struct method Config (line 13) | func (D DB) Config() searcher.Config { method Search (line 17) | func (D DB) Search(ctx context.Context, req model.SearchReq) ([]model.... method Index (line 21) | func (D DB) Index(ctx context.Context, node model.SearchNode) error { method BatchIndex (line 25) | func (D DB) BatchIndex(ctx context.Context, nodes []model.SearchNode) ... method Get (line 29) | func (D DB) Get(ctx context.Context, parent string) ([]model.SearchNod... method Del (line 33) | func (D DB) Del(ctx context.Context, path string) error { method Release (line 37) | func (D DB) Release(ctx context.Context) error { method Clear (line 41) | func (D DB) Clear(ctx context.Context) error { FILE: internal/search/meilisearch/init.go function init (line 20) | func init() { FILE: internal/search/meilisearch/search.go type searchDocument (line 16) | type searchDocument struct type Meilisearch (line 31) | type Meilisearch struct method Config (line 39) | func (m *Meilisearch) Config() searcher.Config { method Search (line 43) | func (m *Meilisearch) Search(ctx context.Context, req model.SearchReq)... method Index (line 81) | func (m *Meilisearch) Index(ctx context.Context, node model.SearchNode... method BatchIndex (line 85) | func (m *Meilisearch) BatchIndex(ctx context.Context, nodes []model.Se... method getDocumentsByParent (line 130) | func (m *Meilisearch) getDocumentsByParent(ctx context.Context, parent... method Get (line 149) | func (m *Meilisearch) Get(ctx context.Context, parent string) ([]model... method getDocumentInPath (line 159) | func (m *Meilisearch) getDocumentInPath(ctx context.Context, parent st... method delDirChild (line 175) | func (m *Meilisearch) delDirChild(ctx context.Context, prefix string) ... method Del (line 186) | func (m *Meilisearch) Del(ctx context.Context, prefix string) error { method Release (line 212) | func (m *Meilisearch) Release(ctx context.Context) error { method Clear (line 219) | func (m *Meilisearch) Clear(ctx context.Context) error { method getTaskStatus (line 225) | func (m *Meilisearch) getTaskStatus(ctx context.Context, taskUID int64... method EnqueueUpdate (line 234) | func (m *Meilisearch) EnqueueUpdate(parent string, objs []model.Obj) { method batchIndexWithTaskUID (line 243) | func (m *Meilisearch) batchIndexWithTaskUID(ctx context.Context, nodes... method batchDeleteWithTaskUID (line 286) | func (m *Meilisearch) batchDeleteWithTaskUID(ctx context.Context, path... FILE: internal/search/meilisearch/task_queue.go type QueuedTask (line 19) | type QueuedTask struct type TaskQueueManager (line 27) | type TaskQueueManager struct method Enqueue (line 56) | func (tqm *TaskQueueManager) Enqueue(parent string, objs []model.Obj) { method Start (line 71) | func (tqm *TaskQueueManager) Start() { method Stop (line 88) | func (tqm *TaskQueueManager) Stop() { method consume (line 96) | func (tqm *TaskQueueManager) consume() { method executeTask (line 187) | func (tqm *TaskQueueManager) executeTask(ctx context.Context, task *Qu... function NewTaskQueueManager (line 38) | func NewTaskQueueManager(m *Meilisearch) *TaskQueueManager { function calculateDepth (line 48) | func calculateDepth(path string) int { FILE: internal/search/meilisearch/utils.go function hashPath (line 10) | func hashPath(path string) string { function buildSearchDocumentFromResults (line 14) | func buildSearchDocumentFromResults(results map[string]any) *searchDocum... FILE: internal/search/search.go function Init (line 18) | func Init(mode string) error { function Search (line 50) | func Search(ctx context.Context, req model.SearchReq) ([]model.SearchNod... function Index (line 54) | func Index(ctx context.Context, parent string, obj model.Obj) error { type ObjWithParent (line 66) | type ObjWithParent struct function BatchIndex (line 71) | func BatchIndex(ctx context.Context, objs []ObjWithParent) error { function init (line 90) | func init() { FILE: internal/search/searcher/manage.go type New (line 3) | type New function RegisterSearcher (line 7) | func RegisterSearcher(config Config, searcher New) { FILE: internal/search/searcher/searcher.go type Config (line 9) | type Config struct type Searcher (line 14) | type Searcher interface FILE: internal/search/util.go function Progress (line 17) | func Progress() (*model.IndexProgress, error) { function WriteProgress (line 24) | func WriteProgress(progress *model.IndexProgress) { function updateIgnorePaths (line 41) | func updateIgnorePaths(customIgnorePaths string) { function isIgnorePath (line 75) | func isIgnorePath(path string) bool { function init (line 84) | func init() { FILE: internal/setting/setting.go function GetStr (line 9) | func GetStr(key string, defaultValue ...string) string { function GetInt (line 20) | func GetInt(key string, defaultVal int) int { function GetBool (line 28) | func GetBool(key string) bool { function GetFloat (line 32) | func GetFloat(key string, defaultVal float64) float64 { FILE: internal/sharing/archive.go function archiveMeta (line 13) | func archiveMeta(ctx context.Context, sid, path string, args model.Shari... function archiveList (line 40) | func archiveList(ctx context.Context, sid, path string, args model.Shari... FILE: internal/sharing/get.go function get (line 15) | func get(ctx context.Context, sid, path string, args model.SharingListAr... FILE: internal/sharing/link.go function link (line 15) | func link(ctx context.Context, sid, path string, args *LinkArgs) (*model... FILE: internal/sharing/list.go function list (line 14) | func list(ctx context.Context, sid, path string, args model.SharingListA... FILE: internal/sharing/sharing.go function List (line 10) | func List(ctx context.Context, sid, path string, args model.SharingListA... function Get (line 19) | func Get(ctx context.Context, sid, path string, args model.SharingListAr... function ArchiveMeta (line 28) | func ArchiveMeta(ctx context.Context, sid, path string, args model.Shari... function ArchiveList (line 37) | func ArchiveList(ctx context.Context, sid, path string, args model.Shari... type LinkArgs (line 46) | type LinkArgs struct function Link (line 51) | func Link(ctx context.Context, sid, path string, args *LinkArgs) (*model... FILE: internal/sign/archive.go function SignArchive (line 15) | func SignArchive(data string) string { function WithDurationArchive (line 24) | func WithDurationArchive(data string, d time.Duration) string { function NotExpiredArchive (line 29) | func NotExpiredArchive(data string) string { function VerifyArchive (line 34) | func VerifyArchive(data string, sign string) error { function InstanceArchive (line 39) | func InstanceArchive() { FILE: internal/sign/sign.go function Sign (line 15) | func Sign(data string) string { function WithDuration (line 24) | func WithDuration(data string, d time.Duration) string { function NotExpired (line 29) | func NotExpired(data string) string { function Verify (line 34) | func Verify(data string, sign string) error { function Instance (line 39) | func Instance() { FILE: internal/stream/limit.go type Limiter (line 13) | type Limiter interface type RateLimitReader (line 37) | type RateLimitReader struct method Read (line 43) | func (r *RateLimitReader) Read(p []byte) (n int, err error) { method Close (line 57) | func (r *RateLimitReader) Close() error { type RateLimitWriter (line 64) | type RateLimitWriter struct method Write (line 70) | func (w *RateLimitWriter) Write(p []byte) (n int, err error) { method Close (line 84) | func (w *RateLimitWriter) Close() error { type RateLimitFile (line 91) | type RateLimitFile struct method Read (line 97) | func (r *RateLimitFile) Read(p []byte) (n int, err error) { method ReadAt (line 111) | func (r *RateLimitFile) ReadAt(p []byte, off int64) (n int, err error) { method Close (line 125) | func (r *RateLimitFile) Close() error { type RateLimitRangeReaderFunc (line 132) | type RateLimitRangeReaderFunc method RangeRead (line 134) | func (f RateLimitRangeReaderFunc) RangeRead(ctx context.Context, httpR... FILE: internal/stream/stream.go type FileStream (line 21) | type FileStream struct method GetSize (line 35) | func (f *FileStream) GetSize() int64 { method GetMimetype (line 42) | func (f *FileStream) GetMimetype() string { method NeedStore (line 46) | func (f *FileStream) NeedStore() bool { method IsForceStreamUpload (line 50) | func (f *FileStream) IsForceStreamUpload() bool { method Close (line 54) | func (f *FileStream) Close() error { method GetExist (line 63) | func (f *FileStream) GetExist() model.Obj { method SetExist (line 66) | func (f *FileStream) SetExist(obj model.Obj) { method CacheFullAndWriter (line 72) | func (f *FileStream) CacheFullAndWriter(up *model.UpdateProgress, writ... method GetFile (line 196) | func (f *FileStream) GetFile() model.File { method RangeRead (line 206) | func (f *FileStream) RangeRead(httpRange http_range.Range) (io.Reader,... method cache (line 227) | func (f *FileStream) cache(maxCacheSize int64) (model.File, error) { type SeekableStream (line 290) | type SeekableStream struct method RangeRead (line 336) | func (ss *SeekableStream) RangeRead(httpRange http_range.Range) (io.Re... method Read (line 349) | func (ss *SeekableStream) Read(p []byte) (n int, err error) { method generateReader (line 356) | func (ss *SeekableStream) generateReader() error { method CacheFullAndWriter (line 371) | func (ss *SeekableStream) CacheFullAndWriter(up *model.UpdateProgress,... function NewSeekableStream (line 299) | func NewSeekableStream(fs *FileStream, link *model.Link) (*SeekableStrea... type ReaderWithSize (line 378) | type ReaderWithSize interface type SimpleReaderWithSize (line 383) | type SimpleReaderWithSize struct method GetSize (line 388) | func (r *SimpleReaderWithSize) GetSize() int64 { method Close (line 392) | func (r *SimpleReaderWithSize) Close() error { type ReaderUpdatingProgress (line 399) | type ReaderUpdatingProgress struct method Read (line 405) | func (r *ReaderUpdatingProgress) Read(p []byte) (n int, err error) { method Close (line 412) | func (r *ReaderUpdatingProgress) Close() error { type RangeReadReadAtSeeker (line 419) | type RangeReadReadAtSeeker struct method InitHeadCache (line 458) | func (r *RangeReadReadAtSeeker) InitHeadCache() { method getReaderAtOffset (line 505) | func (r *RangeReadReadAtSeeker) getReaderAtOffset(off int64) (io.Reade... method ReadAt (line 548) | func (r *RangeReadReadAtSeeker) ReadAt(p []byte, off int64) (n int, er... method Seek (line 573) | func (r *RangeReadReadAtSeeker) Seek(offset int64, whence int) (int64,... method Read (line 590) | func (r *RangeReadReadAtSeeker) Read(p []byte) (n int, err error) { type headCache (line 426) | type headCache struct method head (line 431) | func (c *headCache) head(p []byte) (int, error) { method Close (line 452) | func (r *headCache) Close() error { function NewReadAtSeeker (line 466) | func NewReadAtSeeker(ss *SeekableStream, offset int64, forceRange ...boo... function NewMultiReaderAt (line 493) | func NewMultiReaderAt(ss []*SeekableStream) (readerutil.SizeReaderAt, er... FILE: internal/stream/stream_test.go function TestFileStream_RangeRead (line 15) | func TestFileStream_RangeRead(t *testing.T) { function TestFileStream_With_PreHash (line 87) | func TestFileStream_With_PreHash(t *testing.T) { FILE: internal/stream/util.go type RangeReaderFunc (line 24) | type RangeReaderFunc method RangeRead (line 26) | func (f RangeReaderFunc) RangeRead(ctx context.Context, httpRange http... function GetRangeReaderFromLink (line 30) | func GetRangeReaderFromLink(size int64, link *model.Link) (model.RangeRe... function GetRangeReaderFromMFile (line 125) | func GetRangeReaderFromMFile(size int64, file model.File) *model.FileRan... function checkContentRange (line 138) | func checkContentRange(header *http.Header, offset int64) bool { type ReaderWithCtx (line 149) | type ReaderWithCtx struct method Read (line 154) | func (r *ReaderWithCtx) Read(p []byte) (n int, err error) { method Close (line 161) | func (r *ReaderWithCtx) Close() error { function CacheFullAndHash (line 168) | func CacheFullAndHash(stream model.FileStreamer, up *model.UpdateProgres... type StreamSectionReaderIF (line 177) | type StreamSectionReaderIF interface function NewStreamSectionReader (line 185) | func NewStreamSectionReader(file model.FileStreamer, maxBufferSize int, ... type cachedSectionReader (line 252) | type cachedSectionReader struct method DiscardSection (line 256) | func (*cachedSectionReader) DiscardSection(off int64, length int64) er... method GetSectionReader (line 259) | func (s *cachedSectionReader) GetSectionReader(off, length int64) (io.... method FreeSectionReader (line 262) | func (*cachedSectionReader) FreeSectionReader(sr io.ReadSeeker) {} type fileSectionReader (line 264) | type fileSectionReader struct method DiscardSection (line 278) | func (ss *fileSectionReader) DiscardSection(off int64, length int64) e... method GetSectionReader (line 296) | func (ss *fileSectionReader) GetSectionReader(off, length int64) (io.R... method FreeSectionReader (line 310) | func (ss *fileSectionReader) FreeSectionReader(rs io.ReadSeeker) { type offsetWriterWithBase (line 272) | type offsetWriterWithBase struct type fileBufferSectionReader (line 290) | type fileBufferSectionReader struct type directSectionReader (line 318) | type directSectionReader struct method DiscardSection (line 325) | func (ss *directSectionReader) DiscardSection(off int64, length int64)... method GetSectionReader (line 343) | func (ss *directSectionReader) GetSectionReader(off, length int64) (io... method FreeSectionReader (line 356) | func (ss *directSectionReader) FreeSectionReader(rs io.ReadSeeker) { type bufferSectionReader (line 337) | type bufferSectionReader struct FILE: internal/task/base.go type TaskExtension (line 12) | type TaskExtension struct method SetCtx (line 21) | func (t *TaskExtension) SetCtx(ctx context.Context) { method SetCreator (line 31) | func (t *TaskExtension) SetCreator(creator *model.User) { method GetCreator (line 36) | func (t *TaskExtension) GetCreator() *model.User { method SetStartTime (line 40) | func (t *TaskExtension) SetStartTime(startTime time.Time) { method GetStartTime (line 44) | func (t *TaskExtension) GetStartTime() *time.Time { method SetEndTime (line 48) | func (t *TaskExtension) SetEndTime(endTime time.Time) { method GetEndTime (line 52) | func (t *TaskExtension) GetEndTime() *time.Time { method ClearEndTime (line 56) | func (t *TaskExtension) ClearEndTime() { method SetTotalBytes (line 60) | func (t *TaskExtension) SetTotalBytes(totalBytes int64) { method GetTotalBytes (line 64) | func (t *TaskExtension) GetTotalBytes() int64 { method SetRetry (line 68) | func (t *TaskExtension) SetRetry(retry int, maxRetry int) { type TaskExtensionInfo (line 82) | type TaskExtensionInfo interface FILE: internal/task/manager.go type Manager (line 7) | type Manager interface FILE: internal/task_group/group.go type OnCompletionFunc (line 10) | type OnCompletionFunc type TaskGroupCoordinator (line 11) | type TaskGroupCoordinator struct method AddTask (line 35) | func (tgc *TaskGroupCoordinator) AddTask(groupID string, payload any) { method AppendPayload (line 48) | func (tgc *TaskGroupCoordinator) AppendPayload(groupID string, payload... method Done (line 57) | func (tgc *TaskGroupCoordinator) Done(ctx context.Context, groupID str... type groupState (line 20) | type groupState struct function NewTaskGroupCoordinator (line 25) | func NewTaskGroupCoordinator(name string, f OnCompletionFunc) *TaskGroup... FILE: internal/task_group/transfer.go type SrcPathToRemove (line 19) | type SrcPathToRemove type DstPathToHook (line 22) | type DstPathToHook function HookAndRemove (line 24) | func HookAndRemove(ctx context.Context, dstPath string, payloads ...any) { function verifyAndRemove (line 75) | func verifyAndRemove(ctx context.Context, srcStorage, dstStorage driver.... FILE: main.go function main (line 5) | func main() { FILE: pkg/aria2/rpc/call.go type caller (line 17) | type caller interface type httpCaller (line 23) | type httpCaller struct method Close (line 54) | func (h *httpCaller) Close() (err error) { method setNotifier (line 62) | func (h *httpCaller) setNotifier(ctx context.Context, u url.URL, notif... method Call (line 120) | func (h *httpCaller) Call(method string, params, reply interface{}) (e... function newHTTPCaller (line 31) | func newHTTPCaller(ctx context.Context, u *url.URL, timeout time.Duratio... type websocketCaller (line 134) | type websocketCaller struct method Close (line 228) | func (w *websocketCaller) Close() (err error) { method Call (line 236) | func (w *websocketCaller) Call(method string, params, reply interface{... function newWebsocketCaller (line 143) | func newWebsocketCaller(ctx context.Context, uri string, timeout time.Du... type sendRequest (line 258) | type sendRequest struct FILE: pkg/aria2/rpc/call_test.go function TestWebsocketCaller (line 9) | func TestWebsocketCaller(t *testing.T) { FILE: pkg/aria2/rpc/client.go type Option (line 13) | type Option type Client (line 15) | type Client interface type client (line 20) | type client struct method AddURI (line 63) | func (c *client) AddURI(uris []string, options ...interface{}) (gid st... method AddTorrent (line 91) | func (c *client) AddTorrent(filename string, options ...interface{}) (... method AddMetalink (line 122) | func (c *client) AddMetalink(filename string, options ...interface{}) ... method Remove (line 145) | func (c *client) Remove(gid string) (g string, err error) { method ForceRemove (line 158) | func (c *client) ForceRemove(gid string) (g string, err error) { method Pause (line 175) | func (c *client) Pause(gid string) (g string, err error) { method PauseAll (line 188) | func (c *client) PauseAll() (ok string, err error) { method ForcePause (line 200) | func (c *client) ForcePause(gid string) (g string, err error) { method ForcePauseAll (line 213) | func (c *client) ForcePauseAll() (ok string, err error) { method Unpause (line 225) | func (c *client) Unpause(gid string) (g string, err error) { method UnpauseAll (line 238) | func (c *client) UnpauseAll() (ok string, err error) { method TellStatus (line 256) | func (c *client) TellStatus(gid string, keys ...string) (info StatusIn... method GetURIs (line 275) | func (c *client) GetURIs(gid string) (infos []URIInfo, err error) { method GetFiles (line 289) | func (c *client) GetFiles(gid string) (infos []FileInfo, err error) { method GetPeers (line 304) | func (c *client) GetPeers(gid string) (infos []PeerInfo, err error) { method GetServers (line 318) | func (c *client) GetServers(gid string) (infos []ServerInfo, err error) { method TellActive (line 332) | func (c *client) TellActive(keys ...string) (infos []StatusInfo, err e... method TellWaiting (line 357) | func (c *client) TellWaiting(offset, num int, keys ...string) (infos [... method TellStopped (line 378) | func (c *client) TellStopped(offset, num int, keys ...string) (infos [... method ChangePosition (line 401) | func (c *client) ChangePosition(gid string, pos int, how string) (p in... method ChangeURI (line 427) | func (c *client) ChangeURI(gid string, fileindex int, delUris []string... method GetOption (line 448) | func (c *client) GetOption(gid string) (m Option, err error) { method ChangeOption (line 471) | func (c *client) ChangeOption(gid string, option Option) (ok string, e... method GetGlobalOption (line 490) | func (c *client) GetGlobalOption() (m Option, err error) { method ChangeGlobalOption (line 521) | func (c *client) ChangeGlobalOption(options Option) (ok string, err er... method GetGlobalStat (line 542) | func (c *client) GetGlobalStat() (info GlobalStatInfo, err error) { method PurgeDownloadResult (line 554) | func (c *client) PurgeDownloadResult() (ok string, err error) { method RemoveDownloadResult (line 566) | func (c *client) RemoveDownloadResult(gid string) (ok string, err erro... method GetVersion (line 582) | func (c *client) GetVersion() (info VersionInfo, err error) { method GetSessionInfo (line 596) | func (c *client) GetSessionInfo() (info SessionInfo, err error) { method Shutdown (line 608) | func (c *client) Shutdown() (ok string, err error) { method ForceShutdown (line 621) | func (c *client) ForceShutdown() (ok string, err error) { method SaveSession (line 633) | func (c *client) SaveSession() (ok string, err error) { method Multicall (line 649) | func (c *client) Multicall(methods []Method) (r []interface{}, err err... method ListMethods (line 662) | func (c *client) ListMethods() (methods []string, err error) { function New (line 33) | func New(ctx context.Context, uri string, token string, timeout time.Dur... FILE: pkg/aria2/rpc/client_test.go function TestHTTPAll (line 9) | func TestHTTPAll(t *testing.T) { function TestWebsocketAll (line 68) | func TestWebsocketAll(t *testing.T) { FILE: pkg/aria2/rpc/const.go constant aria2AddURI (line 4) | aria2AddURI = "aria2.addUri" constant aria2AddTorrent (line 5) | aria2AddTorrent = "aria2.addTorrent" constant aria2AddMetalink (line 6) | aria2AddMetalink = "aria2.addMetalink" constant aria2Remove (line 7) | aria2Remove = "aria2.remove" constant aria2ForceRemove (line 8) | aria2ForceRemove = "aria2.forceRemove" constant aria2Pause (line 9) | aria2Pause = "aria2.pause" constant aria2PauseAll (line 10) | aria2PauseAll = "aria2.pauseAll" constant aria2ForcePause (line 11) | aria2ForcePause = "aria2.forcePause" constant aria2ForcePauseAll (line 12) | aria2ForcePauseAll = "aria2.forcePauseAll" constant aria2Unpause (line 13) | aria2Unpause = "aria2.unpause" constant aria2UnpauseAll (line 14) | aria2UnpauseAll = "aria2.unpauseAll" constant aria2TellStatus (line 15) | aria2TellStatus = "aria2.tellStatus" constant aria2GetURIs (line 16) | aria2GetURIs = "aria2.getUris" constant aria2GetFiles (line 17) | aria2GetFiles = "aria2.getFiles" constant aria2GetPeers (line 18) | aria2GetPeers = "aria2.getPeers" constant aria2GetServers (line 19) | aria2GetServers = "aria2.getServers" constant aria2TellActive (line 20) | aria2TellActive = "aria2.tellActive" constant aria2TellWaiting (line 21) | aria2TellWaiting = "aria2.tellWaiting" constant aria2TellStopped (line 22) | aria2TellStopped = "aria2.tellStopped" constant aria2ChangePosition (line 23) | aria2ChangePosition = "aria2.changePosition" constant aria2ChangeURI (line 24) | aria2ChangeURI = "aria2.changeUri" constant aria2GetOption (line 25) | aria2GetOption = "aria2.getOption" constant aria2ChangeOption (line 26) | aria2ChangeOption = "aria2.changeOption" constant aria2GetGlobalOption (line 27) | aria2GetGlobalOption = "aria2.getGlobalOption" constant aria2ChangeGlobalOption (line 28) | aria2ChangeGlobalOption = "aria2.changeGlobalOption" constant aria2GetGlobalStat (line 29) | aria2GetGlobalStat = "aria2.getGlobalStat" constant aria2PurgeDownloadResult (line 30) | aria2PurgeDownloadResult = "aria2.purgeDownloadResult" constant aria2RemoveDownloadResult (line 31) | aria2RemoveDownloadResult = "aria2.removeDownloadResult" constant aria2GetVersion (line 32) | aria2GetVersion = "aria2.getVersion" constant aria2GetSessionInfo (line 33) | aria2GetSessionInfo = "aria2.getSessionInfo" constant aria2Shutdown (line 34) | aria2Shutdown = "aria2.shutdown" constant aria2ForceShutdown (line 35) | aria2ForceShutdown = "aria2.forceShutdown" constant aria2SaveSession (line 36) | aria2SaveSession = "aria2.saveSession" constant aria2Multicall (line 37) | aria2Multicall = "system.multicall" constant aria2ListMethods (line 38) | aria2ListMethods = "system.listMethods" FILE: pkg/aria2/rpc/json2.go type clientRequest (line 22) | type clientRequest struct type clientResponse (line 38) | type clientResponse struct method decode (line 60) | func (c clientResponse) decode(reply interface{}) error { function EncodeClientRequest (line 46) | func EncodeClientRequest(method string, args interface{}) (*bytes.Buffer... function DecodeClientResponse (line 81) | func DecodeClientResponse(r io.Reader, reply interface{}) error { type ErrorCode (line 89) | type ErrorCode constant E_PARSE (line 92) | E_PARSE ErrorCode = -32700 constant E_INVALID_REQ (line 93) | E_INVALID_REQ ErrorCode = -32600 constant E_NO_METHOD (line 94) | E_NO_METHOD ErrorCode = -32601 constant E_BAD_PARAMS (line 95) | E_BAD_PARAMS ErrorCode = -32602 constant E_INTERNAL (line 96) | E_INTERNAL ErrorCode = -32603 constant E_SERVER (line 97) | E_SERVER ErrorCode = -32000 type Error (line 102) | type Error struct method Error (line 114) | func (e *Error) Error() string { FILE: pkg/aria2/rpc/notification.go type Event (line 7) | type Event struct type websocketResponse (line 15) | type websocketResponse struct type Notifier (line 22) | type Notifier interface type DummyNotifier (line 37) | type DummyNotifier struct method OnDownloadStart (line 39) | func (DummyNotifier) OnDownloadStart(events []Event) { log.Printf... method OnDownloadPause (line 40) | func (DummyNotifier) OnDownloadPause(events []Event) { log.Printf... method OnDownloadStop (line 41) | func (DummyNotifier) OnDownloadStop(events []Event) { log.Printf... method OnDownloadComplete (line 42) | func (DummyNotifier) OnDownloadComplete(events []Event) { log.Printf... method OnDownloadError (line 43) | func (DummyNotifier) OnDownloadError(events []Event) { log.Printf... method OnBtDownloadComplete (line 44) | func (DummyNotifier) OnBtDownloadComplete(events []Event) { log.Printf... FILE: pkg/aria2/rpc/proc.go type ResponseProcFn (line 5) | type ResponseProcFn type ResponseProcessor (line 7) | type ResponseProcessor struct method Add (line 19) | func (r *ResponseProcessor) Add(id uint64, fn ResponseProcFn) { method remove (line 25) | func (r *ResponseProcessor) remove(id uint64) { method Process (line 32) | func (r *ResponseProcessor) Process(resp clientResponse) error { function NewResponseProcessor (line 12) | func NewResponseProcessor() *ResponseProcessor { FILE: pkg/aria2/rpc/proto.go type Protocol (line 4) | type Protocol interface FILE: pkg/aria2/rpc/resp.go type StatusInfo (line 6) | type StatusInfo struct type URIInfo (line 39) | type URIInfo struct type FileInfo (line 45) | type FileInfo struct type PeerInfo (line 55) | type PeerInfo struct type ServerInfo (line 68) | type ServerInfo struct type GlobalStatInfo (line 78) | type GlobalStatInfo struct type VersionInfo (line 88) | type VersionInfo struct type SessionInfo (line 94) | type SessionInfo struct type Method (line 99) | type Method struct FILE: pkg/buffer/bytes.go type Reader (line 9) | type Reader struct method Size (line 15) | func (r *Reader) Size() int64 { method Append (line 19) | func (r *Reader) Append(buf []byte) { method Read (line 24) | func (r *Reader) Read(p []byte) (int, error) { method ReadAt (line 32) | func (r *Reader) ReadAt(p []byte, off int64) (int, error) { method Seek (line 61) | func (r *Reader) Seek(offset int64, whence int) (int64, error) { method Reset (line 80) | func (r *Reader) Reset() { function NewReader (line 87) | func NewReader(buf ...[]byte) *Reader { FILE: pkg/buffer/bytes_test.go function TestReader_ReadAt (line 9) | func TestReader_ReadAt(t *testing.T) { FILE: pkg/buffer/file.go type PeekFile (line 9) | type PeekFile struct method Read (line 16) | func (p *PeekFile) Read(b []byte) (n int, err error) { method ReadAt (line 24) | func (p *PeekFile) ReadAt(b []byte, off int64) (n int, err error) { method Seek (line 37) | func (p *PeekFile) Seek(offset int64, whence int) (int64, error) { method Size (line 78) | func (p *PeekFile) Size() int64 { function NewPeekFile (line 82) | func NewPeekFile(peek *Reader, file *os.File) (*PeekFile, error) { FILE: pkg/chanio/chanio.go type ChanIO (line 8) | type ChanIO struct method Read (line 22) | func (c *ChanIO) Read(p []byte) (int, error) { method Write (line 47) | func (c *ChanIO) Write(p []byte) (int, error) { method Close (line 55) | func (c *ChanIO) Close() error { function New (line 14) | func New() *ChanIO { FILE: pkg/cookie/cookie.go function Parse (line 8) | func Parse(str string) []*http.Cookie { function ToString (line 15) | func ToString(cookies []*http.Cookie) string { function SetCookie (line 26) | func SetCookie(cookies []*http.Cookie, name, value string) []*http.Cookie { function GetCookie (line 37) | func GetCookie(cookies []*http.Cookie, name string) *http.Cookie { function SetStr (line 46) | func SetStr(cookiesStr, name, value string) string { function GetStr (line 52) | func GetStr(cookiesStr, name string) string { FILE: pkg/cron/cron.go type Cron (line 5) | type Cron struct method Do (line 17) | func (c *Cron) Do(f func()) { method Stop (line 32) | func (c *Cron) Stop() { function NewCron (line 10) | func NewCron(d time.Duration) *Cron { FILE: pkg/cron/cron_test.go function TestCron (line 8) | func TestCron(t *testing.T) { FILE: pkg/errgroup/errgroup.go type token (line 12) | type token struct type Group (line 13) | type Group struct method done (line 39) | func (g *Group) done() { method Wait (line 47) | func (g *Group) Wait() error { method Go (line 52) | func (g *Group) Go(do func(ctx context.Context) error) { method GoWithLifecycle (line 66) | func (g *Group) GoWithLifecycle(lifecycle Lifecycle) { method TryGo (line 111) | func (g *Group) TryGo(f func(ctx context.Context) error) bool { method SetLimit (line 130) | func (g *Group) SetLimit(n int) *Group { method Success (line 142) | func (g *Group) Success() uint64 { method Err (line 146) | func (g *Group) Err() error { function NewGroupWithContext (line 26) | func NewGroupWithContext(ctx context.Context, limit int, retryOpts ...re... function NewOrderedGroupWithContext (line 33) | func NewOrderedGroupWithContext(ctx context.Context, limit int, retryOpt... type Lifecycle (line 56) | type Lifecycle struct FILE: pkg/generic/queue.go type Queue (line 3) | type Queue struct function NewQueue (line 7) | func NewQueue[T any]() *Queue[T] { method Push (line 11) | func (q *Queue[T]) Push(v T) { method Pop (line 15) | func (q *Queue[T]) Pop() T { method Len (line 21) | func (q *Queue[T]) Len() int { method IsEmpty (line 25) | func (q *Queue[T]) IsEmpty() bool { method Clear (line 29) | func (q *Queue[T]) Clear() { method Peek (line 33) | func (q *Queue[T]) Peek() T { method PeekN (line 37) | func (q *Queue[T]) PeekN(n int) []T { method PopN (line 41) | func (q *Queue[T]) PopN(n int) []T { method PopAll (line 47) | func (q *Queue[T]) PopAll() []T { method PopWhile (line 53) | func (q *Queue[T]) PopWhile(f func(T) bool) []T { method PopUntil (line 65) | func (q *Queue[T]) PopUntil(f func(T) bool) []T { FILE: pkg/generic_sync/map.go type MapOf (line 28) | type MapOf struct type readOnly (line 64) | type readOnly struct type entry (line 74) | type entry struct function newEntry (line 96) | func newEntry[V any](i V) *entry[V] { method Load (line 103) | func (m *MapOf[K, V]) Load(key K) (value V, ok bool) { method Has (line 128) | func (m *MapOf[K, V]) Has(key K) bool { method load (line 133) | func (e *entry[V]) load() (value V, ok bool) { method Store (line 142) | func (m *MapOf[K, V]) Store(key K, value V) { method tryStore (line 175) | func (e *entry[V]) tryStore(i *V) bool { method unexpungeLocked (line 191) | func (e *entry[V]) unexpungeLocked() (wasExpunged bool) { method storeLocked (line 198) | func (e *entry[V]) storeLocked(i *V) { method LoadOrStore (line 205) | func (m *MapOf[K, V]) LoadOrStore(key K, value V) (actual V, loaded bool) { method tryLoadOrStore (line 245) | func (e *entry[V]) tryLoadOrStore(i V) (actual V, loaded, ok bool) { method Delete (line 273) | func (m *MapOf[K, V]) Delete(key K) { method delete (line 290) | func (e *entry[V]) delete() (hadValue bool) { method Range (line 312) | func (m *MapOf[K, V]) Range(f func(key K, value V) bool) { method Values (line 346) | func (m *MapOf[K, V]) Values() []V { method Count (line 355) | func (m *MapOf[K, V]) Count() int { method Empty (line 359) | func (m *MapOf[K, V]) Empty() bool { method ToMap (line 363) | func (m *MapOf[K, V]) ToMap() map[K]V { method Clear (line 372) | func (m *MapOf[K, V]) Clear() { method missLocked (line 379) | func (m *MapOf[K, V]) missLocked() { method dirtyLocked (line 389) | func (m *MapOf[K, V]) dirtyLocked() { method tryExpungeLocked (line 403) | func (e *entry[V]) tryExpungeLocked() (isExpunged bool) { FILE: pkg/generic_sync/map_test.go function TestConcurrentRange (line 16) | func TestConcurrentRange(t *testing.T) { FILE: pkg/http_range/range.go type Range (line 14) | type Range struct method ContentRange (line 20) | func (r Range) ContentRange(size int64) string { method MimeHeader (line 131) | func (r Range) MimeHeader(contentType string, size int64) textproto.MI... function ParseRange (line 36) | func ParseRange(s string, size int64) ([]Range, error) { // nolint:gocognit function ParseContentRange (line 111) | func ParseContentRange(s string) (start, end int64, err error) { function ApplyRangeToHttpHeader (line 139) | func ApplyRangeToHttpHeader(p Range, headerRef http.Header) http.Header { FILE: pkg/mq/mq.go type Message (line 9) | type Message struct type BasicConsumer (line 13) | type BasicConsumer type AllConsumer (line 14) | type AllConsumer type MQ (line 16) | type MQ interface type inMemoryMQ (line 24) | type inMemoryMQ struct function NewInMemoryMQ (line 29) | func NewInMemoryMQ[T any]() MQ[T] { method Publish (line 33) | func (mq *inMemoryMQ[T]) Publish(msg Message[T]) { method Consume (line 39) | func (mq *inMemoryMQ[T]) Consume(consumer BasicConsumer[T]) { method ConsumeAll (line 47) | func (mq *inMemoryMQ[T]) ConsumeAll(consumer AllConsumer[T]) { method Clear (line 53) | func (mq *inMemoryMQ[T]) Clear() { method Len (line 59) | func (mq *inMemoryMQ[T]) Len() int { FILE: pkg/pool/pool.go type Pool (line 5) | type Pool struct method Get (line 13) | func (p *Pool[T]) Get() T { method Put (line 24) | func (p *Pool[T]) Put(item T) { method Reset (line 32) | func (p *Pool[T]) Reset() { FILE: pkg/qbittorrent/client.go type Client (line 16) | type Client interface type client (line 23) | type client struct method checkAuthorization (line 63) | func (c *client) checkAuthorization() error { method authorized (line 80) | func (c *client) authorized() bool { method login (line 89) | func (c *client) login() error { method post (line 113) | func (c *client) post(path string, data url.Values) (*http.Response, e... method AddFromLink (line 135) | func (c *client) AddFromLink(link string, savePath string, id string) ... method GetInfo (line 276) | func (c *client) GetInfo(id string) (TorrentInfo, error) { method GetFiles (line 317) | func (c *client) GetFiles(id string) ([]FileInfo, error) { method Delete (line 349) | func (c *client) Delete(id string, deleteFiles bool) error { function New (line 29) | func New(webuiUrl string) (Client, error) { type TorrentStatus (line 189) | type TorrentStatus constant ERROR (line 192) | ERROR TorrentStatus = "error" constant MISSINGFILES (line 193) | MISSINGFILES TorrentStatus = "missingFiles" constant UPLOADING (line 194) | UPLOADING TorrentStatus = "uploading" constant PAUSEDUP (line 195) | PAUSEDUP TorrentStatus = "pausedUP" constant QUEUEDUP (line 196) | QUEUEDUP TorrentStatus = "queuedUP" constant STALLEDUP (line 197) | STALLEDUP TorrentStatus = "stalledUP" constant CHECKINGUP (line 198) | CHECKINGUP TorrentStatus = "checkingUP" constant FORCEDUP (line 199) | FORCEDUP TorrentStatus = "forcedUP" constant ALLOCATING (line 200) | ALLOCATING TorrentStatus = "allocating" constant DOWNLOADING (line 201) | DOWNLOADING TorrentStatus = "downloading" constant METADL (line 202) | METADL TorrentStatus = "metaDL" constant PAUSEDDL (line 203) | PAUSEDDL TorrentStatus = "pausedDL" constant QUEUEDDL (line 204) | QUEUEDDL TorrentStatus = "queuedDL" constant STALLEDDL (line 205) | STALLEDDL TorrentStatus = "stalledDL" constant CHECKINGDL (line 206) | CHECKINGDL TorrentStatus = "checkingDL" constant FORCEDDL (line 207) | FORCEDDL TorrentStatus = "forcedDL" constant CHECKINGRESUMEDATA (line 208) | CHECKINGRESUMEDATA TorrentStatus = "checkingResumeData" constant MOVING (line 209) | MOVING TorrentStatus = "moving" constant UNKNOWN (line 210) | UNKNOWN TorrentStatus = "unknown" type TorrentInfo (line 214) | type TorrentInfo struct type InfoNotFoundError (line 263) | type InfoNotFoundError struct method Error (line 268) | func (i InfoNotFoundError) Error() string { function NewInfoNotFoundError (line 272) | func NewInfoNotFoundError(id string) InfoNotFoundError { type FileInfo (line 306) | type FileInfo struct FILE: pkg/sign/hmac.go type HMACSign (line 13) | type HMACSign struct method Sign (line 17) | func (s HMACSign) Sign(data string, expire int64) string { method Verify (line 28) | func (s HMACSign) Verify(data, sign string) error { function NewHMACSign (line 50) | func NewHMACSign(secret []byte) Sign { FILE: pkg/sign/sign.go type Sign (line 5) | type Sign interface FILE: pkg/singleflight/signleflight_test.go type errValue (line 22) | type errValue struct method Error (line 24) | func (err *errValue) Error() string { function TestPanicErrorUnwrap (line 28) | func TestPanicErrorUnwrap(t *testing.T) { function TestDo (line 84) | func TestDo(t *testing.T) { function TestDoErr (line 97) | func TestDoErr(t *testing.T) { function TestDoDupSuppress (line 111) | func TestDoDupSuppress(t *testing.T) { function TestForget (line 159) | func TestForget(t *testing.T) { function TestDoChan (line 200) | func TestDoChan(t *testing.T) { function TestPanicDo (line 219) | func TestPanicDo(t *testing.T) { function TestGoexitDo (line 256) | func TestGoexitDo(t *testing.T) { function executable (line 288) | func executable(t testing.TB) string { function TestPanicDoChan (line 305) | func TestPanicDoChan(t *testing.T) { function TestPanicDoSharedByDoChan (line 343) | func TestPanicDoSharedByDoChan(t *testing.T) { function ExampleGroup (line 393) | func ExampleGroup() { FILE: pkg/singleflight/singleflight.go type panicError (line 24) | type panicError struct method Error (line 30) | func (p *panicError) Error() string { method Unwrap (line 34) | func (p *panicError) Unwrap() error { function newPanicError (line 43) | func newPanicError(v any) error { type call (line 56) | type call struct type Group (line 73) | type Group struct type Result (line 80) | type Result struct method Do (line 91) | func (g *Group[T]) Do(key string, fn func() (T, error)) (v T, err error,... method DoChan (line 121) | func (g *Group[T]) DoChan(key string, fn func() (T, error)) <-chan Resul... method doCall (line 144) | func (g *Group[T]) doCall(c *call[T], key string, fn func() (T, error)) { method Forget (line 210) | func (g *Group[T]) Forget(key string) { FILE: pkg/task/manager.go type Manager (line 10) | type Manager struct method Submit (line 17) | func (tm *Manager[K]) Submit(task *Task[K]) K { method do (line 27) | func (tm *Manager[K]) do(task *Task[K]) { method GetAll (line 44) | func (tm *Manager[K]) GetAll() []*Task[K] { method Get (line 48) | func (tm *Manager[K]) Get(tid K) (*Task[K], bool) { method MustGet (line 52) | func (tm *Manager[K]) MustGet(tid K) *Task[K] { method Retry (line 57) | func (tm *Manager[K]) Retry(tid K) error { method Cancel (line 66) | func (tm *Manager[K]) Cancel(tid K) error { method Remove (line 75) | func (tm *Manager[K]) Remove(tid K) error { method RemoveAll (line 89) | func (tm *Manager[K]) RemoveAll() { method RemoveByStates (line 93) | func (tm *Manager[K]) RemoveByStates(states ...string) { method GetByStates (line 102) | func (tm *Manager[K]) GetByStates(states ...string) []*Task[K] { method ListUndone (line 113) | func (tm *Manager[K]) ListUndone() []*Task[K] { method ListDone (line 117) | func (tm *Manager[K]) ListDone() []*Task[K] { method ClearDone (line 121) | func (tm *Manager[K]) ClearDone() { method ClearSucceeded (line 125) | func (tm *Manager[K]) ClearSucceeded() { method RawTasks (line 129) | func (tm *Manager[K]) RawTasks() *generic_sync.MapOf[K, *Task[K]] { function NewTaskManager (line 133) | func NewTaskManager[K comparable](maxWorker int, updateID ...func(*K)) *... FILE: pkg/task/task.go type Func (line 21) | type Func type Callback (line 22) | type Callback type Task (line 24) | type Task struct method SetStatus (line 40) | func (t *Task[K]) SetStatus(status string) { method SetProgress (line 44) | func (t *Task[K]) SetProgress(percentage float64) { method GetProgress (line 48) | func (t Task[K]) GetProgress() float64 { method GetState (line 52) | func (t Task[K]) GetState() string { method GetStatus (line 56) | func (t Task[K]) GetStatus() string { method GetErrMsg (line 60) | func (t Task[K]) GetErrMsg() string { function getCurrentGoroutineStack (line 67) | func getCurrentGoroutineStack() string { method run (line 73) | func (t *Task[K]) run() { method retry (line 99) | func (t *Task[K]) retry() { method Done (line 103) | func (t *Task[K]) Done() bool { method Cancel (line 107) | func (t *Task[K]) Cancel() { function WithCancelCtx (line 118) | func WithCancelCtx[K comparable](task *Task[K]) *Task[K] { FILE: pkg/task/task_test.go function TestTask_Manager (line 12) | func TestTask_Manager(t *testing.T) { function TestTask_Cancel (line 37) | func TestTask_Cancel(t *testing.T) { function TestTask_Retry (line 65) | func TestTask_Retry(t *testing.T) { FILE: pkg/utils/balance.go function IsBalance (line 7) | func IsBalance(str string) bool { function GetActualMountPath (line 12) | func GetActualMountPath(mountPath string) string { FILE: pkg/utils/bool.go function IsBool (line 3) | func IsBool(bs ...bool) bool { FILE: pkg/utils/ctx.go function IsCanceled (line 7) | func IsCanceled(ctx context.Context) bool { FILE: pkg/utils/email.go function IsEmailFormat (line 5) | func IsEmailFormat(email string) bool { FILE: pkg/utils/file.go function CopyFile (line 19) | func CopyFile(src, dst string) error { function CopyDir (line 45) | func CopyDir(src, dst string) error { function SymlinkOrCopyFile (line 77) | func SymlinkOrCopyFile(src, dst string) error { function Exists (line 88) | func Exists(name string) bool { function CreateNestedDirectory (line 98) | func CreateNestedDirectory(path string) error { function CreateNestedFile (line 107) | func CreateNestedFile(path string) (*os.File, error) { function CreateTempFile (line 116) | func CreateTempFile(r io.Reader, size int64) (*os.File, error) { function GetFileType (line 142) | func GetFileType(filename string) int { function GetObjType (line 159) | func GetObjType(filename string, isDir bool) int { function GetMimeType (line 170) | func GetMimeType(name string) string { constant KB (line 183) | KB = 1 << (10 * (iota + 1)) constant MB (line 184) | MB constant GB (line 185) | GB constant TB (line 186) | TB function IsSystemFile (line 191) | func IsSystemFile(filename string) bool { FILE: pkg/utils/file_test.go function TestIsSystemFile (line 7) | func TestIsSystemFile(t *testing.T) { FILE: pkg/utils/hash.go function GetMD5EncodeStr (line 19) | func GetMD5EncodeStr(data string) string { type HashType (line 30) | type HashType struct method MarshalJSON (line 37) | func (ht *HashType) MarshalJSON() ([]byte, error) { method MarshalText (line 41) | func (ht *HashType) MarshalText() (text []byte, err error) { function GetHashByName (line 60) | func GetHashByName(name string) (ht *HashType, ok bool) { function RegisterHash (line 66) | func RegisterHash(name, alias string, width int, newFunc func() hash.Has... function RegisterHashWithParam (line 70) | func RegisterHashWithParam(name, alias string, width int, newFunc func(.... function HashData (line 96) | func HashData(hashType *HashType, data []byte, params ...any) string { function HashReader (line 103) | func HashReader(hashType *HashType, reader io.Reader, params ...any) (st... function HashFile (line 113) | func HashFile(hashType *HashType, file io.ReadSeeker, params ...any) (st... function fromTypes (line 125) | func fromTypes(types []*HashType) map[*HashType]hash.Hash { function toMultiWriter (line 136) | func toMultiWriter(h map[*HashType]hash.Hash) io.Writer { type MultiHasher (line 146) | type MultiHasher struct method Write (line 160) | func (m *MultiHasher) Write(p []byte) (n int, err error) { method GetHashInfo (line 166) | func (m *MultiHasher) GetHashInfo() *HashInfo { method Sum (line 175) | func (m *MultiHasher) Sum(hashType *HashType) ([]byte, error) { method Size (line 184) | func (m *MultiHasher) Size() int64 { function NewMultiHasher (line 154) | func NewMultiHasher(types []*HashType) *MultiHasher { type HashInfo (line 189) | type HashInfo struct method String (line 205) | func (hi HashInfo) String() string { method GetHash (line 228) | func (hi HashInfo) GetHash(ht *HashType) string { method Export (line 232) | func (hi HashInfo) Export() map[*HashType]string { method All (line 236) | func (hi HashInfo) All() iter.Seq2[*HashType, string] { function NewHashInfoByMap (line 193) | func NewHashInfoByMap(h map[*HashType]string) HashInfo { function NewHashInfo (line 197) | func NewHashInfo(ht *HashType, str string) HashInfo { function FromString (line 212) | func FromString(str string) HashInfo { FILE: pkg/utils/hash/gcid.go function NewGcid (line 27) | func NewGcid(size int64) hash.Hash { type gcid (line 43) | type gcid struct method Write (line 51) | func (h *gcid) Write(p []byte) (n int, err error) { method Sum (line 74) | func (h *gcid) Sum(b []byte) []byte { method Reset (line 87) | func (h *gcid) Reset() { method Size (line 92) | func (h *gcid) Size() int { method BlockSize (line 96) | func (h *gcid) BlockSize() int { FILE: pkg/utils/hash_test.go type hashTest (line 10) | type hashTest struct function TestMultiHasher (line 35) | func TestMultiHasher(t *testing.T) { FILE: pkg/utils/html.go function SanitizeHTML (line 7) | func SanitizeHTML(s string) string { FILE: pkg/utils/http.go function GenerateContentDisposition (line 10) | func GenerateContentDisposition(fileName string) string { function encodeRFC5987 (line 22) | func encodeRFC5987(s string) string { function urlEncode (line 39) | func urlEncode(s string) string { FILE: pkg/utils/io.go type readerFunc (line 19) | type readerFunc method Read (line 21) | func (rf readerFunc) Read(p []byte) (n int, err error) { return rf(p) } function CopyWithCtx (line 26) | func CopyWithCtx(ctx context.Context, out io.Writer, in io.Reader, size ... type limitWriter (line 53) | type limitWriter struct method Write (line 58) | func (l *limitWriter) Write(p []byte) (n int, err error) { function LimitWriter (line 70) | func LimitWriter(w io.Writer, limit int64) io.Writer { type ReadCloser (line 74) | type ReadCloser struct type CloseFunc (line 79) | type CloseFunc method Close (line 81) | func (c CloseFunc) Close() error { function NewReadCloser (line 85) | func NewReadCloser(reader io.Reader, close CloseFunc) io.ReadCloser { function NewLimitReadCloser (line 92) | func NewLimitReadCloser(reader io.Reader, close CloseFunc, limit int64) ... type MultiReadable (line 96) | type MultiReadable struct method Read (line 109) | func (mr *MultiReadable) Read(p []byte) (int, error) { method Reset (line 120) | func (mr *MultiReadable) Reset() error { method Close (line 132) | func (mr *MultiReadable) Close() error { function NewMultiReadable (line 102) | func NewMultiReadable(reader io.Reader) *MultiReadable { function Retry (line 139) | func Retry(attempts int, sleep time.Duration, f func() error) (err error) { type ClosersIF (line 155) | type ClosersIF interface type Closers (line 160) | type Closers method Close (line 162) | func (c *Closers) Close() error { method Add (line 173) | func (c *Closers) Add(closer io.Closer) { method AddIfCloser (line 178) | func (c *Closers) AddIfCloser(a any) { function NewClosers (line 186) | func NewClosers(c ...io.Closer) Closers { type SyncClosers (line 190) | type SyncClosers struct method AcquireReference (line 196) | func (c *SyncClosers) AcquireReference() bool { method Close (line 208) | func (c *SyncClosers) Close() error { method Add (line 236) | func (c *SyncClosers) Add(closer io.Closer) { method AddIfCloser (line 245) | func (c *SyncClosers) AddIfCloser(a any) { method Expired (line 257) | func (c *SyncClosers) Expired() bool { method Length (line 260) | func (c *SyncClosers) Length() int { constant closersClosed (line 206) | closersClosed = math.MinInt32 function NewSyncClosers (line 264) | func NewSyncClosers(c ...io.Closer) SyncClosers { type Ordered (line 268) | type Ordered interface function Min (line 275) | func Min[T Ordered](a, b T) T { function Max (line 282) | func Max[T Ordered](a, b T) T { function CopyWithBuffer (line 295) | func CopyWithBuffer(dst io.Writer, src io.Reader) (written int64, err er... function CopyWithBufferN (line 301) | func CopyWithBufferN(dst io.Writer, src io.Reader, n int64) (written int... FILE: pkg/utils/ip.go function ClientIP (line 9) | func ClientIP(r *http.Request) string { function IsLocalIPAddr (line 28) | func IsLocalIPAddr(ip string) bool { function IsLocalIP (line 32) | func IsLocalIP(ip net.IP) bool { FILE: pkg/utils/json.go function WriteJsonToFile (line 14) | func WriteJsonToFile(dst string, data interface{}, std ...bool) bool { FILE: pkg/utils/map.go function MergeMap (line 3) | func MergeMap(mObj ...map[string]interface{}) map[string]interface{} { FILE: pkg/utils/oauth2.go type tokenSource (line 5) | type tokenSource struct method Token (line 9) | func (t *tokenSource) Token() (*oauth2.Token, error) { function TokenSource (line 13) | func TokenSource(fn func() (*oauth2.Token, error)) oauth2.TokenSource { FILE: pkg/utils/path.go function FixAndCleanPath (line 19) | func FixAndCleanPath(path string) string { function PathAddSeparatorSuffix (line 29) | func PathAddSeparatorSuffix(path string) string { function PathEqual (line 37) | func PathEqual(path1, path2 string) bool { function IsSubPath (line 41) | func IsSubPath(path string, subPath string) bool { function Ext (line 46) | func Ext(path string) string { function SourceExt (line 50) | func SourceExt(path string) string { function EncodePath (line 58) | func EncodePath(path string, all ...bool) string { function JoinBasePath (line 81) | func JoinBasePath(basePath, reqPath string) (string, error) { function GetFullPath (line 90) | func GetFullPath(mountPath, path string) string { function GetPathHierarchy (line 102) | func GetPathHierarchy(path string) []string { FILE: pkg/utils/path_test.go function TestEncodePath (line 8) | func TestEncodePath(t *testing.T) { function TestFixAndCleanPath (line 12) | func TestFixAndCleanPath(t *testing.T) { function TestGetPathHierarchy (line 27) | func TestGetPathHierarchy(t *testing.T) { FILE: pkg/utils/random/random.go constant letterBytes (line 14) | letterBytes = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234... function String (line 16) | func String(n int) string { function Token (line 29) | func Token() string { function RangeInt64 (line 33) | func RangeInt64(left, right int64) int64 { function init (line 37) | func init() { FILE: pkg/utils/slice.go function SliceEqual (line 10) | func SliceEqual[T comparable](a, b []T) bool { function SliceContains (line 23) | func SliceContains[T comparable](arr []T, v T) bool { function SliceAllContains (line 33) | func SliceAllContains[T comparable](arr []T, vs ...T) bool { function SliceConvert (line 47) | func SliceConvert[S any, D any](srcS []S, convert func(src S) (D, error)... function MustSliceConvert (line 59) | func MustSliceConvert[S any, D any](srcS []S, convert func(src S) D) []D { function MergeErrors (line 68) | func MergeErrors(errs ...error) error { function SliceMeet (line 78) | func SliceMeet[T1, T2 any](arr []T1, v T2, meet func(item T1, v T2) bool... function SliceFilter (line 87) | func SliceFilter[T any](arr []T, filter func(src T) bool) []T { function SliceReplace (line 97) | func SliceReplace[T any](arr []T, replace func(src T) T) { FILE: pkg/utils/str.go function MappingName (line 10) | func MappingName(name string) string { function SafeAtob (line 23) | func SafeAtob(data string) (string, error) { function GetNoneEmpty (line 35) | func GetNoneEmpty(strArr ...string) string { FILE: pkg/utils/time.go function MustParseCNTime (line 10) | func MustParseCNTime(str string) time.Time { function NewDebounce (line 15) | func NewDebounce(interval time.Duration) func(f func()) { function NewDebounce2 (line 28) | func NewDebounce2(interval time.Duration, f func()) func() { function NewThrottle (line 41) | func NewThrottle(interval time.Duration) func(func()) { function NewThrottle2 (line 56) | func NewThrottle2(interval time.Duration, fn func()) func() { FILE: pkg/utils/url.go function InjectQuery (line 7) | func InjectQuery(raw string, query url.Values) (string, error) { FILE: server/common/auth.go type UserClaims (line 15) | type UserClaims struct function GenerateToken (line 23) | func GenerateToken(user *model.User) (tokenString string, err error) { function ParseToken (line 41) | func ParseToken(tokenString string) (*UserClaims, error) { function InvalidateToken (line 67) | func InvalidateToken(tokenString string) error { function IsTokenInvalidated (line 75) | func IsTokenInvalidated(tokenString string) bool { FILE: server/common/base.go function GetApiUrlFromRequest (line 13) | func GetApiUrlFromRequest(r *http.Request) string { function GetApiUrl (line 33) | func GetApiUrl(ctx context.Context) string { FILE: server/common/check.go function IsStorageSignEnabled (line 15) | func IsStorageSignEnabled(rawPath string) bool { function CanWrite (line 20) | func CanWrite(meta *model.Meta, path string) bool { function IsApply (line 27) | func IsApply(metaPath, reqPath string, applySub bool) bool { function CanAccess (line 34) | func CanAccess(user *model.User, meta *model.Meta, reqPath string, passw... function ShouldProxy (line 66) | func ShouldProxy(storage driver.Driver, filename string) bool { FILE: server/common/check_test.go function TestIsApply (line 5) | func TestIsApply(t *testing.T) { FILE: server/common/common.go function hidePrivacy (line 16) | func hidePrivacy(msg string) string { function ErrorResp (line 27) | func ErrorResp(c *gin.Context, err error, code int, l ...bool) { function ErrorPage (line 47) | func ErrorPage(c *gin.Context, err error, code int, l ...bool) { function ErrorWithDataResp (line 79) | func ErrorWithDataResp(c *gin.Context, err error, code int, data interfa... function ErrorStrResp (line 95) | func ErrorStrResp(c *gin.Context, str string, code int, l ...bool) { function SuccessResp (line 107) | func SuccessResp(c *gin.Context, data ...interface{}) { function SuccessWithMsgResp (line 111) | func SuccessWithMsgResp(c *gin.Context, msg string, data ...interface{}) { function Pluralize (line 124) | func Pluralize(count int, singular, plural string) string { function GinWithValue (line 131) | func GinWithValue(c *gin.Context, keyAndValue ...any) { function ContentWithValue (line 137) | func ContentWithValue(ctx context.Context, keyAndValue ...any) context.C... FILE: server/common/hide_privacy_test.go function TestHidePrivacy (line 10) | func TestHidePrivacy(t *testing.T) { FILE: server/common/ldap.go function HandleLdapLogin (line 21) | func HandleLdapLogin(username, password string) error { function LdapRegister (line 72) | func LdapRegister(username string) (*model.User, error) { function dial (line 93) | func dial(ldapServer string, skipTlsVerify ...bool) (*ldap.Conn, error) { FILE: server/common/proxy.go function Proxy (line 20) | func Proxy(w http.ResponseWriter, r *http.Request, link *model.Link, fil... function attachHeader (line 73) | func attachHeader(w http.ResponseWriter, file model.Obj, link *model.Lin... function GetEtag (line 89) | func GetEtag(file model.Obj, size int64) string { function ProxyRange (line 103) | func ProxyRange(ctx context.Context, link *model.Link, size int64) *mode... type InterceptResponseWriter (line 119) | type InterceptResponseWriter struct method Write (line 124) | func (iw *InterceptResponseWriter) Write(p []byte) (int, error) { type WrittenResponseWriter (line 128) | type WrittenResponseWriter struct method Write (line 133) | func (ww *WrittenResponseWriter) Write(p []byte) (int, error) { method IsWritten (line 141) | func (ww *WrittenResponseWriter) IsWritten() bool { function GenerateDownProxyURL (line 145) | func GenerateDownProxyURL(storage *model.Storage, reqPath string) string { FILE: server/common/resp.go type Resp (line 3) | type Resp struct type PageResp (line 9) | type PageResp struct FILE: server/common/sign.go function Sign (line 12) | func Sign(obj model.Obj, parent string, encrypt bool) string { FILE: server/debug.go function _pprof (line 15) | func _pprof(g *gin.RouterGroup) { function debug (line 19) | func debug(g *gin.RouterGroup) { FILE: server/ftp.go type FtpMainDriver (line 27) | type FtpMainDriver struct method GetSettings (line 94) | func (d *FtpMainDriver) GetSettings() (*ftpserver.Settings, error) { method ClientConnected (line 98) | func (d *FtpMainDriver) ClientConnected(cc ftpserver.ClientContext) (s... method ClientDisconnected (line 107) | func (d *FtpMainDriver) ClientDisconnected(cc ftpserver.ClientContext) { method AuthUser (line 115) | func (d *FtpMainDriver) AuthUser(cc ftpserver.ClientContext, user, pas... method GetTLSConfig (line 162) | func (d *FtpMainDriver) GetTLSConfig() (*tls.Config, error) { method Stop (line 169) | func (d *FtpMainDriver) Stop() { function NewMainDriver (line 36) | func NewMainDriver() (*FtpMainDriver, error) { function lookupIP (line 178) | func lookupIP(host string) string { type group (line 197) | type group struct type pasvPortGetter (line 203) | type pasvPortGetter struct method FetchNext (line 208) | func (m *pasvPortGetter) FetchNext() (int, int, bool) { method NumberAttempts (line 221) | func (m *pasvPortGetter) NumberAttempts() int { function newPortMapper (line 225) | func newPortMapper(str string) ftpserver.PasvPortGetter { function getTlsConf (line 296) | func getTlsConf(keyPath, certPath string) (*tls.Config, error) { FILE: server/ftp/afero.go type AferoAdapter (line 20) | type AferoAdapter struct method Create (line 29) | func (a *AferoAdapter) Create(_ string) (afero.File, error) { method Mkdir (line 34) | func (a *AferoAdapter) Mkdir(name string, _ os.FileMode) error { method MkdirAll (line 38) | func (a *AferoAdapter) MkdirAll(path string, perm os.FileMode) error { method Open (line 42) | func (a *AferoAdapter) Open(_ string) (afero.File, error) { method OpenFile (line 47) | func (a *AferoAdapter) OpenFile(_ string, _ int, _ os.FileMode) (afero... method Remove (line 52) | func (a *AferoAdapter) Remove(name string) error { method RemoveAll (line 56) | func (a *AferoAdapter) RemoveAll(path string) error { method Rename (line 60) | func (a *AferoAdapter) Rename(oldName, newName string) error { method Stat (line 64) | func (a *AferoAdapter) Stat(name string) (os.FileInfo, error) { method Name (line 68) | func (a *AferoAdapter) Name() string { method Chmod (line 72) | func (a *AferoAdapter) Chmod(_ string, _ os.FileMode) error { method Chown (line 76) | func (a *AferoAdapter) Chown(_ string, _, _ int) error { method Chtimes (line 80) | func (a *AferoAdapter) Chtimes(_ string, _ time.Time, _ time.Time) err... method ReadDir (line 84) | func (a *AferoAdapter) ReadDir(name string) ([]os.FileInfo, error) { method GetHandle (line 88) | func (a *AferoAdapter) GetHandle(name string, flags int, offset int64)... method Site (line 141) | func (a *AferoAdapter) Site(param string) *ftpserver.AnswerCommand { method SetNextFileSize (line 161) | func (a *AferoAdapter) SetNextFileSize(size int64) { function NewAferoAdapter (line 25) | func NewAferoAdapter(ctx context.Context) *AferoAdapter { FILE: server/ftp/fsmanage.go function Mkdir (line 16) | func Mkdir(ctx context.Context, path string) error { function Remove (line 36) | func Remove(ctx context.Context, path string) error { function Rename (line 51) | func Rename(ctx context.Context, oldPath, newPath string) error { FILE: server/ftp/fsread.go type FileDownloadProxy (line 21) | type FileDownloadProxy struct method Read (line 63) | func (f *FileDownloadProxy) Read(p []byte) (n int, err error) { method ReadAt (line 72) | func (f *FileDownloadProxy) ReadAt(p []byte, off int64) (n int, err er... method Write (line 81) | func (f *FileDownloadProxy) Write(p []byte) (n int, err error) { function OpenDownload (line 27) | func OpenDownload(ctx context.Context, reqPath string, offset int64) (*F... type OsFileInfoAdapter (line 85) | type OsFileInfoAdapter struct method Name (line 89) | func (o *OsFileInfoAdapter) Name() string { method Size (line 93) | func (o *OsFileInfoAdapter) Size() int64 { method Mode (line 97) | func (o *OsFileInfoAdapter) Mode() fs2.FileMode { method ModTime (line 105) | func (o *OsFileInfoAdapter) ModTime() time.Time { method IsDir (line 109) | func (o *OsFileInfoAdapter) IsDir() bool { method Sys (line 113) | func (o *OsFileInfoAdapter) Sys() any { function Stat (line 117) | func Stat(ctx context.Context, path string) (os.FileInfo, error) { function List (line 143) | func List(ctx context.Context, path string) ([]os.FileInfo, error) { FILE: server/ftp/fsup.go type FileUploadProxy (line 26) | type FileUploadProxy struct method Read (line 66) | func (f *FileUploadProxy) Read(p []byte) (n int, err error) { method Write (line 70) | func (f *FileUploadProxy) Write(p []byte) (n int, err error) { method Seek (line 79) | func (f *FileUploadProxy) Seek(offset int64, whence int) (int64, error) { method Close (line 83) | func (f *FileUploadProxy) Close() error { function uploadAuth (line 34) | func uploadAuth(ctx context.Context, path string) error { function OpenUpload (line 49) | func OpenUpload(ctx context.Context, path string, trunc bool) (*FileUplo... type FileUploadWithLengthProxy (line 144) | type FileUploadWithLengthProxy struct method Read (line 171) | func (f *FileUploadWithLengthProxy) Read(p []byte) (n int, err error) { method write (line 175) | func (f *FileUploadWithLengthProxy) write(p []byte) (n int, err error) { method Write (line 222) | func (f *FileUploadWithLengthProxy) Write(p []byte) (n int, err error) { method Seek (line 231) | func (f *FileUploadWithLengthProxy) Seek(offset int64, whence int) (in... method Close (line 235) | func (f *FileUploadWithLengthProxy) Close() error { function OpenUploadWithLength (line 155) | func OpenUploadWithLength(ctx context.Context, path string, trunc bool, ... FILE: server/ftp/site.go function HandleSIZE (line 10) | func HandleSIZE(param string, client ftpserver.ClientDriver) (int, strin... FILE: server/ftp/upload_stage.go function InitStage (line 26) | func InitStage() { type UploadingFile (line 33) | type UploadingFile struct method SetRemoveCallback (line 44) | func (u *UploadingFile) SetRemoveCallback(rm func()) { type softLink (line 50) | type softLink struct function MakeStage (line 54) | func MakeStage(ctx context.Context, buffer *os.File, size int64, path st... function Borrow (line 78) | func Borrow(ctx context.Context, path string) (*BorrowedFile, error) { function drop (line 106) | func drop(path patricia.Prefix) { function ListStage (line 137) | func ListStage(path string) map[string]model.Obj { function StatStage (line 168) | func StatStage(path string) (os.FileInfo, error) { function MoveStage (line 186) | func MoveStage(from, to string) error { function RemoveStage (line 211) | func RemoveStage(path string) error { type BorrowedFile (line 233) | type BorrowedFile struct method Read (line 239) | func (f *BorrowedFile) Read(p []byte) (n int, err error) { method ReadAt (line 248) | func (f *BorrowedFile) ReadAt(p []byte, off int64) (n int, err error) { method Seek (line 257) | func (f *BorrowedFile) Seek(offset int64, whence int) (int64, error) { method Write (line 261) | func (f *BorrowedFile) Write(_ []byte) (n int, err error) { method Close (line 265) | func (f *BorrowedFile) Close() error { FILE: server/handles/archive.go type ArchiveMetaReq (line 25) | type ArchiveMetaReq struct type ArchiveMetaResp (line 32) | type ArchiveMetaResp struct type ArchiveContentResp (line 41) | type ArchiveContentResp struct function toObjsRespWithoutSignAndThumb (line 46) | func toObjsRespWithoutSignAndThumb(obj model.Obj) ObjResp { function toContentResp (line 61) | func toContentResp(objs []model.ObjTree) []ArchiveContentResp { function FsArchiveMetaSplit (line 74) | func FsArchiveMetaSplit(c *gin.Context) { function FsArchiveMeta (line 93) | func FsArchiveMeta(c *gin.Context, req *ArchiveMetaReq, user *model.User) { type ArchiveListReq (line 152) | type ArchiveListReq struct function FsArchiveListSplit (line 158) | func FsArchiveListSplit(c *gin.Context) { function FsArchiveList (line 178) | func FsArchiveList(c *gin.Context, req *ArchiveListReq, user *model.User) { type ArchiveDecompressReq (line 231) | type ArchiveDecompressReq struct function FsArchiveDecompress (line 242) | func FsArchiveDecompress(c *gin.Context) { function ArchiveDown (line 301) | func ArchiveDown(c *gin.Context) { function ArchiveProxy (line 335) | func ArchiveProxy(c *gin.Context) { function proxyInternalExtract (line 368) | func proxyInternalExtract(c *gin.Context, rc io.ReadCloser, size int64, ... function ArchiveInternalExtract (line 386) | func ArchiveInternalExtract(c *gin.Context) { function ArchiveExtensions (line 408) | func ArchiveExtensions(c *gin.Context) { FILE: server/handles/auth.go type LoginReq (line 16) | type LoginReq struct function Login (line 23) | func Login(c *gin.Context) { function LoginHash (line 34) | func LoginHash(c *gin.Context) { function loginHash (line 43) | func loginHash(c *gin.Context, req *LoginReq) { type UserResp (line 84) | type UserResp struct function CurrentUser (line 91) | func CurrentUser(c *gin.Context) { function UpdateCurrent (line 103) | func UpdateCurrent(c *gin.Context) { function Generate2FA (line 126) | func Generate2FA(c *gin.Context) { type Verify2FAReq (line 155) | type Verify2FAReq struct function Verify2FA (line 160) | func Verify2FA(c *gin.Context) { function LogOut (line 183) | func LogOut(c *gin.Context) { FILE: server/handles/const.go constant CANCEL (line 4) | CANCEL = "cancel" constant OVERWRITE (line 5) | OVERWRITE = "overwrite" constant SKIP (line 6) | SKIP = "skip" FILE: server/handles/direct_upload.go type FsGetDirectUploadInfoReq (line 13) | type FsGetDirectUploadInfoReq struct function FsGetDirectUploadInfo (line 22) | func FsGetDirectUploadInfo(c *gin.Context) { FILE: server/handles/down.go function Down (line 25) | func Down(c *gin.Context) { function Proxy (line 51) | func Proxy(c *gin.Context) { function redirect (line 81) | func redirect(c *gin.Context, link *model.Link) { function proxy (line 100) | func proxy(c *gin.Context, link *model.Link, file model.Obj, proxyRange ... function canProxy (line 166) | func canProxy(storage driver.Driver, filename string) bool { FILE: server/handles/driver.go function ListDriverInfo (line 11) | func ListDriverInfo(c *gin.Context) { function ListDriverNames (line 15) | func ListDriverNames(c *gin.Context) { function GetDriverInfo (line 19) | func GetDriverInfo(c *gin.Context) { FILE: server/handles/fsbatch.go type RecursiveMoveReq (line 19) | type RecursiveMoveReq struct function FsRecursiveMove (line 25) | func FsRecursiveMove(c *gin.Context) { type BatchRenameReq (line 138) | type BatchRenameReq struct function FsBatchRename (line 146) | func FsBatchRename(c *gin.Context) { type RegexRenameReq (line 190) | type RegexRenameReq struct function FsRegexRename (line 196) | func FsRegexRename(c *gin.Context) { FILE: server/handles/fsmanage.go type MkdirOrLinkReq (line 23) | type MkdirOrLinkReq struct function FsMkdir (line 27) | func FsMkdir(c *gin.Context) { type MoveCopyReq (line 59) | type MoveCopyReq struct function FsMove (line 68) | func FsMove(c *gin.Context) { function FsCopy (line 143) | func FsCopy(c *gin.Context) { type RenameReq (line 223) | type RenameReq struct function FsRename (line 229) | func FsRename(c *gin.Context) { function checkRelativePath (line 264) | func checkRelativePath(path string) error { type RemoveReq (line 271) | type RemoveReq struct function FsRemove (line 276) | func FsRemove(c *gin.Context) { type RemoveEmptyDirectoryReq (line 319) | type RemoveEmptyDirectoryReq struct function FsRemoveEmptyDirectory (line 323) | func FsRemoveEmptyDirectory(c *gin.Context) { function Link (line 419) | func Link(c *gin.Context) { FILE: server/handles/fsread.go type ListReq (line 22) | type ListReq struct type DirReq (line 29) | type DirReq struct type ObjResp (line 35) | type ObjResp struct type FsListResp (line 49) | type FsListResp struct function FsListSplit (line 59) | func FsListSplit(c *gin.Context) { function FsList (line 79) | func FsList(c *gin.Context, req *ListReq, user *model.User) { function FsDirs (line 128) | func FsDirs(c *gin.Context) { type DirResp (line 170) | type DirResp struct function filterDirs (line 175) | func filterDirs(objs []model.Obj) []DirResp { function getReadme (line 188) | func getReadme(meta *model.Meta, path string) string { function getHeader (line 195) | func getHeader(meta *model.Meta, path string) string { function isEncrypt (line 202) | func isEncrypt(meta *model.Meta, path string) bool { function pagination (line 215) | func pagination(objs []model.Obj, req *model.PageReq) (int, []model.Obj) { function toObjsResp (line 229) | func toObjsResp(objs []model.Obj, parent string, encrypt bool) []ObjResp { type FsGetReq (line 251) | type FsGetReq struct type FsGetResp (line 256) | type FsGetResp struct function FsGetSplit (line 265) | func FsGetSplit(c *gin.Context) { function FsGet (line 284) | func FsGet(c *gin.Context, req *FsGetReq, user *model.User) { function filterRelated (line 384) | func filterRelated(objs []model.Obj, obj model.Obj) []model.Obj { type FsOtherReq (line 398) | type FsOtherReq struct function FsOther (line 403) | func FsOther(c *gin.Context) { FILE: server/handles/fsup.go function getLastModified (line 22) | func getLastModified(c *gin.Context) time.Time { function shouldIgnoreSystemFile (line 34) | func shouldIgnoreSystemFile(filename string) bool { function FsStream (line 41) | func FsStream(c *gin.Context) { function FsForm (line 130) | func FsForm(c *gin.Context) { FILE: server/handles/helper.go function Favicon (line 16) | func Favicon(c *gin.Context) { function Robots (line 20) | func Robots(c *gin.Context) { function Plist (line 24) | func Plist(c *gin.Context) { FILE: server/handles/index.go type UpdateIndexReq (line 15) | type UpdateIndexReq struct function BuildIndex (line 21) | func BuildIndex(c *gin.Context) { function UpdateIndex (line 42) | func UpdateIndex(c *gin.Context) { function StopIndex (line 74) | func StopIndex(c *gin.Context) { function ClearIndex (line 87) | func ClearIndex(c *gin.Context) { function GetProgress (line 102) | func GetProgress(c *gin.Context) { FILE: server/handles/ldap_login.go function LoginLdap (line 13) | func LoginLdap(c *gin.Context) { FILE: server/handles/meta.go function ListMetas (line 16) | func ListMetas(c *gin.Context) { function CreateMeta (line 35) | func CreateMeta(c *gin.Context) { function UpdateMeta (line 53) | func UpdateMeta(c *gin.Context) { function validHide (line 71) | func validHide(hide string) (string, error) { function DeleteMeta (line 82) | func DeleteMeta(c *gin.Context) { function GetMeta (line 96) | func GetMeta(c *gin.Context) { FILE: server/handles/offline_download.go type SetAria2Req (line 23) | type SetAria2Req struct function SetAria2 (line 28) | func SetAria2(c *gin.Context) { type SetQbittorrentReq (line 55) | type SetQbittorrentReq struct function SetQbittorrent (line 60) | func SetQbittorrent(c *gin.Context) { type SetTransmissionReq (line 86) | type SetTransmissionReq struct function SetTransmission (line 91) | func SetTransmission(c *gin.Context) { type Set115Req (line 117) | type Set115Req struct function Set115 (line 121) | func Set115(c *gin.Context) { type Set115OpenReq (line 161) | type Set115OpenReq struct function Set115Open (line 165) | func Set115Open(c *gin.Context) { type Set123PanReq (line 205) | type Set123PanReq struct function Set123Pan (line 209) | func Set123Pan(c *gin.Context) { type Set123OpenReq (line 249) | type Set123OpenReq struct function Set123Open (line 254) | func Set123Open(c *gin.Context) { type SetPikPakReq (line 295) | type SetPikPakReq struct function SetPikPak (line 299) | func SetPikPak(c *gin.Context) { type SetThunderReq (line 339) | type SetThunderReq struct function SetThunder (line 343) | func SetThunder(c *gin.Context) { type SetThunderXReq (line 383) | type SetThunderXReq struct function SetThunderX (line 387) | func SetThunderX(c *gin.Context) { type SetThunderBrowserReq (line 427) | type SetThunderBrowserReq struct function SetThunderBrowser (line 431) | func SetThunderBrowser(c *gin.Context) { function OfflineDownloadTools (line 473) | func OfflineDownloadTools(c *gin.Context) { type AddOfflineDownloadReq (line 478) | type AddOfflineDownloadReq struct function AddOfflineDownload (line 485) | func AddOfflineDownload(c *gin.Context) { FILE: server/handles/scan.go type ManualScanReq (line 9) | type ManualScanReq struct function StartManualScan (line 14) | func StartManualScan(c *gin.Context) { function StopManualScan (line 27) | func StopManualScan(c *gin.Context) { type ManualScanResp (line 36) | type ManualScanResp struct function GetManualScanProgress (line 41) | func GetManualScanProgress(c *gin.Context) { FILE: server/handles/search.go type SearchReq (line 18) | type SearchReq struct type SearchResp (line 23) | type SearchResp struct function Search (line 28) | func Search(c *gin.Context) { function nodeToSearchResp (line 72) | func nodeToSearchResp(node model.SearchNode) SearchResp { FILE: server/handles/setting.go function ResetToken (line 19) | func ResetToken(c *gin.Context) { function GetSetting (line 30) | func GetSetting(c *gin.Context) { function SaveSettings (line 50) | func SaveSettings(c *gin.Context) { function ListSettings (line 64) | func ListSettings(c *gin.Context) { function DefaultSettings (line 96) | func DefaultSettings(c *gin.Context) { function DeleteSetting (line 136) | func DeleteSetting(c *gin.Context) { function PublicSettings (line 145) | func PublicSettings(c *gin.Context) { FILE: server/handles/sharing.go function SharingGet (line 23) | func SharingGet(c *gin.Context, req *FsGetReq) { function SharingList (line 67) | func SharingList(c *gin.Context, req *ListReq) { function SharingArchiveMeta (line 106) | func SharingArchiveMeta(c *gin.Context, req *ArchiveMetaReq) { function SharingArchiveList (line 149) | func SharingArchiveList(c *gin.Context, req *ArchiveListReq) { function SharingDown (line 190) | func SharingDown(c *gin.Context) { function SharingArchiveExtract (line 251) | func SharingArchiveExtract(c *gin.Context) { function dealError (line 319) | func dealError(c *gin.Context, err error) bool { function dealErrorPage (line 336) | func dealErrorPage(c *gin.Context, err error) bool { type SharingResp (line 353) | type SharingResp struct function GetSharing (line 359) | func GetSharing(c *gin.Context) { function ListSharings (line 374) | func ListSharings(c *gin.Context) { type UpdateSharingReq (line 406) | type UpdateSharingReq struct function UpdateSharing (line 421) | func UpdateSharing(c *gin.Context) { function CreateSharing (line 485) | func CreateSharing(c *gin.Context) { function DeleteSharing (line 548) | func DeleteSharing(c *gin.Context) { function SetEnableSharing (line 563) | func SetEnableSharing(disable bool) func(ctx *gin.Context) { function countAccess (line 586) | func countAccess(ip string, s *model.Sharing) error { FILE: server/handles/sshkey.go type SSHKeyAddReq (line 14) | type SSHKeyAddReq struct function AddMyPublicKey (line 19) | func AddMyPublicKey(c *gin.Context) { function ListMyPublicKey (line 50) | func ListMyPublicKey(c *gin.Context) { function DeleteMyPublicKey (line 59) | func DeleteMyPublicKey(c *gin.Context) { function ListPublicKeys (line 83) | func ListPublicKeys(c *gin.Context) { function DeletePublicKey (line 97) | func DeletePublicKey(c *gin.Context) { function list (line 111) | func list(c *gin.Context, userObj *model.User) { FILE: server/handles/ssologin.go constant stateLength (line 29) | stateLength = 16 constant stateExpire (line 30) | stateExpire = time.Minute * 5 function _keyState (line 34) | func _keyState(clientID, state string) string { function generateState (line 38) | func generateState(clientID, ip string) string { function verifyState (line 44) | func verifyState(clientID, ip, state string) bool { function ssoRedirectUri (line 49) | func ssoRedirectUri(c *gin.Context, useCompatibility bool, method string... function SSOLoginRedirect (line 57) | func SSOLoginRedirect(c *gin.Context) { function GetOIDCClient (line 116) | func GetOIDCClient(c *gin.Context, useCompatibility bool, redirectUri, m... function autoRegister (line 144) | func autoRegister(username, userID string, err error) (*model.User, erro... function parseJWT (line 174) | func parseJWT(p string) ([]byte, error) { function OIDCLoginCallback (line 186) | func OIDCLoginCallback(c *gin.Context) { function SSOLoginCallback (line 284) | func SSOLoginCallback(c *gin.Context) { FILE: server/handles/storage.go type StorageResp (line 21) | type StorageResp struct type detailWithIndex (line 26) | type detailWithIndex struct function makeStorageResp (line 31) | func makeStorageResp(ctx *gin.Context, storages []model.Storage) []*Stor... function ListStorages (line 74) | func ListStorages(c *gin.Context) { function CreateStorage (line 93) | func CreateStorage(c *gin.Context) { function UpdateStorage (line 110) | func UpdateStorage(c *gin.Context) { function DeleteStorage (line 123) | func DeleteStorage(c *gin.Context) { function DisableStorage (line 137) | func DisableStorage(c *gin.Context) { function EnableStorage (line 151) | func EnableStorage(c *gin.Context) { function GetStorage (line 165) | func GetStorage(c *gin.Context) { function LoadAllStorages (line 180) | func LoadAllStorages(c *gin.Context) { FILE: server/handles/task.go type TaskInfo (line 19) | type TaskInfo struct function getTaskInfo (line 33) | func getTaskInfo[T task.TaskExtensionInfo](task T) TaskInfo { function getTaskInfos (line 64) | func getTaskInfos[T task.TaskExtensionInfo](tasks []T) []TaskInfo { function argsContains (line 68) | func argsContains[T comparable](v T, slice ...T) bool { function getUserInfo (line 72) | func getUserInfo(c *gin.Context) (bool, uint, bool) { function getTargetedHandler (line 80) | func getTargetedHandler[T task.TaskExtensionInfo](manager task.Manager[T... function getBatchHandler (line 102) | func getBatchHandler[T task.TaskExtensionInfo](manager task.Manager[T], ... function taskRoute (line 127) | func taskRoute[T task.TaskExtensionInfo](g *gin.RouterGroup, manager tas... function SetupTaskRoute (line 220) | func SetupTaskRoute(g *gin.RouterGroup) { FILE: server/handles/user.go function ListUsers (line 13) | func ListUsers(c *gin.Context) { function CreateUser (line 32) | func CreateUser(c *gin.Context) { function UpdateUser (line 52) | func UpdateUser(c *gin.Context) { function DeleteUser (line 88) | func DeleteUser(c *gin.Context) { function GetUser (line 102) | func GetUser(c *gin.Context) { function Cancel2FAById (line 117) | func Cancel2FAById(c *gin.Context) { function DelUserCache (line 131) | func DelUserCache(c *gin.Context) { FILE: server/handles/webauthn.go function BeginAuthnLogin (line 21) | func BeginAuthnLogin(c *gin.Context) { function FinishAuthnLogin (line 62) | func FinishAuthnLogin(c *gin.Context) { function BeginAuthnRegistration (line 122) | func BeginAuthnRegistration(c *gin.Context) { function FinishAuthnRegistration (line 155) | func FinishAuthnRegistration(c *gin.Context) { function DeleteAuthnLogin (line 201) | func DeleteAuthnLogin(c *gin.Context) { function GetAuthnCredentials (line 225) | func GetAuthnCredentials(c *gin.Context) { FILE: server/middlewares/auth.go function Auth (line 17) | func Auth(allowDisabledGuest bool) func(c *gin.Context) { function Authn (line 78) | func Authn(c *gin.Context) { function AuthNotGuest (line 132) | func AuthNotGuest(c *gin.Context) { function AuthAdmin (line 142) | func AuthAdmin(c *gin.Context) { FILE: server/middlewares/check.go function StoragesLoaded (line 12) | func StoragesLoaded(c *gin.Context) { FILE: server/middlewares/down.go function PathParse (line 18) | func PathParse(c *gin.Context) { function Down (line 24) | func Down(verifyFunc func(string, string) error) func(c *gin.Context) { function parsePath (line 51) | func parsePath(path string) string { function needSign (line 55) | func needSign(meta *model.Meta, path string) bool { FILE: server/middlewares/filtered_logger.go type filter (line 12) | type filter struct function initFilterList (line 20) | func initFilterList() { function skiperDecider (line 53) | func skiperDecider(c *gin.Context) bool { function FilteredLogger (line 92) | func FilteredLogger() gin.HandlerFunc { FILE: server/middlewares/fsup.go function FsUp (line 16) | func FsUp(c *gin.Context) { FILE: server/middlewares/https.go function ForceHttps (line 11) | func ForceHttps(c *gin.Context) { FILE: server/middlewares/limit.go function MaxAllowed (line 10) | func MaxAllowed(n int) gin.HandlerFunc { function UploadRateLimiter (line 21) | func UploadRateLimiter(limiter stream.Limiter) gin.HandlerFunc { type ResponseWriterWrapper (line 32) | type ResponseWriterWrapper struct method Write (line 37) | func (w *ResponseWriterWrapper) Write(p []byte) (n int, err error) { function DownloadRateLimiter (line 41) | func DownloadRateLimiter(limiter stream.Limiter) gin.HandlerFunc { FILE: server/middlewares/search.go function SearchIndex (line 11) | func SearchIndex(c *gin.Context) { FILE: server/middlewares/sharing.go function SharingIdParse (line 9) | func SharingIdParse(c *gin.Context) { function EmptyPathParse (line 15) | func EmptyPathParse(c *gin.Context) { FILE: server/router.go function Init (line 18) | func Init(e *gin.Engine) { function admin (line 117) | func admin(g *gin.RouterGroup) { function fsAndShare (line 190) | func fsAndShare(g *gin.RouterGroup) { function _fs (line 198) | func _fs(g *gin.RouterGroup) { function _task (line 224) | func _task(g *gin.RouterGroup) { function _sharing (line 228) | func _sharing(g *gin.RouterGroup) { function Cors (line 238) | func Cors(r *gin.Engine) { function InitS3 (line 247) | func InitS3(e *gin.Engine) { FILE: server/s3.go function S3 (line 14) | func S3(g *gin.RouterGroup) { function S3Server (line 36) | func S3Server(g *gin.RouterGroup) { FILE: server/s3/backend.go type s3Backend (line 38) | type s3Backend struct method ListBuckets (line 50) | func (b *s3Backend) ListBuckets(ctx context.Context) ([]gofakes3.Bucke... method ListBucket (line 68) | func (b *s3Backend) ListBucket(ctx context.Context, bucketName string,... method HeadObject (line 104) | func (b *s3Backend) HeadObject(ctx context.Context, bucketName, object... method GetObject (line 147) | func (b *s3Backend) GetObject(ctx context.Context, bucketName, objectN... method TouchObject (line 224) | func (b *s3Backend) TouchObject(ctx context.Context, fp string, meta m... method PutObject (line 230) | func (b *s3Backend) PutObject( method DeleteMulti (line 322) | func (b *s3Backend) DeleteMulti(ctx context.Context, bucketName string... method DeleteObject (line 342) | func (b *s3Backend) DeleteObject(ctx context.Context, bucketName, obje... method deleteObject (line 347) | func (b *s3Backend) deleteObject(ctx context.Context, bucketName, obje... method CreateBucket (line 367) | func (b *s3Backend) CreateBucket(ctx context.Context, name string) err... method DeleteBucket (line 372) | func (b *s3Backend) DeleteBucket(ctx context.Context, name string) err... method BucketExists (line 377) | func (b *s3Backend) BucketExists(ctx context.Context, name string) (ex... method CopyObject (line 391) | func (b *s3Backend) CopyObject(ctx context.Context, srcBucket, srcKey,... function newBackend (line 43) | func newBackend() gofakes3.Backend { FILE: server/s3/ioutils.go type noOpReadCloser (line 7) | type noOpReadCloser struct method Read (line 16) | func (d noOpReadCloser) Read(b []byte) (n int, err error) { method Close (line 20) | func (d noOpReadCloser) Close() error { type readerWithCloser (line 9) | type readerWithCloser struct method Close (line 31) | func (rwc *readerWithCloser) Close() error { function limitReadCloser (line 24) | func limitReadCloser(rdr io.Reader, closer func() error, sz int64) io.Re... FILE: server/s3/list.go method entryListR (line 14) | func (b *s3Backend) entryListR(bucket, fdPath, name string, addPrefix bo... FILE: server/s3/logger.go type logger (line 13) | type logger struct method Print (line 16) | func (l logger) Print(level gofakes3.LogLevel, v ...interface{}) { FILE: server/s3/pager.go method pager (line 12) | func (db *s3Backend) pager(list *gofakes3.ObjectList, page gofakes3.List... FILE: server/s3/server.go function NewServer (line 14) | func NewServer(ctx context.Context) (h http.Handler, err error) { FILE: server/s3/utils.go type Bucket (line 19) | type Bucket struct constant emptyObjectName (line 24) | emptyObjectName = "ThisIsAnEmptyFolderInTheS3Bucket" function getAndParseBuckets (line 26) | func getAndParseBuckets() ([]Bucket, error) { function getBucketByName (line 32) | func getBucketByName(name string) (Bucket, error) { function getDirEntries (line 45) | func getDirEntries(path string) ([]model.Obj, error) { function getFileHash (line 75) | func getFileHash(node interface{}) string { function prefixParser (line 113) | func prefixParser(p *gofakes3.Prefix) (path, remaining string) { function authlistResolver (line 153) | func authlistResolver() map[string]string { FILE: server/sftp.go type SftpDriver (line 22) | type SftpDriver struct method GetConfig (line 37) | func (d *SftpDriver) GetConfig() *sftpd.Config { method GetFileSystem (line 65) | func (d *SftpDriver) GetFileSystem(sc *ssh.ServerConn) (sftpd.FileSyst... method Close (line 78) | func (d *SftpDriver) Close() { method NoClientAuth (line 81) | func (d *SftpDriver) NoClientAuth(conn ssh.ConnMetadata) (*ssh.Permiss... method PasswordAuth (line 95) | func (d *SftpDriver) PasswordAuth(conn ssh.ConnMetadata, password []by... method PublicKeyAuth (line 124) | func (d *SftpDriver) PublicKeyAuth(conn ssh.ConnMetadata, key ssh.Publ... method AuthLogCallback (line 151) | func (d *SftpDriver) AuthLogCallback(conn ssh.ConnMetadata, method str... method GetBanner (line 160) | func (d *SftpDriver) GetBanner(_ ssh.ConnMetadata) string { function NewSftpDriver (line 27) | func NewSftpDriver() (*SftpDriver, error) { FILE: server/sftp/const.go constant SSH_FXF_READ (line 5) | SSH_FXF_READ = 0x00000001 constant SSH_FXF_WRITE (line 6) | SSH_FXF_WRITE = 0x00000002 constant SSH_FXF_APPEND (line 7) | SSH_FXF_APPEND = 0x00000004 constant SSH_FXF_CREAT (line 8) | SSH_FXF_CREAT = 0x00000008 constant SSH_FXF_TRUNC (line 9) | SSH_FXF_TRUNC = 0x00000010 constant SSH_FXF_EXCL (line 10) | SSH_FXF_EXCL = 0x00000020 FILE: server/sftp/hostkey.go function InitHostKey (line 19) | func InitHostKey() { function LoadOrGenerateRSAHostKey (line 38) | func LoadOrGenerateRSAHostKey(parentDir string) (ssh.Signer, bool) { function rsaEncodePrivateKey (line 86) | func rsaEncodePrivateKey(privateKey *rsa.PrivateKey) []byte { function rsaDecodePrivateKey (line 96) | func rsaDecodePrivateKey(bytes []byte) (*rsa.PrivateKey, error) { FILE: server/sftp/sftp.go type DriverAdapter (line 13) | type DriverAdapter struct method OpenFile (line 17) | func (s *DriverAdapter) OpenFile(_ string, _ uint32, _ *sftpd.Attr) (s... method OpenDir (line 22) | func (s *DriverAdapter) OpenDir(_ string) (sftpd.Dir, error) { method Remove (line 27) | func (s *DriverAdapter) Remove(name string) error { method Rename (line 31) | func (s *DriverAdapter) Rename(old, new string, _ uint32) error { method Mkdir (line 35) | func (s *DriverAdapter) Mkdir(name string, attr *sftpd.Attr) error { method Rmdir (line 39) | func (s *DriverAdapter) Rmdir(name string) error { method Stat (line 43) | func (s *DriverAdapter) Stat(name string, _ bool) (*sftpd.Attr, error) { method SetStat (line 51) | func (s *DriverAdapter) SetStat(_ string, _ *sftpd.Attr) error { method ReadLink (line 55) | func (s *DriverAdapter) ReadLink(_ string) (string, error) { method CreateLink (line 59) | func (s *DriverAdapter) CreateLink(_, _ string, _ uint32) error { method RealPath (line 63) | func (s *DriverAdapter) RealPath(path string) (string, error) { method GetHandle (line 67) | func (s *DriverAdapter) GetHandle(name string, flags uint32, _ *sftpd.... method ReadDir (line 71) | func (s *DriverAdapter) ReadDir(name string) ([]sftpd.NamedAttr, error) { function sftpFlagToOpenMode (line 84) | func sftpFlagToOpenMode(flags uint32) int { function fileInfoToSftpAttr (line 107) | func fileInfoToSftpAttr(stat os.FileInfo) *sftpd.Attr { function fileInfoToSftpNamedAttr (line 119) | func fileInfoToSftpNamedAttr(stat os.FileInfo) *sftpd.NamedAttr { FILE: server/static/config.go type SiteConfig (line 10) | type SiteConfig struct function getSiteConfig (line 15) | func getSiteConfig() SiteConfig { FILE: server/static/static.go type ManifestIcon (line 21) | type ManifestIcon struct type Manifest (line 27) | type Manifest struct function initStatic (line 37) | func initStatic() { function replaceStrings (line 52) | func replaceStrings(content string, replacements map[string]string) stri... function initIndex (line 59) | func initIndex(siteConfig SiteConfig) { function UpdateIndex (line 109) | func UpdateIndex() { function ManifestJSON (line 134) | func ManifestJSON(c *gin.Context) { function Static (line 178) | func Static(r *gin.RouterGroup, noRoute func(handlers ...gin.HandlerFunc... FILE: server/utils.go function tryLdapLoginAndRegister (line 8) | func tryLdapLoginAndRegister(user, pass string) (*model.User, error) { FILE: server/webdav.go function WebDav (line 23) | func WebDav(dav *gin.RouterGroup) { function ServeWebDAV (line 46) | func ServeWebDAV(c *gin.Context) { function WebDAVAuth (line 50) | func WebDAVAuth(c *gin.Context) { function tryLogin (line 149) | func tryLogin(username, password string) (*model.User, bool) { FILE: server/webdav/buffered_response_writer.go type bufferedResponseWriter (line 7) | type bufferedResponseWriter struct method Header (line 13) | func (w *bufferedResponseWriter) Header() http.Header { method Write (line 20) | func (w *bufferedResponseWriter) Write(bytes []byte) (int, error) { method WriteHeader (line 25) | func (w *bufferedResponseWriter) WriteHeader(statusCode int) { method WriteToResponse (line 31) | func (w *bufferedResponseWriter) WriteToResponse(rw http.ResponseWrite... function newBufferedResponseWriter (line 42) | func newBufferedResponseWriter() *bufferedResponseWriter { FILE: server/webdav/file.go function slashClean (line 21) | func slashClean(name string) string { function moveFiles (line 31) | func moveFiles(ctx context.Context, src, dst string, overwrite bool) (st... function copyFiles (line 64) | func copyFiles(ctx context.Context, src, dst string, overwrite bool) (st... function walkFS (line 79) | func walkFS(ctx context.Context, depth int, name string, info model.Obj,... FILE: server/webdav/if.go type ifHeader (line 15) | type ifHeader struct type ifList (line 20) | type ifList struct function parseIfHeader (line 28) | func parseIfHeader(httpHeader string) (h ifHeader, ok bool) { function parseNoTagLists (line 40) | func parseNoTagLists(s string) (h ifHeader, ok bool) { function parseTaggedLists (line 54) | func parseTaggedLists(s string) (h ifHeader, ok bool) { function parseList (line 83) | func parseList(s string) (l ifList, remaining string, ok bool) { function parseCondition (line 105) | func parseCondition(s string) (c Condition, remaining string, ok bool) { constant errTokenType (line 125) | errTokenType = rune(-1) constant eofTokenType (line 126) | eofTokenType = rune(-2) constant strTokenType (line 127) | strTokenType = rune(-3) constant notTokenType (line 128) | notTokenType = rune(-4) constant angleTokenType (line 129) | angleTokenType = rune(-5) constant squareTokenType (line 130) | squareTokenType = rune(-6) function lex (line 133) | func lex(s string) (tokenType rune, tokenStr string, remaining string) { FILE: server/webdav/internal/xml/atom_test.go function ParseTime (line 44) | func ParseTime(str string) time.Time { function NewText (line 52) | func NewText(text string) Text { FILE: server/webdav/internal/xml/example_test.go function ExampleMarshalIndent (line 13) | func ExampleMarshalIndent() { function ExampleEncoder (line 53) | func ExampleEncoder() { function ExampleUnmarshal (line 97) | func ExampleUnmarshal() { FILE: server/webdav/internal/xml/marshal.go constant Header (line 22) | Header = `` + "\n" function Marshal (line 70) | func Marshal(v interface{}) ([]byte, error) { type Marshaler (line 94) | type Marshaler interface type MarshalerAttr (line 109) | type MarshalerAttr interface function MarshalIndent (line 116) | func MarshalIndent(v interface{}, prefix, indent string) ([]byte, error) { type Encoder (line 127) | type Encoder struct method Indent (line 141) | func (enc *Encoder) Indent(prefix, indent string) { method Encode (line 152) | func (enc *Encoder) Encode(v interface{}) error { method EncodeElement (line 167) | func (enc *Encoder) EncodeElement(v interface{}, start StartElement) e... method EncodeToken (line 201) | func (enc *Encoder) EncodeToken(t Token) error { method Flush (line 298) | func (enc *Encoder) Flush() error { function NewEncoder (line 132) | func NewEncoder(w io.Writer) *Encoder { function isValidDirective (line 258) | func isValidDirective(dir Directive) bool { type printer (line 302) | type printer struct method prefixForNS (line 331) | func (p *printer) prefixForNS(url string, isAttr bool) string { method defineNS (line 349) | func (p *printer) defineNS(attr Attr, ignoreNonEmptyDefault bool) error { method createNSPrefix (line 403) | func (p *printer) createNSPrefix(url string, isAttr bool) { method writeNamespaces (line 460) | func (p *printer) writeNamespaces() { method pushPrefix (line 482) | func (p *printer) pushPrefix(prefix, url string) { method nsForPrefix (line 494) | func (p *printer) nsForPrefix(prefix string) string { method markPrefix (line 503) | func (p *printer) markPrefix() { method popPrefix (line 511) | func (p *printer) popPrefix() { method setAttrPrefix (line 525) | func (p *printer) setAttrPrefix(prefix, url string) { method marshalValue (line 556) | func (p *printer) marshalValue(val reflect.Value, finfo *fieldInfo, st... method fieldAttr (line 722) | func (p *printer) fieldAttr(finfo *fieldInfo, val reflect.Value) (Attr... method defaultStart (line 779) | func (p *printer) defaultStart(typ reflect.Type, finfo *fieldInfo, sta... method marshalInterface (line 806) | func (p *printer) marshalInterface(val Marshaler, start StartElement) ... method marshalTextInterface (line 826) | func (p *printer) marshalTextInterface(val encoding.TextMarshaler, sta... method writeStart (line 839) | func (p *printer) writeStart(start *StartElement) error { method writeName (line 894) | func (p *printer) writeName(name Name, isAttr bool) { method writeEnd (line 902) | func (p *printer) writeEnd(name Name) error { method marshalSimple (line 926) | func (p *printer) marshalSimple(typ reflect.Type, val reflect.Value) (... method marshalStruct (line 963) | func (p *printer) marshalStruct(tinfo *typeInfo, val reflect.Value) er... method cachedWriteError (line 1099) | func (p *printer) cachedWriteError() error { method writeIndent (line 1104) | func (p *printer) writeIndent(depthDelta int) { type printerPrefix (line 325) | type printerPrefix struct type parentStack (line 1135) | type parentStack struct method setParents (line 1144) | func (s *parentStack) setParents(finfo *fieldInfo, vf reflect.Value) e... type UnsupportedTypeError (line 1199) | type UnsupportedTypeError struct method Error (line 1203) | func (e *UnsupportedTypeError) Error() string { function isEmptyValue (line 1207) | func isEmptyValue(v reflect.Value) bool { FILE: server/webdav/internal/xml/marshal_test.go type DriveType (line 20) | type DriveType constant HyperDrive (line 23) | HyperDrive DriveType = iota constant ImprobabilityDrive (line 24) | ImprobabilityDrive type Passenger (line 27) | type Passenger struct type Ship (line 32) | type Ship struct type NamedType (line 43) | type NamedType type Port (line 45) | type Port struct type Domain (line 52) | type Domain struct type Book (line 59) | type Book struct type Event (line 64) | type Event struct type Movie (line 69) | type Movie struct type Pi (line 74) | type Pi struct type Universe (line 79) | type Universe struct type Particle (line 84) | type Particle struct type Departure (line 89) | type Departure struct type SecretAgent (line 94) | type SecretAgent struct type NestedItems (line 101) | type NestedItems struct type NestedOrder (line 107) | type NestedOrder struct type MixedNested (line 114) | type MixedNested struct type NilTest (line 122) | type NilTest struct type Service (line 128) | type Service struct type EmbedA (line 138) | type EmbedA struct type EmbedB (line 144) | type EmbedB struct type EmbedC (line 149) | type EmbedC struct type NameCasing (line 156) | type NameCasing struct type NamePrecedence (line 164) | type NamePrecedence struct type XMLNameWithTag (line 172) | type XMLNameWithTag struct type XMLNameWithNSTag (line 177) | type XMLNameWithNSTag struct type XMLNameWithoutTag (line 182) | type XMLNameWithoutTag struct type NameInField (line 187) | type NameInField struct type AttrTest (line 191) | type AttrTest struct type OmitAttrTest (line 201) | type OmitAttrTest struct type OmitFieldTest (line 211) | type OmitFieldTest struct type AnyTest (line 222) | type AnyTest struct type AnyOmitTest (line 228) | type AnyOmitTest struct type AnySliceTest (line 234) | type AnySliceTest struct type AnyHolder (line 240) | type AnyHolder struct type RecurseA (line 245) | type RecurseA struct type RecurseB (line 250) | type RecurseB struct type PresenceTest (line 255) | type PresenceTest struct type IgnoreTest (line 259) | type IgnoreTest struct type MyBytes (line 263) | type MyBytes type Data (line 265) | type Data struct type Plain (line 271) | type Plain struct type MyInt (line 275) | type MyInt type EmbedInt (line 277) | type EmbedInt struct type Strings (line 281) | type Strings struct type PointerFieldsTest (line 285) | type PointerFieldsTest struct type ChardataEmptyTest (line 293) | type ChardataEmptyTest struct type MyMarshalerTest (line 298) | type MyMarshalerTest struct method MarshalXML (line 303) | func (m *MyMarshalerTest) MarshalXML(e *Encoder, start StartElement) e... type MyMarshalerAttrTest (line 310) | type MyMarshalerAttrTest struct method MarshalXMLAttr (line 314) | func (m *MyMarshalerAttrTest) MarshalXMLAttr(name Name) (Attr, error) { type MyMarshalerValueAttrTest (line 318) | type MyMarshalerValueAttrTest struct method MarshalXMLAttr (line 322) | func (m MyMarshalerValueAttrTest) MarshalXMLAttr(name Name) (Attr, err... type MarshalerStruct (line 326) | type MarshalerStruct struct type MarshalerValueStruct (line 330) | type MarshalerValueStruct struct type InnerStruct (line 334) | type InnerStruct struct type OuterStruct (line 338) | type OuterStruct struct type OuterNamedStruct (line 343) | type OuterNamedStruct struct type OuterNamedOrderedStruct (line 349) | type OuterNamedOrderedStruct struct type OuterOuterStruct (line 355) | type OuterOuterStruct struct type NestedAndChardata (line 359) | type NestedAndChardata struct type NestedAndComment (line 364) | type NestedAndComment struct type XMLNSFieldStruct (line 369) | type XMLNSFieldStruct struct type NamedXMLNSFieldStruct (line 374) | type NamedXMLNSFieldStruct struct type XMLNSFieldStructWithOmitEmpty (line 380) | type XMLNSFieldStructWithOmitEmpty struct type NamedXMLNSFieldStructWithEmptyNamespace (line 385) | type NamedXMLNSFieldStructWithEmptyNamespace struct type RecursiveXMLNSFieldStruct (line 391) | type RecursiveXMLNSFieldStruct struct function ifaceptr (line 397) | func ifaceptr(x interface{}) interface{} { function TestMarshal (line 1099) | func TestMarshal(t *testing.T) { type AttrParent (line 1119) | type AttrParent struct type BadAttr (line 1123) | type BadAttr struct function TestMarshalErrors (line 1183) | func TestMarshalErrors(t *testing.T) { function TestUnmarshal (line 1202) | func TestUnmarshal(t *testing.T) { function TestMarshalIndent (line 1230) | func TestMarshalIndent(t *testing.T) { type limitedBytesWriter (line 1243) | type limitedBytesWriter struct method Write (line 1248) | func (lw *limitedBytesWriter) Write(p []byte) (n int, err error) { function TestMarshalWriteErrors (line 1264) | func TestMarshalWriteErrors(t *testing.T) { function TestMarshalWriteIOErrors (line 1292) | func TestMarshalWriteIOErrors(t *testing.T) { function TestMarshalFlush (line 1302) | func TestMarshalFlush(t *testing.T) { function TestEncodeElement (line 1395) | func TestEncodeElement(t *testing.T) { function BenchmarkMarshal (line 1413) | func BenchmarkMarshal(b *testing.B) { function BenchmarkUnmarshal (line 1420) | func BenchmarkUnmarshal(b *testing.B) { function TestStructPointerMarshal (line 1429) | func TestStructPointerMarshal(t *testing.T) { function TestEncodeToken (line 1789) | func TestEncodeToken(t *testing.T) { function TestProcInstEncodeToken (line 1827) | func TestProcInstEncodeToken(t *testing.T) { function TestDecodeEncode (line 1844) | func TestDecodeEncode(t *testing.T) { function TestRace9796 (line 1862) | func TestRace9796(t *testing.T) { function TestIsValidDirective (line 1878) | func TestIsValidDirective(t *testing.T) { function TestSimpleUseOfEncodeToken (line 1911) | func TestSimpleUseOfEncodeToken(t *testing.T) { FILE: server/webdav/internal/xml/read.go function Unmarshal (line 113) | func Unmarshal(data []byte, v interface{}) error { method Decode (line 119) | func (d *Decoder) Decode(v interface{}) error { method DecodeElement (line 127) | func (d *Decoder) DecodeElement(v interface{}, start *StartElement) error { type UnmarshalError (line 136) | type UnmarshalError method Error (line 138) | func (e UnmarshalError) Error() string { return string(e) } type Unmarshaler (line 155) | type Unmarshaler interface type UnmarshalerAttr (line 167) | type UnmarshalerAttr interface function receiverType (line 172) | func receiverType(val interface{}) string { method unmarshalInterface (line 182) | func (p *Decoder) unmarshalInterface(val Unmarshaler, start *StartElemen... method unmarshalTextInterface (line 204) | func (p *Decoder) unmarshalTextInterface(val encoding.TextUnmarshaler, s... method unmarshalAttr (line 227) | func (p *Decoder) unmarshalAttr(val reflect.Value, attr Attr) error { method unmarshal (line 271) | func (p *Decoder) unmarshal(val reflect.Value, start *StartElement) error { function copyValue (line 554) | func copyValue(dst reflect.Value, src []byte) (err error) { method unmarshalPath (line 611) | func (p *Decoder) unmarshalPath(tinfo *typeInfo, sv reflect.Value, paren... method Skip (line 676) | func (d *Decoder) Skip() error { FILE: server/webdav/internal/xml/read_test.go function TestUnmarshalFeed (line 19) | func TestUnmarshalFeed(t *testing.T) { constant atomFeedString (line 30) | atomFeedString = ` type Feed (line 85) | type Feed struct type Entry (line 95) | type Entry struct type Link (line 104) | type Link struct type Person (line 109) | type Person struct type Text (line 116) | type Text struct constant pathTestString (line 219) | pathTestString = ` type PathTestItem (line 241) | type PathTestItem struct type PathTestA (line 245) | type PathTestA struct type PathTestB (line 250) | type PathTestB struct type PathTestC (line 255) | type PathTestC struct type PathTestSet (line 261) | type PathTestSet struct type PathTestD (line 265) | type PathTestD struct type PathTestE (line 270) | type PathTestE struct function TestUnmarshalPaths (line 283) | func TestUnmarshalPaths(t *testing.T) { type BadPathTestA (line 295) | type BadPathTestA struct type BadPathTestB (line 301) | type BadPathTestB struct type BadPathTestC (line 307) | type BadPathTestC struct type BadPathTestD (line 312) | type BadPathTestD struct type BadPathEmbeddedA (line 317) | type BadPathEmbeddedA struct type BadPathEmbeddedB (line 321) | type BadPathEmbeddedB struct function TestUnmarshalBadPaths (line 334) | func TestUnmarshalBadPaths(t *testing.T) { constant OK (line 343) | OK = "OK" constant withoutNameTypeData (line 344) | withoutNameTypeData = ` type TestThree (line 348) | type TestThree struct function TestUnmarshalWithoutNameType (line 353) | func TestUnmarshalWithoutNameType(t *testing.T) { function TestUnmarshalAttr (line 363) | func TestUnmarshalAttr(t *testing.T) { type Tables (line 407) | type Tables struct function TestUnmarshalNS (line 467) | func TestUnmarshalNS(t *testing.T) { function TestRoundTrip (line 489) | func TestRoundTrip(t *testing.T) { function TestMarshalNS (line 517) | func TestMarshalNS(t *testing.T) { type TableAttrs (line 530) | type TableAttrs struct type TAttr (line 534) | type TAttr struct function TestUnmarshalNSAttr (line 612) | func TestUnmarshalNSAttr(t *testing.T) { function TestMarshalNSAttr (line 634) | func TestMarshalNSAttr(t *testing.T) { type MyCharData (line 656) | type MyCharData struct method UnmarshalXML (line 660) | func (m *MyCharData) UnmarshalXML(d *Decoder, start StartElement) error { method UnmarshalXMLAttr (line 678) | func (m *MyCharData) UnmarshalXMLAttr(attr Attr) error { type MyAttr (line 682) | type MyAttr struct method UnmarshalXMLAttr (line 686) | func (m *MyAttr) UnmarshalXMLAttr(attr Attr) error { type MyStruct (line 693) | type MyStruct struct function TestUnmarshaler (line 701) | func TestUnmarshaler(t *testing.T) { type Pea (line 719) | type Pea struct type Pod (line 723) | type Pod struct function TestUnmarshalIntoInterface (line 728) | func TestUnmarshalIntoInterface(t *testing.T) { FILE: server/webdav/internal/xml/typeinfo.go type typeInfo (line 15) | type typeInfo struct type fieldInfo (line 21) | type fieldInfo struct method value (line 357) | func (finfo *fieldInfo) value(v reflect.Value) reflect.Value { type fieldFlags (line 29) | type fieldFlags constant fElement (line 32) | fElement fieldFlags = 1 << iota constant fAttr (line 33) | fAttr constant fCharData (line 34) | fCharData constant fInnerXml (line 35) | fInnerXml constant fComment (line 36) | fComment constant fAny (line 37) | fAny constant fOmitEmpty (line 39) | fOmitEmpty constant fMode (line 41) | fMode = fElement | fAttr | fCharData | fInnerXml | fComment | fAny function getTypeInfo (line 51) | func getTypeInfo(typ reflect.Type) (*typeInfo, error) { function structFieldInfo (line 114) | func structFieldInfo(typ reflect.Type, f *reflect.StructField) (*fieldIn... function lookupXMLName (line 238) | func lookupXMLName(typ reflect.Type) (xmlname *fieldInfo) { function min (line 261) | func min(a, b int) int { function addFieldInfo (line 275) | func addFieldInfo(typ reflect.Type, tinfo *typeInfo, newf *fieldInfo) er... type TagPathError (line 344) | type TagPathError struct method Error (line 350) | func (e *TagPathError) Error() string { FILE: server/webdav/internal/xml/xml.go type SyntaxError (line 29) | type SyntaxError struct method Error (line 34) | func (e *SyntaxError) Error() string { type Name (line 47) | type Name struct method isNamespace (line 52) | func (name Name) isNamespace() bool { type Attr (line 57) | type Attr struct type Token (line 64) | type Token interface type StartElement (line 67) | type StartElement struct method Copy (line 72) | func (e StartElement) Copy() StartElement { method End (line 80) | func (e StartElement) End() EndElement { method setDefaultNamespace (line 86) | func (e *StartElement) setDefaultNamespace() { type EndElement (line 109) | type EndElement struct type CharData (line 116) | type CharData method Copy (line 124) | func (c CharData) Copy() CharData { return CharData(makeCopy(c)) } function makeCopy (line 118) | func makeCopy(b []byte) []byte { type Comment (line 128) | type Comment method Copy (line 130) | func (c Comment) Copy() Comment { return Comment(makeCopy(c)) } type ProcInst (line 133) | type ProcInst struct method Copy (line 138) | func (p ProcInst) Copy() ProcInst { type Directive (line 145) | type Directive method Copy (line 147) | func (d Directive) Copy() Directive { return Directive(makeCopy(d)) } function CopyToken (line 150) | func CopyToken(t Token) Token { type Decoder (line 168) | type Decoder struct method Token (line 272) | func (d *Decoder) Token() (t Token, err error) { method translate (line 332) | func (d *Decoder) translate(n *Name, isElementName bool) { method switchToReader (line 350) | func (d *Decoder) switchToReader(r io.Reader) { method push (line 379) | func (d *Decoder) push(kind int) *stack { method pop (line 392) | func (d *Decoder) pop() *stack { method pushEOF (line 405) | func (d *Decoder) pushEOF() { method popEOF (line 431) | func (d *Decoder) popEOF() bool { method pushElement (line 440) | func (d *Decoder) pushElement(name Name) { method pushNs (line 447) | func (d *Decoder) pushNs(local string, url string, ok bool) { method syntaxError (line 455) | func (d *Decoder) syntaxError(msg string) error { method popElement (line 465) | func (d *Decoder) popElement(t *EndElement) bool { method autoClose (line 503) | func (d *Decoder) autoClose(t Token) (Token, bool) { method RawToken (line 526) | func (d *Decoder) RawToken() (Token, error) { method rawToken (line 533) | func (d *Decoder) rawToken() (Token, error) { method attrval (line 832) | func (d *Decoder) attrval() []byte { method space (line 867) | func (d *Decoder) space() { method getc (line 886) | func (d *Decoder) getc() (b byte, ok bool) { method InputOffset (line 912) | func (d *Decoder) InputOffset() int64 { method savedOffset (line 918) | func (d *Decoder) savedOffset() int { method mustgetc (line 930) | func (d *Decoder) mustgetc() (b byte, ok bool) { method ungetc (line 940) | func (d *Decoder) ungetc(b byte) { method text (line 960) | func (d *Decoder) text(quote int, cdata bool) []byte { method nsname (line 1139) | func (d *Decoder) nsname() (name Name, ok bool) { method name (line 1157) | func (d *Decoder) name() (s string, ok bool) { method readName (line 1175) | func (d *Decoder) readName() (ok bool) { function NewDecoder (line 239) | func NewDecoder(r io.Reader) *Decoder { constant xmlURL (line 327) | xmlURL = "http://www.w3.org/XML/1998/namespace" type stack (line 366) | type stack struct constant stkStart (line 374) | stkStart = iota constant stkNs (line 375) | stkNs constant stkEOF (line 376) | stkEOF function isInCharacterRange (line 1128) | func isInCharacterRange(r rune) (inrange bool) { function isNameByte (line 1199) | func isNameByte(c byte) bool { function isName (line 1206) | func isName(s []byte) bool { function isNameString (line 1230) | func isNameString(s string) bool { function EscapeText (line 1876) | func EscapeText(w io.Writer, s []byte) error { function escapeText (line 1883) | func escapeText(w io.Writer, s []byte, escapeNewline bool) error { method EscapeString (line 1932) | func (p *printer) EscapeString(s string) { function Escape (line 1972) | func Escape(w io.Writer, s []byte) { function procInst (line 1978) | func procInst(param, s string) string { FILE: server/webdav/internal/xml/xml_test.go constant testInput (line 17) | testInput = ` constant testInputAltEncoding (line 110) | testInputAltEncoding = ` function TestRawToken (line 170) | func TestRawToken(t *testing.T) { constant nonStrictInput (line 176) | nonStrictInput = ` function TestNonStrictRawToken (line 225) | func TestNonStrictRawToken(t *testing.T) { type downCaser (line 231) | type downCaser struct method ReadByte (line 236) | func (d *downCaser) ReadByte() (c byte, err error) { method Read (line 244) | func (d *downCaser) Read(p []byte) (int, error) { function TestRawTokenAltEncoding (line 249) | func TestRawTokenAltEncoding(t *testing.T) { function TestRawTokenAltEncodingNoConverter (line 260) | func TestRawTokenAltEncodingNoConverter(t *testing.T) { function testRawToken (line 283) | func testRawToken(t *testing.T, d *Decoder, raw string, rawTokens []Toke... function TestNestedDirectives (line 361) | func TestNestedDirectives(t *testing.T) { function TestToken (line 375) | func TestToken(t *testing.T) { function TestSyntax (line 390) | func TestSyntax(t *testing.T) { type allScalars (line 402) | type allScalars struct constant testScalarsInput (line 448) | testScalarsInput = ` function TestAllScalars (line 471) | func TestAllScalars(t *testing.T) { type item (line 483) | type item struct function TestIssue569 (line 487) | func TestIssue569(t *testing.T) { function TestUnquotedAttrs (line 497) | func TestUnquotedAttrs(t *testing.T) { function TestValuelessAttrs (line 517) | func TestValuelessAttrs(t *testing.T) { function TestCopyTokenCharData (line 544) | func TestCopyTokenCharData(t *testing.T) { function TestCopyTokenStartElement (line 557) | func TestCopyTokenStartElement(t *testing.T) { function TestSyntaxErrorLineNum (line 573) | func TestSyntaxErrorLineNum(t *testing.T) { function TestTrailingRawToken (line 588) | func TestTrailingRawToken(t *testing.T) { function TestTrailingToken (line 599) | func TestTrailingToken(t *testing.T) { function TestEntityInsideCDATA (line 610) | func TestEntityInsideCDATA(t *testing.T) { function TestDisallowedCharacters (line 636) | func TestDisallowedCharacters(t *testing.T) { type procInstEncodingTest (line 655) | type procInstEncodingTest struct function TestProcInstEncoding (line 670) | func TestProcInstEncoding(t *testing.T) { function TestDirectivesWithComments (line 700) | func TestDirectivesWithComments(t *testing.T) { type errWriter (line 715) | type errWriter struct method Write (line 717) | func (errWriter) Write(p []byte) (n int, err error) { return 0, fmt.Er... function TestEscapeTextIOErrors (line 719) | func TestEscapeTextIOErrors(t *testing.T) { function TestEscapeTextInvalidChar (line 728) | func TestEscapeTextInvalidChar(t *testing.T) { function TestIssue5880 (line 743) | func TestIssue5880(t *testing.T) { FILE: server/webdav/litmus_test_server.go function main (line 33) | func main() { FILE: server/webdav/lock.go type Condition (line 29) | type Condition struct type LockSystem (line 38) | type LockSystem interface type LockDetails (line 97) | type LockDetails struct function NewMemLS (line 115) | func NewMemLS() LockSystem { type memLS (line 123) | type memLS struct method nextToken (line 133) | func (m *memLS) nextToken() string { method collectExpiredNodes (line 138) | func (m *memLS) collectExpiredNodes(now time.Time) { method Confirm (line 147) | func (m *memLS) Confirm(now time.Time, name0, name1 string, conditions... method lookup (line 192) | func (m *memLS) lookup(name string, conditions ...Condition) (n *memLS... method hold (line 212) | func (m *memLS) hold(n *memLSNode) { method unhold (line 222) | func (m *memLS) unhold(n *memLSNode) { method Create (line 232) | func (m *memLS) Create(now time.Time, details LockDetails) (string, er... method Refresh (line 252) | func (m *memLS) Refresh(now time.Time, token string, duration time.Dur... method Unlock (line 275) | func (m *memLS) Unlock(now time.Time, token string) error { method canCreate (line 291) | func (m *memLS) canCreate(name string, zeroDepth bool) bool { method create (line 315) | func (m *memLS) create(name string) (ret *memLSNode) { method remove (line 336) | func (m *memLS) remove(n *memLSNode) { function walkToRoot (line 352) | func walkToRoot(name string, f func(name0 string, first bool) bool) bool { type memLSNode (line 368) | type memLSNode struct type byExpiry (line 386) | type byExpiry method Len (line 388) | func (b *byExpiry) Len() int { method Less (line 392) | func (b *byExpiry) Less(i, j int) bool { method Swap (line 396) | func (b *byExpiry) Swap(i, j int) { method Push (line 402) | func (b *byExpiry) Push(x interface{}) { method Pop (line 408) | func (b *byExpiry) Pop() interface{} { constant infiniteTimeout (line 417) | infiniteTimeout = -1 function parseTimeout (line 421) | func parseTimeout(s string) (time.Duration, error) { FILE: server/webdav/lock_test.go function TestWalkToRoot (line 19) | func TestWalkToRoot(t *testing.T) { function lockTestZeroDepth (line 88) | func lockTestZeroDepth(name string) bool { function TestMemLSCanCreate (line 98) | func TestMemLSCanCreate(t *testing.T) { function TestMemLSLookup (line 158) | func TestMemLSLookup(t *testing.T) { function TestMemLSConfirm (line 207) | func TestMemLSConfirm(t *testing.T) { function TestMemLSNonCanonicalRoot (line 303) | func TestMemLSNonCanonicalRoot(t *testing.T) { function TestMemLSExpiry (line 324) | func TestMemLSExpiry(t *testing.T) { function TestMemLS (line 452) | func TestMemLS(t *testing.T) { method consistent (line 538) | func (m *memLS) consistent() error { function TestParseTimeout (line 640) | func TestParseTimeout(t *testing.T) { FILE: server/webdav/prop.go type Proppatch (line 26) | type Proppatch struct type Propstat (line 36) | type Propstat struct function makePropstats (line 60) | func makePropstats(x, y Propstat) []Propstat { type DeadPropsHolder (line 87) | type DeadPropsHolder interface function props (line 176) | func props(ctx context.Context, ls LockSystem, fi model.Obj, pnames []xm... function propnames (line 225) | func propnames(ctx context.Context, ls LockSystem, fi model.Obj) ([]xml.... function allprop (line 266) | func allprop(ctx context.Context, ls LockSystem, fi model.Obj, include [... function patch (line 286) | func patch(ctx context.Context, ls LockSystem, name string, patches []Pr... function escapeXML (line 351) | func escapeXML(s string) string { function findResourceType (line 371) | func findResourceType(ctx context.Context, ls LockSystem, name string, f... function findDisplayName (line 378) | func findDisplayName(ctx context.Context, ls LockSystem, name string, fi... function findContentLength (line 386) | func findContentLength(ctx context.Context, ls LockSystem, name string, ... function findLastModified (line 390) | func findLastModified(ctx context.Context, ls LockSystem, name string, f... function findCreationDate (line 393) | func findCreationDate(ctx context.Context, ls LockSystem, name string, f... type ContentTyper (line 413) | type ContentTyper interface function findContentType (line 422) | func findContentType(ctx context.Context, ls LockSystem, name string, fi... type ETager (line 461) | type ETager interface function findETag (line 471) | func findETag(ctx context.Context, ls LockSystem, name string, fi model.... function findSupportedLock (line 481) | func findSupportedLock(ctx context.Context, ls LockSystem, name string, ... function findChecksums (line 489) | func findChecksums(ctx context.Context, ls LockSystem, name string, fi m... FILE: server/webdav/util.go method getModTime (line 10) | func (h *Handler) getModTime(r *http.Request) time.Time { method getCreateTime (line 16) | func (h *Handler) getCreateTime(r *http.Request) time.Time { method getHeaderTime (line 20) | func (h *Handler) getHeaderTime(r *http.Request, header, alternative str... FILE: server/webdav/webdav.go type Handler (line 33) | type Handler struct method stripPrefix (line 43) | func (h *Handler) stripPrefix(p string) (string, int, error) { method ServeHTTP (line 53) | func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { method lock (line 106) | func (h *Handler) lock(now time.Time, root string) (token string, stat... method confirmLocks (line 121) | func (h *Handler) confirmLocks(r *http.Request, src, dst string) (rele... method handleOptions (line 194) | func (h *Handler) handleOptions(w http.ResponseWriter, r *http.Request... method handleGetHeadPost (line 221) | func (h *Handler) handleGetHeadPost(w http.ResponseWriter, r *http.Req... method handleDelete (line 284) | func (h *Handler) handleDelete(w http.ResponseWriter, r *http.Request)... method handlePut (line 319) | func (h *Handler) handlePut(w http.ResponseWriter, r *http.Request) (s... method handleMkcol (line 395) | func (h *Handler) handleMkcol(w http.ResponseWriter, r *http.Request) ... method handleCopyMove (line 440) | func (h *Handler) handleCopyMove(w http.ResponseWriter, r *http.Reques... method handleLock (line 524) | func (h *Handler) handleLock(w http.ResponseWriter, r *http.Request) (... method handleUnlock (line 624) | func (h *Handler) handleUnlock(w http.ResponseWriter, r *http.Request)... method handlePropfind (line 647) | func (h *Handler) handlePropfind(w http.ResponseWriter, r *http.Reques... method handleProppatch (line 722) | func (h *Handler) handleProppatch(w http.ResponseWriter, r *http.Reque... function makePropstatResponse (line 765) | func makePropstatResponse(href string, pstats []Propstat) *response { constant infiniteDepth (line 786) | infiniteDepth = -1 constant invalidDepth (line 787) | invalidDepth = -2 function parseDepth (line 800) | func parseDepth(s string) int { constant StatusMulti (line 814) | StatusMulti = 207 constant StatusUnprocessableEntity (line 815) | StatusUnprocessableEntity = 422 constant StatusLocked (line 816) | StatusLocked = 423 constant StatusFailedDependency (line 817) | StatusFailedDependency = 424 constant StatusInsufficientStorage (line 818) | StatusInsufficientStorage = 507 function StatusText (line 821) | func StatusText(code int) string { FILE: server/webdav/xml.go type lockInfo (line 39) | type lockInfo struct type owner (line 48) | type owner struct function readLockInfo (line 52) | func readLockInfo(r io.Reader) (li lockInfo, status int, err error) { type countingReader (line 73) | type countingReader struct method Read (line 78) | func (c *countingReader) Read(p []byte) (int, error) { function writeLockInfo (line 84) | func writeLockInfo(w io.Writer, token string, ld LockDetails) (int, erro... function escape (line 104) | func escape(s string) string { function next (line 121) | func next(d *ixml.Decoder) (ixml.Token, error) { type propfindProps (line 137) | type propfindProps method UnmarshalXML (line 143) | func (pn *propfindProps) UnmarshalXML(d *ixml.Decoder, start ixml.Star... type propfind (line 170) | type propfind struct function readPropfind (line 178) | func readPropfind(r io.Reader) (pf propfind, status int, err error) { type Property (line 209) | type Property struct type ixmlProperty (line 229) | type ixmlProperty struct type xmlError (line 237) | type xmlError struct type propstat (line 244) | type propstat struct method MarshalXML (line 262) | func (ps propstat) MarshalXML(e *ixml.Encoder, start ixml.StartElement... type ixmlPropstat (line 253) | type ixmlPropstat struct type response (line 291) | type response struct type multistatusWriter (line 309) | type multistatusWriter struct method write (line 328) | func (w *multistatusWriter) write(r *response) error { method writeHeader (line 351) | func (w *multistatusWriter) writeHeader() error { method close (line 378) | func (w *multistatusWriter) close() error { function xmlLang (line 405) | func xmlLang(s ixml.StartElement, d string) string { type xmlValue (line 414) | type xmlValue method UnmarshalXML (line 416) | func (v *xmlValue) UnmarshalXML(d *ixml.Decoder, start ixml.StartEleme... type proppatchProps (line 444) | type proppatchProps method UnmarshalXML (line 454) | func (ps *proppatchProps) UnmarshalXML(d *ixml.Decoder, start ixml.Sta... type setRemove (line 483) | type setRemove struct type propertyupdate (line 490) | type propertyupdate struct function readProppatch (line 496) | func readProppatch(r io.Reader) (patches []Proppatch, status int, err er... FILE: server/webdav/xml_test.go function TestReadLockInfo (line 22) | func TestReadLockInfo(t *testing.T) { function TestReadPropfind (line 138) | func TestReadPropfind(t *testing.T) { function TestMultistatusWriter (line 351) | func TestMultistatusWriter(t *testing.T) { function TestReadProppatch (line 607) | func TestReadProppatch(t *testing.T) { function TestUnmarshalXMLValue (line 728) | func TestUnmarshalXMLValue(t *testing.T) { type xmlNormalizer (line 820) | type xmlNormalizer struct method normalize (line 838) | func (n *xmlNormalizer) normalize(w io.Writer, r io.Reader) error { method equalXML (line 882) | func (n *xmlNormalizer) equalXML(a, b io.Reader) (bool, error) { type byName (line 896) | type byName method Len (line 898) | func (a byName) Len() int { return len(a) } method Swap (line 899) | func (a byName) Swap(i, j int) { a[i], a[j] = a[j], a[i] } method Less (line 900) | func (a byName) Less(i, j int) bool {