middlewware/startup|shutdown (#604)

Add middleware by directly linking it from caddy, i.e. without any code
changes. To be fair: this does not added a ServeHTTP, but does give
some nice features in the Corefile.
This commit is contained in:
Miek Gieben
2017-03-18 07:47:01 +00:00
committed by GitHub
parent 7dc431ada3
commit 830fdfd26d
3 changed files with 5 additions and 0 deletions

View File

@@ -34,4 +34,6 @@ var directives = []string{
"proxy",
"whoami",
"erratic",
"startup",
"shutdown",
}