Feat: send remote uploading callback

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

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{})
}