grpc / grpc-go

The Go language implementation of gRPC. HTTP/2 based RPC

Home Page:https://grpc.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Catching grpc connection configuration errors at startup

leefernandes opened this issue · comments

Please demonstrate or explain the recommended pattern for catching ClientConn configuration errors (such as incorrect target value) at startup time of an application. A simple check that the server can be reached given the target and dial options.

Would it be recommended to use the health/grpc_health_v1 package, ClientConn Connect, or another approach?