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.
|
package MinioUtil
|
|
|
|
import (
|
|
"dsSzxy/Utils/ConfigUtil"
|
|
"github.com/minio/minio-go/v6"
|
|
)
|
|
|
|
func GetMinioClient() (*minio.Client, error) {
|
|
minioClient, err := minio.New(ConfigUtil.MinioEndPoint, ConfigUtil.MinioAccessKeyId, ConfigUtil.MinioSecretAccessKey, false)
|
|
return minioClient, err
|
|
}
|