We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Most of the time, users won't care what is the underlaying communication protocol. So, I propose:
func NewPlugin(path string, params ...string) *Plugin
To change the default communication protocol, expose:
func SetProto(proto string)
The API becomes clearer. E.g.:
p := pingo.NewPlugin("plugins/hello-world/hello-world")
The text was updated successfully, but these errors were encountered:
Agreed. This would also help implementing automatic switching of protocol.
Sorry, something went wrong.
Would be nice to use RPC over stdin/stdout too.
@kdar: I'll make a new issue for this.
No branches or pull requests
Most of the time, users won't care what is the underlaying communication protocol.
So, I propose:
To change the default communication protocol, expose:
The API becomes clearer. E.g.:
The text was updated successfully, but these errors were encountered: