Skip to content

Example not using dot notation in plugin.Call to go process #9

@hekaldama

Description

@hekaldama

I see in: https://github.com/natefinch/pie/blob/master/examples/python/master.go#L73 that we can pass a JSON-RPC to the plugin without dot notation like "add". Is it possible to do this to a pie provider? I can only get dot style working like the examples of 'Plugin.SayHi'.

My ultimate use case is to have a daemon that listens for docker events, gets some data from the docker daemon, then forwards that data onto plugins specified in a conf file. I would like to be able to call all the defined plugins with just 'start' instead of 'plugin.start' and I need the plugins to be able to be written in any language. Let me know if that doesn't make sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions