We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aac117 commit 6c70b01Copy full SHA for 6c70b01
examples/grpc-ping-client/client.go
@@ -12,7 +12,9 @@ func main() {
12
fmt.Println("Failed to create GRPC Connection - ", err.Error())
13
return
14
}
15
- client.TestGetConn()
16
-
17
- fmt.Println("GRPC Client Connected .... ")
+ conn, err := client.GetConn()
+ if err != nil {
+ return
18
+ }
19
+ fmt.Println("GRPC Client Connected State= ", conn.GetState().String())
20
0 commit comments