@ -16,10 +16,11 @@ package rpcclient
import (
"context"
"net/url"
"github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials"
"google.golang.org/grpc"
"github.com/OpenIMSDK/protocol/third"
"github.com/OpenIMSDK/tools/discoveryregistry"
@ -24,6 +24,7 @@ import (
"github.com/OpenIMSDK/tools/component"
"github.com/OpenIMSDK/tools/errs"
"github.com/openimsdk/open-im-server/v3/pkg/common/config"
"gopkg.in/yaml.v3"
@ -305,4 +306,4 @@ func getMinioAddr(key1, key2, key3, fallback string) (string, error) {
endpoint = strings.Join(arr, ":")
}
return endpoint, nil