Hi,
I am trying to establish Dgraph connection using gRPC client, even though the Port is wrong its not throwing an error
How to check the connection whether the connection is established sucessfully and how to do health checks for the connection
Point me to the documentation if any
Thank you
func newClient() *dgo.Dgraph {
// Dial a gRPC connection. The address to dial to can be configured when
// setting up the dgraph cluster.
d, err := grpc.Dial("localhost:9080", grpc.WithInsecure())
if err != nil {
log.Fatal(err)
}
return dgo.NewDgraphClient(
api.NewDgraphClient(d),
)
}