| 1234567891011121314 |
- package oss
- import "io"
- type UploadConf struct {
- Overwrite bool
- }
- type IOss interface {
- UploadFile(absPath string, key string, conf *UploadConf) (string, error)
- Upload(reader io.Reader, len int64, key string, conf *UploadConf) (string, error)
- Delete(key string) error
- Exists(key string) bool
- }
|