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

Decoupled plugin example #20

Merged
merged 1 commit into from
Apr 19, 2017

Conversation

xiaoyao1991
Copy link
Contributor

Had some concern about coupling logics in #19, so I figured to have a try at a better plugin example too.
Basically, the greeter interface(as well as the rpc and plugin interface) are declared in the example package under common directory.
The actual implementation of Greeter is in plugin directory.
In this way, the main won't need to know which implementation the Greeter will be.

This PR addresses #11

@mitchellh mitchellh merged commit ed0b6e6 into hashicorp:master Apr 19, 2017
This was referenced Apr 19, 2017
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.

2 participants