Skip to content
Nate Finch edited this page Jun 2, 2015 · 3 revisions
Does using RPC over stdio mean that every call to the plugin is blocking?

Not at all. The implementation of rpc.Server creates a goroutine for every request, so none of the calls are blocking. See the relevant line in the rpc package.

I never get a response from a plugin in Python/C++ etc

Some users have reported having trouble with the fact that Go's RPC message ids start at 0, and other libraries assume ids start at 1. This is a good place to start looking.