mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: download file and get file downloading session
This commit is contained in:
@@ -32,6 +32,8 @@ type Handler interface {
|
||||
Thumb(ctx context.Context, path string) (*response.ContentResponse, error)
|
||||
// 获取外链地址,url
|
||||
Source(ctx context.Context, path string, url url.URL, expires int64) (string, error)
|
||||
//获取下载地址
|
||||
GetDownloadURL(ctx context.Context, path string, url url.URL, expires int64) (string, error)
|
||||
}
|
||||
|
||||
// FileSystem 管理文件的文件系统
|
||||
|
||||
Reference in New Issue
Block a user