Skip to content
New issue

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

plugin: add a daemon plugin with access to the CoreAPI #5955

Merged
merged 4 commits into from
Jan 30, 2019

Conversation

Stebalien
Copy link
Member

fixes #5954

plugin/loader/loader.go Show resolved Hide resolved

(experimental)

Tracer plugins allow injecting an opentracing backend into go-ipfs.
Copy link
Member

@magik6k magik6k Jan 30, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Afaik there is a repo with this plugin somewhere, would be nice to have a link

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linked.

There's no reason for these to be exclusive.

License: MIT
Signed-off-by: Steven Allen <[email protected]>
This allows users to run multiple go-ipfs "clients" in-process.

License: MIT
Signed-off-by: Steven Allen <[email protected]>
License: MIT
Signed-off-by: Steven Allen <[email protected]>
License: MIT
Signed-off-by: Steven Allen <[email protected]>
@Stebalien Stebalien merged commit fd51d4c into master Jan 30, 2019
@ghost ghost removed the status/in-progress In progress label Jan 30, 2019
@Stebalien Stebalien deleted the feat/core-plugin branch January 30, 2019 23:13
if err != nil {
closePlugins(loader.plugins[i:])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is a bug. It should read loader.plugins[:i] as all plugins before i have been started not those after i.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be the case, do you mind sending a PR?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll send a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Generic" Plugin type(feature)?
3 participants