local
This commit is contained in:
parent
2f86b5dd30
commit
4489f801ca
|
|
@ -16,5 +16,5 @@ type Storage interface {
|
||||||
Url(objectName string, expire time.Duration) string
|
Url(objectName string, expire time.Duration) string
|
||||||
Stat(objectName string) (*ObjectInfo, error)
|
Stat(objectName string) (*ObjectInfo, error)
|
||||||
List(objectPrefix string) ([]string, error)
|
List(objectPrefix string) ([]string, error)
|
||||||
Fetch(url, objectName string, local ...bool) error
|
Fetch(url, objectName string, local ...bool) error //local参数决定是否先下载到本地在上传,七牛云下载企业微信的文件需要不能直接下载
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue