caddyserver/xcaddy

Can I write plug-ins for caddy in other programming languages? And compile the plug-in into bytecode or dynamic link libraries?

masx200 opened this issue · 2 comments

Can I write plug-ins for caddy in other programming languages? And compile the plug-in into bytecode or dynamic link libraries?

This allows the plug-in to be loaded and used at run time without recompiling the caddy source code.

No, we don't have a way to load in shared libraries currently. I'm not sure that's viable anyway.

The good news is you could likely write a simple plugin in Go that calls out to whatever program you write in another language.