mirror of
https://github.com/cloudreve/Cloudreve.git
synced 2026-11-17 22:58:07 +00:00
Feat: send remote uploading callback
This commit is contained in:
1 parent
5b9de0e097
commit
64342fa88d
11 files changed
+405
-13
No files matched your search
@@ -28,6 +28,13 @@ type UploadSession struct {
|
||||
VirtualPath string
|
||||
}
|
||||
|
||||
// UploadCallback 远程存储策略上传回调正文
|
||||
type UploadCallback struct {
|
||||
Name string `json:"name"`
|
||||
SourceName string `json:"source_name"`
|
||||
PicInfo string `json:"pic_info"`
|
||||
}
|
||||
|
||||
func init() {
|
||||
gob.Register(UploadSession{})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user