oss.go 555 字节
package aliyun

import (
	"github.com/astaxie/beego"
)

/*
AK  AccessKey 完全访问权限
STS (Security Token Service)  临时访问控制
*/

var (
	Endpoint   string = beego.AppConfig.String("end_point")
	BucketName string = beego.AppConfig.String("bucket_name")
	//BucketNameCdn string = beego.AppConfig.String("bucket_name_cdn")
	//EndpointCdn   string = beego.AppConfig.String("end_point_cdn")
)

//type OssSts struct{
//
//}

//func NewSTS(){
//	client,_ :=oos.NewClientWithAccessKey(RegionID,AccessKeyID,AccessKeySecret)
//	client.DoAction()
//}