You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
293 B

package ObsUtil
import (
"dsSzxy/Utils/ConfigUtil"
"dsSzxy/Utils/ObsUtil/obs"
)
func GetObsClient() (*obs.ObsClient, error) {
// 创建ObsClient结构体
obsClient, err := obs.New(ConfigUtil.ObsAccessKeyId, ConfigUtil.ObsSecretAccessKey, ConfigUtil.ObsEndPoint)
return obsClient, err
}