update etcd to v3.5.2 (#206)

Co-authored-by: lizhanbin <lizhanbin@52tt.com>
This commit is contained in:
yiippee
2022-04-28 21:09:43 +08:00
committed by Xinwei Xiong(cubxxw-openim)
parent a090ecb8ac
commit 4987f8b80c
4 changed files with 60 additions and 242 deletions
+4 -2
View File
@@ -1,14 +1,16 @@
package getcdv3
import (
"Open_IM/pkg/common/log"
"context"
"fmt"
"go.etcd.io/etcd/clientv3"
"net"
"strconv"
"strings"
"time"
clientv3 "go.etcd.io/etcd/client/v3"
"Open_IM/pkg/common/log"
)
type RegEtcd struct {
+6 -6
View File
@@ -3,15 +3,15 @@ package getcdv3
import (
"context"
"fmt"
"go.etcd.io/etcd/clientv3"
"go.etcd.io/etcd/mvcc/mvccpb"
//"google.golang.org/genproto/googleapis/ads/googleads/v1/services"
"google.golang.org/grpc"
"google.golang.org/grpc/balancer/roundrobin"
"google.golang.org/grpc/resolver"
"strings"
"sync"
"time"
"go.etcd.io/etcd/api/v3/mvccpb"
clientv3 "go.etcd.io/etcd/client/v3"
"google.golang.org/grpc"
"google.golang.org/grpc/balancer/roundrobin"
"google.golang.org/grpc/resolver"
)
type Resolver struct {