github.com/annwntech/go-micro/v2@v2.9.5/client/grpc/README.md (about) 1 # GRPC Client 2 3 The grpc client is a [micro.Client](https://godoc.org/github.com/micro/go-micro/client#Client) compatible client. 4 5 ## Overview 6 7 The client makes use of the [google.golang.org/grpc](google.golang.org/grpc) framework for the underlying communication mechanism. 8 9 ## Usage 10 11 Specify the client to your micro service 12 13 ```go 14 import ( 15 "github.com/micro/go-micro" 16 "github.com/micro/go-plugins/client/grpc" 17 ) 18 19 func main() { 20 service := micro.NewService( 21 micro.Name("greeter"), 22 micro.Client(grpc.NewClient()), 23 ) 24 } 25 ```