Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudreve/cloudreve
/ functions
Functions
11,486 in github.com/cloudreve/cloudreve
⨍
Functions
11,486
◇
Types & classes
1,532
Method
Get
Get returns the Task by ID.
pkg/queue/registry.go:11
Method
Get
(id int)
pkg/queue/registry.go:40
Method
Get
(ctx context.Context, name string, defaultVal any)
pkg/setting/adapters.go:87
Method
Get
(ctx context.Context, name string, defaultVal any)
pkg/setting/adapters.go:104
Method
Get
(ctx context.Context, name string, defaultVal any)
pkg/setting/adapters.go:124
Method
Get
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
Method
Get
(ctx context.Context, capability types.NodeCapability, preferred int)
pkg/cluster/pool.go:88
Method
Get
(ctx context.Context, capability types.NodeCapability, preferred int)
pkg/cluster/pool.go:201
Method
Get
(ctx context.Context, name string)
inventory/setting.go:51
Method
GetActiveByDavAccount
(ctx context.Context, email, pwd string)
inventory/user.go:367
Function
GetAppRegistration
(c *gin.Context)
routers/controllers/oauth.go:9
Method
GetByGUID
(ctx context.Context, guid string)
inventory/oauth_client.go:82
Method
GetByGUIDWithGrants
(ctx context.Context, guid string, uid int)
inventory/oauth_client.go:88
Method
GetByGroup
(ctx context.Context, group *ent.Group)
inventory/policy.go:145
Method
GetByHashID
(ctx context.Context, hashID string)
inventory/file.go:400
Method
GetByHashID
GetByHashID returns the share with given hash id.
inventory/share.go:43
Method
GetByHashID
(ctx context.Context, idRaw string)
inventory/share.go:157
Method
GetByID
GetByID get direct link by id
inventory/direct_link.go:19
Method
GetByID
(ctx context.Context, id int)
inventory/direct_link.go:48
Method
GetByID
(ctx context.Context, ids int)
inventory/file.go:1131
Method
GetByID
GetByID returns the share with given id.
inventory/share.go:39
Method
GetByID
GetByID returns the OAuth client by its ID.
inventory/oauth_client.go:35
Method
GetByID
(ctx context.Context, id int)
inventory/oauth_client.go:188
Method
GetByID
GetByID returns the group by id.
inventory/group.go:30
Method
GetByID
(ctx context.Context, id int)
inventory/group.go:154
Method
GetByID
GetByID get user by its ID, user status is ignored.
inventory/user.go:55
Method
GetByID
(ctx context.Context, id int)
inventory/user.go:354
Method
GetByIDAndUserID
(ctx context.Context, id, userID int)
inventory/dav_account.go:80
Method
GetByIDUser
(ctx context.Context, id, uid int)
inventory/share.go:175
Method
GetByIDs
(ctx context.Context, ids []int, page int)
inventory/file.go:1135
Method
GetByIDs
GetByIDs returns the shares with given ids.
inventory/share.go:37
Method
GetByIDs
(ctx context.Context, ids []int)
inventory/share.go:186
Method
GetByNameID
(ctx context.Context, id int, name string)
inventory/direct_link.go:53
Method
GetChildFile
(ctx context.Context, root *ent.File, ownerID int, child string, eagerLoading bool)
inventory/file.go:1016
Method
GetChildFiles
(ctx context.Context, args *ListFileParameters, ownerID int, roots ...*ent.File)
inventory/file.go:1026
Method
GetClient
()
inventory/direct_link.go:44
Method
GetClient
()
inventory/file.go:255
Method
GetClient
()
inventory/share.go:103
Method
GetClient
()
inventory/node.go:51
Method
GetClient
()
inventory/dav_account.go:65
Method
GetClient
()
inventory/oauth_client.go:78
Method
GetClient
()
inventory/group.go:63
Method
GetClient
GetClient gets the client for the setting client
inventory/setting.go:47
Method
GetClient
()
inventory/task.go:87
Method
GetClient
()
inventory/policy.go:72
Method
GetClient
()
inventory/fs_event.go:39
Method
GetClient
()
inventory/user.go:174
Method
GetDirectLink
(ctx context.Context, urls ...*fs.URI)
pkg/filemanager/manager/entity.go:60
Method
GetEntitiesByIDs
(ctx context.Context, ids []int, page int)
inventory/file.go:1109
Method
GetEntity
(ctx context.Context, entityID int)
pkg/filemanager/fs/dbfs/dbfs.go:93
Method
GetEntityByID
(ctx context.Context, id int)
inventory/file.go:1127
Method
GetEntityUrls
(ctx context.Context, args []GetEntityUrlArgs, opts ...fs.Option)
pkg/filemanager/manager/entity.go:205
Function
GetFile
GetFile Get file content
routers/controllers/wopi.go:25
Method
GetFileFromDirectLink
(ctx context.Context, dl *ent.DirectLink)
pkg/filemanager/fs/dbfs/manage.go:685
Function
GetFileInfo
GetFileInfo gets file info
routers/controllers/file.go:379
Method
GetFiles
(gid string)
pkg/downloader/aria2/rpc/proto.go:18
Method
GetFiles
`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
Method
GetGlobalOption
()
pkg/downloader/aria2/rpc/proto.go:28
Method
GetGlobalOption
`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
Method
GetGlobalStat
()
pkg/downloader/aria2/rpc/proto.go:30
Method
GetGlobalStat
`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
Method
GetGrantsByUserID
(ctx context.Context, userID int)
inventory/oauth_client.go:121
Method
GetLoginUserByID
(ctx context.Context, uid int)
inventory/user.go:380
Method
GetMasterKey
(ctx context.Context)
pkg/filemanager/encrypt/masterkey.go:43
Method
GetMasterKey
(ctx context.Context)
pkg/filemanager/encrypt/masterkey.go:60
Method
GetMasterKey
(ctx context.Context)
pkg/filemanager/encrypt/masterkey.go:89
Method
GetName
()
pkg/webdav/prop.go:176
Method
GetName
()
application/migrator/model/dialects/dialect_sqlite.go:25
Method
GetName
()
application/migrator/model/dialects/dialect_sqlite.go:199
Method
GetNodeById
(ctx context.Context, id int)
inventory/node.go:67
Method
GetNodeByIds
(ctx context.Context, ids []int)
inventory/node.go:63
Method
GetNodeSetting
GetNodeSetting implements SlaveNodeSettingGetter interface
pkg/downloader/slave/slave.go:235
Method
GetNodeSetting
GetNodeSetting implements SlaveNodeSettingGetter interface
pkg/downloader/slave/slave.go:240
Method
GetNodeSetting
GetNodeSetting implements SlaveNodeSettingGetter interface
pkg/downloader/slave/slave.go:245
Method
GetNodeSetting
GetNodeSetting implements SlaveNodeSettingGetter interface
pkg/downloader/slave/slave.go:250
Method
GetNodeSetting
GetNodeSetting implements SlaveNodeSettingGetter interface
pkg/downloader/slave/slave.go:255
Method
GetOption
(gid string)
pkg/downloader/aria2/rpc/proto.go:26
Method
GetOption
`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
Method
GetParentFile
(ctx context.Context, root *ent.File, eagerLoading bool)
inventory/file.go:998
Method
GetPeers
(gid string)
pkg/downloader/aria2/rpc/proto.go:19
Method
GetPeers
`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
Method
GetPendingTasks
(ctx context.Context, taskType ...string)
inventory/task.go:165
Method
GetPolicyByID
GetPolicyByID returns the storage policy by id.
inventory/policy.go:158
Method
GetPosition
()
pkg/webdav/prop.go:179
Method
GetServers
(gid string)
pkg/downloader/aria2/rpc/proto.go:20
Method
GetServers
`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
Method
GetSessionInfo
()
pkg/downloader/aria2/rpc/proto.go:34
Method
GetSessionInfo
`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
Function
GetShare
GetShare 查看分享
routers/controllers/share.go:36
Method
GetSiteIDByURL
GetSiteIDByURL 通过 SharePoint 站点 URL 获取站点ID
pkg/filemanager/driver/onedrive/api.go:188
Method
GetSize
GetSize 获取图像尺寸
pkg/thumb/builtin.go:87
Method
GetSize
()
pkg/webdav/prop.go:175
Function
GetSource
GetSource 获取文件的外链地址
routers/controllers/file.go:116
Method
GetSourcePath
GetSourcePath 获取文件的绝对路径
pkg/filemanager/driver/onedrive/api.go:35
Method
GetSubscribers
(ctx context.Context, topic int)
pkg/filemanager/eventhub/eventhub.go:104
Method
GetTask
(ctx context.Context, id int, clearOnComplete bool)
pkg/cluster/node.go:286
Method
GetTask
(ctx context.Context, id int, clearOnComplete bool)
pkg/cluster/node.go:365
Method
GetTaskByID
(ctx context.Context, taskID int)
inventory/task.go:189
Function
GetTaskPhaseProgress
(c *gin.Context)
routers/controllers/workflow.go:27
Method
GetThumbURL
GetThumbURL 获取给定尺寸的缩略图URL
pkg/filemanager/driver/onedrive/api.go:432
← previous
next →
6,801–6,900 of 11,486, ranked by callers