From 8d2e7fc071161600fc2a8ee12e422bf92d18f6e4 Mon Sep 17 00:00:00 2001 From: kataras Date: Sat, 29 Jul 2017 04:39:30 +0300 Subject: [PATCH] Notify on shutdown Former-commit-id: 28d9475665e29aa34f7fe0fad31c2388c8fc9ea2 --- _examples/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_examples/README.md b/_examples/README.md index 2dee2ade..f7e602dc 100644 --- a/_examples/README.md +++ b/_examples/README.md @@ -21,6 +21,7 @@ It doesn't always contain the "best ways" but it does cover each important featu - [UNIX socket file](http-listening/listen-unix/main.go) - [TLS](http-listening/listen-tls/main.go) - [Letsencrypt (Automatic Certifications)](http-listening/listen-letsencrypt/main.go) +- [Notify on shutdown](http-listening/notify-on-shutdown/main.go) - Custom TCP Listener * [common net.Listener](http-listening/custom-listener/main.go) * [SO_REUSEPORT for unix systems](http-listening/custom-listener/unix-reuseport/main.go) @@ -31,7 +32,7 @@ It doesn't always contain the "best ways" but it does cover each important featu - Graceful Shutdown * [using the `RegisterOnInterrupt`](http-listening/graceful-shutdown/default-notifier/main.go) * [using a custom notifier](http-listening/graceful-shutdown/custom-notifier/main.go) - * [notify on shutdown](http-listening/graceful-shutdown/notify-on-shutdown/main.go) + ### Configuration