Update to new etcd clientv3 version

This commit is contained in:
Tyler 2022-11-25 06:11:24 -05:00
parent 324d45b871
commit fe505d6188
3 changed files with 1236 additions and 85 deletions

View File

@ -3,8 +3,8 @@ package discovery
import ( import (
"context" "context"
"encoding/json" "encoding/json"
"github.com/coreos/etcd/clientv3"
"github.com/google/uuid" "github.com/google/uuid"
"go.etcd.io/etcd/client/v3"
"path" "path"
) )

15
go.mod
View File

@ -3,6 +3,17 @@ module meow.tf/go/service-discovery
go 1.15 go 1.15
require ( require (
github.com/coreos/etcd v3.3.13+incompatible github.com/coreos/etcd v3.3.27+incompatible
github.com/google/uuid v1.1.1 github.com/coreos/go-semver v0.3.0 // indirect
github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf // indirect
github.com/coreos/pkg v0.0.0-20220810130054-c7d1c02cb6cf // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/google/uuid v1.3.0
go.etcd.io/etcd/client/v3 v3.5.6 // indirect
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/multierr v1.8.0 // indirect
go.uber.org/zap v1.23.0 // indirect
golang.org/x/net v0.2.0 // indirect
google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6 // indirect
google.golang.org/grpc v1.51.0 // indirect
) )

1140
go.sum Normal file

File diff suppressed because it is too large Load Diff