Documentation
¶
Index ¶
- func Delete(key string) error
- func Exists(key string) (bool, error)
- func Get(key string) (io.ReadCloser, error)
- func GetBytes(key string) ([]byte, error)
- func GetString(key string) (string, error)
- func GetToFile(key string, localPath string) error
- func Init()
- func Put(key string, r io.Reader) error
- func PutFromFile(key string, localPath string) error
- func Size(key string) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PutFromFile ¶
PutFromFile saves the file pointed to by the `localPath` to the oss key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.