Documentation ¶
Index ¶
- func Client() *oss.Client
- func ContentType(value string) *uploader
- func Init(conf Config)
- func New(conf Config) (*uploader, error)
- func Options(opts ...oss.Option) *uploader
- func Upload(filename string, r io.Reader) (string, error)
- func UploadFile(filename, filepath string) (string, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContentType ¶
func ContentType(value string) *uploader
func UploadFile ¶ added in v1.1.135
Types ¶
Click to show internal directories.
Click to hide internal directories.