caddy/startupshutdown
Matthew Holt 15fa5cf2da
OnFirstStartup and OnFinalShutdown callbacks added
OnStartup and OnShutdown callbacks now run as part of restarts, too.
The startup and shutdown directives only run their commands NOT as part
of restarts, as before. Some middleware that use OnStartup may need to
switch to OnFirstStartup and implement OnFinalShutdown to do any cleanup
as needed.
2016-06-23 18:02:12 -06:00
..
startupshutdown_test.go Fix tests after controller refactor 2016-06-20 12:29:19 -06:00
startupshutdown.go OnFirstStartup and OnFinalShutdown callbacks added 2016-06-23 18:02:12 -06:00