pingo
pingo copied to clipboard
Plugins for Go
Set the default rpc port Current the default rpc server port is starting from 1024. Added one parameter in Register method, client can modify the value to different value
Apart from Unix sockets and TCP, plugins should be able to use stdio for RPC. One major advantage is security. See what the limitations are and how to approach this...
Most of the time, users won't care what is the underlaying communication protocol. So, I propose: ``` Go func NewPlugin(path string, params ...string) *Plugin ``` To change the default communication...