improve service registry for package ghttp/gclient

This commit is contained in:
John Guo
2022-01-27 18:12:39 +08:00
parent 3cb578488c
commit 3a658cdb85
26 changed files with 228 additions and 64 deletions

View File

@ -4,8 +4,8 @@ go 1.15
require (
github.com/gogf/gf/contrib/registry/etcd/v2 v2.0.0-rc2
github.com/gogf/gf/contrib/resolver/v2 v2.0.0-rc2
github.com/gogf/gf/contrib/balancer/v2 v2.0.0-rc2
github.com/gogf/gf/contrib/grpc/resolver/v2 v2.0.0-rc2
github.com/gogf/gf/contrib/grpc/balancer/v2 v2.0.0-rc2
github.com/gogf/gf/v2 v2.0.0-rc2
github.com/golang/protobuf v1.5.2
google.golang.org/grpc v1.43.0
@ -13,8 +13,8 @@ require (
)
replace (
github.com/gogf/gf/contrib/balancer/v2 => ../contrib/balancer/
github.com/gogf/gf/contrib/registry/etcd/v2 => ../contrib/registry/etcd/
github.com/gogf/gf/contrib/resolver/v2 => ../contrib/resolver/
github.com/gogf/gf/contrib/registry/etcd/v2 => ../contrib/registry/etcd/
github.com/gogf/gf/contrib/grpc/balancer/v2 => ../contrib/grpc/balancer/
github.com/gogf/gf/contrib/grpc/resolver/v2 => ../contrib/grpc/resolver/
github.com/gogf/gf/v2 => ../
)