Skip to content

Commit

Permalink
example code [update]
Browse files Browse the repository at this point in the history
  • Loading branch information
Deeptiman committed Aug 3, 2021
1 parent 7aac117 commit 6c70b01
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions examples/grpc-ping-client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ func main() {
fmt.Println("Failed to create GRPC Connection - ", err.Error())
return
}
client.TestGetConn()

fmt.Println("GRPC Client Connected .... ")
conn, err := client.GetConn()
if err != nil {
return
}
fmt.Println("GRPC Client Connected State= ", conn.GetState().String())
}

0 comments on commit 6c70b01

Please sign in to comment.