vod.go 559 字节
package constant

var (
	RegionID               = "cn-shanghai"
	AccessKeyID     string = "LTAI4FhiZ3UktC6N1u3H5GFC"
	AccessKeySecret string = "UyspWwdni55CYQ02hUCint4qY2jNYO"
	CName           string = "https://media.goexample.live/"
	RoleArn         string = "acs:ram::1777936936207896:role/ossclientsts" //"acs:ram::1373671070046453:role/role-oss-sts"
)

func init() {
	AccessKeyID = config.StringDefault("AccessKeyID", AccessKeyID)
	AccessKeySecret = config.StringDefault("AccessKeySecret", AccessKeySecret)
	CName = config.StringDefault("cname", CName)
}