summaryrefslogtreecommitdiffhomepage
path: root/plugins.go
diff options
context:
space:
mode:
authorDenis <[email protected]>2018-06-13 02:00:53 +0300
committerMatt Holt <[email protected]>2018-06-12 17:00:53 -0600
commit6965075825dc4c7aa38fad27e0c0f0c8b44c0ac4 (patch)
tree3ea56eaf529a2e66d3a14ac820a38777f8567b70 /plugins.go
parente54dfa49c3d898ffc9409e4f3b72c1ea4fc9ad48 (diff)
downloadcaddy-6965075825dc4c7aa38fad27e0c0f0c8b44c0ac4.tar.gz
caddy-6965075825dc4c7aa38fad27e0c0f0c8b44c0ac4.zip
core: instance restart (reload) event (#2178)
Diffstat (limited to 'plugins.go')
-rw-r--r--plugins.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins.go b/plugins.go
index 5d36f55e2..3d51d1fc1 100644
--- a/plugins.go
+++ b/plugins.go
@@ -263,9 +263,10 @@ type EventName string
// Define names for the various events
const (
StartupEvent EventName = "startup"
- ShutdownEvent EventName = "shutdown"
- CertRenewEvent EventName = "certrenew"
- InstanceStartupEvent EventName = "instancestartup"
+ ShutdownEvent = "shutdown"
+ CertRenewEvent = "certrenew"
+ InstanceStartupEvent = "instancestartup"
+ InstanceRestartEvent = "instancerestart"
)
// EventHook is a type which holds information about a startup hook plugin.