oss

package
v0.0.0-...-af25c26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const OssURL = "http://cijiantest01.oss-us-east-1.aliyuncs.com/"

OssURL is the base url of oss

Variables

This section is empty.

Functions

func ExampleDecodeConfig

func ExampleDecodeConfig()

ExampleDecodeConfig ssss

func GetObject

func GetObject()

GetObject download a file from aliyun oss

func PutImageResize

func PutImageResize(icon string, imageType string) (bool, string)

PutImageResize upload all files to aliyun oss after resize and crops

func PutObject

func PutObject(icon string) (bool, string)

PutObject upload all files to aliyun oss

func PutObjectFromFile

func PutObjectFromFile(fileID string, fileType string, fileName string)

PutObjectFromFile upload all files to aliyun oss

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL