diff options
author | Mohammed Al Sahaf <msaa1990@gmail.com> | 2020-03-22 01:49:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-21 16:49:10 -0600 |
commit | 37093befd59107316d422fcd3cc011b2481cd2cf (patch) | |
tree | 2a55429f8f90b75874933192b19b71639c761a69 /modules/caddyhttp/reverseproxy/hosts.go | |
parent | d692d503a3d327d54c82bceab48bb1de07bb3c3d (diff) |
caddyconfig: register adapters as Caddy modules (#3132)
* admin: Refactor /load endpoint out of caddy package
This eliminates the caddy package's dependency on the caddyconfig
package, which helps prevent import cycles.
* v2: adapter: register config adapters as Caddy modules
* v2: adapter: simplify adapter registration as adapters and modules
* v2: adapter: let RegisterAdapter be in charge of registering adapters as modules
* v2: adapter: remove underscrores placeholders
* v2: adapter: explicitly ignore the error of writing response of writing warnings back to client
* Implicitly wrap config adapters as modules
Co-authored-by: Matthew Holt <mholt@users.noreply.github.com>
Diffstat (limited to 'modules/caddyhttp/reverseproxy/hosts.go')
0 files changed, 0 insertions, 0 deletions