Feat: send remote uploading callback

This commit is contained in:
HFO4 committed 2019-12-29 17:04:08 +08:00
1 parent 5b9de0e097
commit 64342fa88d
11 files changed
+405 -13

No files matched your search

+7
View File
@@ -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{})
}