Any blog post about writing a simple go net/rpc client to connect dgraph?


(Saeed Madadi) #1

I am trying to learn golang net/rpc package and I like to know if it is possible to write a simple net/rpc client to connect to dgraph and save/fetch data from it. please help me. thanks.


(Daniel Mai) #2

Dgraph exposes communication over gRPC (and HTTP). net/rpc is different and is not supported with Dgraph.

There are a number of gRPC and HTTP clients in various programming languages in Dgraph. e.g., you can use dgo to connect to Dgraph from Go.