Versions in this module Expand all Collapse all v0 v0.0.2 Feb 24, 2022 Changes in this version + type File struct + func NewFile() *File + func (f *File) UploadWithContent(name string, content []byte, option *Option) (*UploadResult, error) + func (f *File) UploadWithPath(name string, filePath string, option *Option) (*UploadResult, error) + func (f *File) UploadWithURL(name string, targetUrl string, option *Option) (*UploadResult, error) + type Option struct + Region string + Type string + type UploadResult struct + ID primitive.ObjectID + URL string