Using golang plugin over net/rpc is basically the same as golang plugin over gRPC.
The only difference is that if you want to run the plugin in net/rpc mode, you need to set an environment variable HRP_PLUGIN_TYPE=rpc.
Set environment variable in shell:
$ export HRP_PLUGIN_TYPE=rpcOr in your golang code:
os.Setenv("HRP_PLUGIN_TYPE", "rpc")The complete log example can be found in the file hashicorp_rpc_go.log.