jonmorehouse / gatekeeper

a pluggable http routing runtime
12 stars 1 forks source link

support for passing args into plugins #32

Closed jonmorehouse closed 8 years ago

jonmorehouse commented 8 years ago

I was thinking through this before and it almost seems like we'd want to be able to support passing arguments into plugins.

For instance, let's say I wanted to consolidate both the request and response plugins for my particular situation, then we'd want to be able to do something like ./foo response and ./foo request to start the plugins from the same binary?

Maybe in the future it makes sense to consolidate the request and response plugins?