MCPcopy Create free account

hub / github.com/cloudreve/cloudreve / functions

Functions11,486 in github.com/cloudreve/cloudreve

MethodGet
Get returns the Task by ID.
pkg/queue/registry.go:11
MethodGet
(id int)
pkg/queue/registry.go:40
MethodGet
(ctx context.Context, name string, defaultVal any)
pkg/setting/adapters.go:87
MethodGet
(ctx context.Context, name string, defaultVal any)
pkg/setting/adapters.go:104
MethodGet
(ctx context.Context, name string, defaultVal any)
pkg/setting/adapters.go:124
MethodGet
Get returns a node with the given capability and preferred node id. `allowed` is a list of allowed node ids. If `allowed` is empty, all nodes with the
pkg/cluster/pool.go:23
MethodGet
(ctx context.Context, capability types.NodeCapability, preferred int)
pkg/cluster/pool.go:88
MethodGet
(ctx context.Context, capability types.NodeCapability, preferred int)
pkg/cluster/pool.go:201
MethodGet
(ctx context.Context, name string)
inventory/setting.go:51
MethodGetActiveByDavAccount
(ctx context.Context, email, pwd string)
inventory/user.go:367
FunctionGetAppRegistration
(c *gin.Context)
routers/controllers/oauth.go:9
MethodGetByGUID
(ctx context.Context, guid string)
inventory/oauth_client.go:82
MethodGetByGUIDWithGrants
(ctx context.Context, guid string, uid int)
inventory/oauth_client.go:88
MethodGetByGroup
(ctx context.Context, group *ent.Group)
inventory/policy.go:145
MethodGetByHashID
(ctx context.Context, hashID string)
inventory/file.go:400
MethodGetByHashID
GetByHashID returns the share with given hash id.
inventory/share.go:43
MethodGetByHashID
(ctx context.Context, idRaw string)
inventory/share.go:157
MethodGetByID
GetByID get direct link by id
inventory/direct_link.go:19
MethodGetByID
(ctx context.Context, id int)
inventory/direct_link.go:48
MethodGetByID
(ctx context.Context, ids int)
inventory/file.go:1131
MethodGetByID
GetByID returns the share with given id.
inventory/share.go:39
MethodGetByID
GetByID returns the OAuth client by its ID.
inventory/oauth_client.go:35
MethodGetByID
(ctx context.Context, id int)
inventory/oauth_client.go:188
MethodGetByID
GetByID returns the group by id.
inventory/group.go:30
MethodGetByID
(ctx context.Context, id int)
inventory/group.go:154
MethodGetByID
GetByID get user by its ID, user status is ignored.
inventory/user.go:55
MethodGetByID
(ctx context.Context, id int)
inventory/user.go:354
MethodGetByIDAndUserID
(ctx context.Context, id, userID int)
inventory/dav_account.go:80
MethodGetByIDUser
(ctx context.Context, id, uid int)
inventory/share.go:175
MethodGetByIDs
(ctx context.Context, ids []int, page int)
inventory/file.go:1135
MethodGetByIDs
GetByIDs returns the shares with given ids.
inventory/share.go:37
MethodGetByIDs
(ctx context.Context, ids []int)
inventory/share.go:186
MethodGetByNameID
(ctx context.Context, id int, name string)
inventory/direct_link.go:53
MethodGetChildFile
(ctx context.Context, root *ent.File, ownerID int, child string, eagerLoading bool)
inventory/file.go:1016
MethodGetChildFiles
(ctx context.Context, args *ListFileParameters, ownerID int, roots ...*ent.File)
inventory/file.go:1026
MethodGetClient
()
inventory/direct_link.go:44
MethodGetClient
()
inventory/file.go:255
MethodGetClient
()
inventory/share.go:103
MethodGetClient
()
inventory/node.go:51
MethodGetClient
()
inventory/dav_account.go:65
MethodGetClient
()
inventory/oauth_client.go:78
MethodGetClient
()
inventory/group.go:63
MethodGetClient
GetClient gets the client for the setting client
inventory/setting.go:47
MethodGetClient
()
inventory/task.go:87
MethodGetClient
()
inventory/policy.go:72
MethodGetClient
()
inventory/fs_event.go:39
MethodGetClient
()
inventory/user.go:174
MethodGetDirectLink
(ctx context.Context, urls ...*fs.URI)
pkg/filemanager/manager/entity.go:60
MethodGetEntitiesByIDs
(ctx context.Context, ids []int, page int)
inventory/file.go:1109
MethodGetEntity
(ctx context.Context, entityID int)
pkg/filemanager/fs/dbfs/dbfs.go:93
MethodGetEntityByID
(ctx context.Context, id int)
inventory/file.go:1127
MethodGetEntityUrls
(ctx context.Context, args []GetEntityUrlArgs, opts ...fs.Option)
pkg/filemanager/manager/entity.go:205
FunctionGetFile
GetFile Get file content
routers/controllers/wopi.go:25
MethodGetFileFromDirectLink
(ctx context.Context, dl *ent.DirectLink)
pkg/filemanager/fs/dbfs/manage.go:685
FunctionGetFileInfo
GetFileInfo gets file info
routers/controllers/file.go:379
MethodGetFiles
(gid string)
pkg/downloader/aria2/rpc/proto.go:18
MethodGetFiles
`aria2.getFiles([secret, ]gid)` This method returns the file list of the download denoted by gid (string). The response is an array of structs which c
pkg/downloader/aria2/rpc/client.go:288
MethodGetGlobalOption
()
pkg/downloader/aria2/rpc/proto.go:28
MethodGetGlobalOption
`aria2.getGlobalOption([secret])` This method returns the global options. The response is a struct. Its keys are the names of options. Values are stri
pkg/downloader/aria2/rpc/client.go:489
MethodGetGlobalStat
()
pkg/downloader/aria2/rpc/proto.go:30
MethodGetGlobalStat
`aria2.getGlobalStat([secret])` This method returns global statistics such as the overall download and upload speeds. The response is a struct and con
pkg/downloader/aria2/rpc/client.go:541
MethodGetGrantsByUserID
(ctx context.Context, userID int)
inventory/oauth_client.go:121
MethodGetLoginUserByID
(ctx context.Context, uid int)
inventory/user.go:380
MethodGetMasterKey
(ctx context.Context)
pkg/filemanager/encrypt/masterkey.go:43
MethodGetMasterKey
(ctx context.Context)
pkg/filemanager/encrypt/masterkey.go:60
MethodGetMasterKey
(ctx context.Context)
pkg/filemanager/encrypt/masterkey.go:89
MethodGetName
()
pkg/webdav/prop.go:176
MethodGetName
()
application/migrator/model/dialects/dialect_sqlite.go:25
MethodGetName
()
application/migrator/model/dialects/dialect_sqlite.go:199
MethodGetNodeById
(ctx context.Context, id int)
inventory/node.go:67
MethodGetNodeByIds
(ctx context.Context, ids []int)
inventory/node.go:63
MethodGetNodeSetting
GetNodeSetting implements SlaveNodeSettingGetter interface
pkg/downloader/slave/slave.go:235
MethodGetNodeSetting
GetNodeSetting implements SlaveNodeSettingGetter interface
pkg/downloader/slave/slave.go:240
MethodGetNodeSetting
GetNodeSetting implements SlaveNodeSettingGetter interface
pkg/downloader/slave/slave.go:245
MethodGetNodeSetting
GetNodeSetting implements SlaveNodeSettingGetter interface
pkg/downloader/slave/slave.go:250
MethodGetNodeSetting
GetNodeSetting implements SlaveNodeSettingGetter interface
pkg/downloader/slave/slave.go:255
MethodGetOption
(gid string)
pkg/downloader/aria2/rpc/proto.go:26
MethodGetOption
`aria2.getOption([secret, ]gid)` This method returns options of the download denoted by gid. The response is a struct where keys are the names of opti
pkg/downloader/aria2/rpc/client.go:447
MethodGetParentFile
(ctx context.Context, root *ent.File, eagerLoading bool)
inventory/file.go:998
MethodGetPeers
(gid string)
pkg/downloader/aria2/rpc/proto.go:19
MethodGetPeers
`aria2.getPeers([secret, ]gid)` This method returns a list peers of the download denoted by gid (string). This method is for BitTorrent only. The resp
pkg/downloader/aria2/rpc/client.go:303
MethodGetPendingTasks
(ctx context.Context, taskType ...string)
inventory/task.go:165
MethodGetPolicyByID
GetPolicyByID returns the storage policy by id.
inventory/policy.go:158
MethodGetPosition
()
pkg/webdav/prop.go:179
MethodGetServers
(gid string)
pkg/downloader/aria2/rpc/proto.go:20
MethodGetServers
`aria2.getServers([secret, ]gid)` This method returns currently connected HTTP(S)/FTP/SFTP servers of the download denoted by gid (string). The respon
pkg/downloader/aria2/rpc/client.go:317
MethodGetSessionInfo
()
pkg/downloader/aria2/rpc/proto.go:34
MethodGetSessionInfo
`aria2.getSessionInfo([secret])` This method returns session information. The response is a struct and contains following key. sessionId Session
pkg/downloader/aria2/rpc/client.go:595
FunctionGetShare
GetShare 查看分享
routers/controllers/share.go:36
MethodGetSiteIDByURL
GetSiteIDByURL 通过 SharePoint 站点 URL 获取站点ID
pkg/filemanager/driver/onedrive/api.go:188
MethodGetSize
GetSize 获取图像尺寸
pkg/thumb/builtin.go:87
MethodGetSize
()
pkg/webdav/prop.go:175
FunctionGetSource
GetSource 获取文件的外链地址
routers/controllers/file.go:116
MethodGetSourcePath
GetSourcePath 获取文件的绝对路径
pkg/filemanager/driver/onedrive/api.go:35
MethodGetSubscribers
(ctx context.Context, topic int)
pkg/filemanager/eventhub/eventhub.go:104
MethodGetTask
(ctx context.Context, id int, clearOnComplete bool)
pkg/cluster/node.go:286
MethodGetTask
(ctx context.Context, id int, clearOnComplete bool)
pkg/cluster/node.go:365
MethodGetTaskByID
(ctx context.Context, taskID int)
inventory/task.go:189
FunctionGetTaskPhaseProgress
(c *gin.Context)
routers/controllers/workflow.go:27
MethodGetThumbURL
GetThumbURL 获取给定尺寸的缩略图URL
pkg/filemanager/driver/onedrive/api.go:432
← previousnext →6,801–6,900 of 11,486, ranked by callers