From 53f6b7b4a874d42cff3fba5a604cbe9076b67193 Mon Sep 17 00:00:00 2001 From: Carl Jackson Date: Sat, 12 Apr 2014 20:41:07 +0100 Subject: [PATCH] Minor cosmetic fixes --- graceful/signal.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graceful/signal.go b/graceful/signal.go index 1f7d08f..c231a80 100644 --- a/graceful/signal.go +++ b/graceful/signal.go @@ -39,7 +39,7 @@ func AddSignal(sig ...os.Signal) { signal.Notify(sigchan, sig...) } -// ResetSignals resets the list of signals that trigger a graceful shutdown. +// ResetSignals resets the list of signals that trigger a graceful shutdown. // Useful if, for instance, you don't want to use the default interrupt (SIGINT) // handler. Since we necessarily install the SIGINT handler before you have a // chance to call ResetSignals(), there will be a brief window during which the @@ -57,7 +57,7 @@ func (u userShutdown) String() string { } func (u userShutdown) Signal() {} -// Shutdown manually trigger a shutdown from your application. Like Wait(), +// Shutdown manually triggers a shutdown from your application. Like Wait(), // blocks until all connections have gracefully shut down. func Shutdown() { sigchan <- userShutdown{}