Support of custom middleware


I have a use case where I need to decide where to route my request based on the result of an api.

I wanted to do a custom middleware to do that, but as I understand there is no way to integrate a custom middleware without to build my own version of traefik.

Do you have some inputs on how to do that?

Thanks guys

I my case i built own version of Traefik with
But it seems to me that they are preparing to present their decision with Yeagi