1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
caddy/caddyconfig
Matthew Holt ec456811bb
core: Don't return error on RegisterModule() and RegisterAdapter()
These functions are called at init-time, and their inputs are hard-coded
so there are no environmental or user factors that could make it fail
or succeed; the error return values are often ignored, and when they're
not, they are usually a fatal error anyway. To ensure that a programmer
mistake is not missed, we now panic instead.

Last breaking change 🤞
2020-04-13 09:48:54 -06:00
..
caddyfile tests: Remove noisy logs 2020-04-06 10:41:42 -06:00
httpcaddyfile tests: Clean up redundant type declarations 2020-04-10 08:48:21 -06:00
configadapters.go core: Don't return error on RegisterModule() and RegisterAdapter() 2020-04-13 09:48:54 -06:00
load.go caddyconfig: register adapters as Caddy modules (#3132) 2020-03-21 16:49:10 -06:00