Import direct resovler for grpc client (#913)

pull/919/head
Jason C.H 4 years ago committed by GitHub
parent 6791cd665b
commit e7926b989d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      transport/grpc/client.go

@ -9,6 +9,7 @@ import (
"github.com/go-kratos/kratos/v2/registry"
"github.com/go-kratos/kratos/v2/transport"
"github.com/go-kratos/kratos/v2/transport/grpc/resolver/discovery"
_ "github.com/go-kratos/kratos/v2/transport/grpc/resolver/direct"
"google.golang.org/grpc"
"google.golang.org/grpc/balancer/roundrobin"

Loading…
Cancel
Save