Matthew Holt
ccb5d19c25
Get module name at runtime, and tidy up modules
6 years ago
Matthew Holt
63674ba081
Rename handler modules to use http.handlers namespace
6 years ago
Matthew Holt
fdd871e177
go.mod: Append /v2 to module name; update all import paths
See https://github.com/golang/go/wiki/Modules#semantic-import-versioning
6 years ago
Matthew Holt
3177ee8010
Add license
6 years ago
Matthew Holt
5137859e47
Rename caddy2 -> caddy
Removes the version from the package name
6 years ago
dev
878ae0002a
fix goroutine leak in healthcheckers
6 years ago
Matthew Holt
613aecb898
Change import paths to GitHub package names
6 years ago
Matthew Holt
bc00d840e8
Export types and fields necessary to build configs (for config adapters)
Also flag most fields with 'omitempty' for JSON marshaling
6 years ago
Matthew Holt
2fd98cb040
Module.New() does not need to return an error
6 years ago
dev
043eb1d9e5
move internal packages to pkg folder and update reverse proxy
* set automatic https error type for cert-magic failures
* add state to onload and unload methods
* update reverse proxy to use Provision() and Cleanup()
6 years ago
Matthew Holt
1f0c061ce3
Architectural shift to using context for config and module state
6 years ago
Matthew Holt
1136e2cfee
Add reverse proxy
6 years ago