summaryrefslogtreecommitdiff
path: root/modules/caddytls/matchers.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-02-07 21:59:25 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2020-02-07 21:59:25 -0700
commitf7f6e371efcc6ddbbef56cd02c9e02fbcede033f (patch)
tree4da278ef960f1c488d7c579ba220e10fca2e49b0 /modules/caddytls/matchers.go
parentb8cf4d589773e918606a20cf51776ca3cfc1233c (diff)
tls: Slight adjustment to how DNS provider modules are loaded
We don't load the provider directly, because the lego provider types aren't designed for JSON configuration and they are not implemented as Caddy modules (there are some setup steps which a Provision call would need to do, but they do not have Provision methods, they have their own constructor functions that we have to wrap). Instead of loading the challenge providers directly, the modules are simple wrappers over the challenge providers, to facilitate the JSON config structure and to provide a consistent experience. This also lets us swap out the underlying challenge providers transparently if needed; it acts as a layer of abstraction.
Diffstat (limited to 'modules/caddytls/matchers.go')
0 files changed, 0 insertions, 0 deletions