3 ms·
> Keep in mind that modifying the source is required to plug in any plugins, which people tend not to want to bother with. I've only ever used Caddy without pl
by unkown-unknowns 9y ago
> Keep in mind that modifying the source is required to plug in any plugins, which people tend not to want to bother with.
I've only ever used Caddy without plugins, so I'm not familiar with how it works but do you mean that plugins in general must be enabled or that the specific set of plugins I want must be compiled in? If the latter then I think they are not so much plugins as some kind of extension.
Please clarify, thanks.
- mholt 9y agoIt involves adding an import, and the plugin registers itself. Extension/plugin/addon -- call them what you will, I guess. We chose the term "plugin" before Go 1.8 had its experimental plugin package that, on Linux, allows dynamic linking of libraries. (There are a lot of limitations with that, for now.) In Caddy, all plugins are statically linked and compiled in.