Extending your API gateway without forking it

TL;DR AI
2 min readKey summary
KrakenD uses a modifier registration approach with a ModifierRegisterer symbol and a RegisterModifiers function.
Kono uses a plugin model where a Go file implements Info(), Type(), Init(), and Execute().
Kono plugins receive a Context that gives direct access to http.Request and http.Response without wrappers.
KrakenD requires copying RequestWrapper and ResponseWrapper interface definitions into plugins and uses interface{} to avoid dependency collisions; wiring happens via extra_config in JSON.
Examples: Kono’s snakeify plugin (~100 lines) converts JSON keys to snake_case, and both examples show middleware using standard Go http.Handler wrapping.
