I'm beginning with Traefik plugin creation and I don't know whenever I add a dependency in my middleware it can't find some functions and panics.
Note that I'm testing it with Traefik in a docker-compose
At first, I thought it was because of elasticsearch, but then I tried to rewrite my plugin so that it just does a hello-world using rsc.io/quote
and quote.Hello()
and it also crashes.
I don't know much about how traefik handle these, I just know that they have to be vendored because it runs with yaegi.
You can find my code at https://github.com/0xDagal/charon-passto. Do not judge please, I know it's crappy, but we have to start somewhere.