diff options
Diffstat (limited to 'vendor/github.com/tylerb/graceful/signal.go')
-rw-r--r-- | vendor/github.com/tylerb/graceful/signal.go | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/vendor/github.com/tylerb/graceful/signal.go b/vendor/github.com/tylerb/graceful/signal.go deleted file mode 100644 index 9550978f..00000000 --- a/vendor/github.com/tylerb/graceful/signal.go +++ /dev/null @@ -1,17 +0,0 @@ -//+build !appengine - -package graceful - -import ( - "os" - "os/signal" - "syscall" -) - -func signalNotify(interrupt chan<- os.Signal) { - signal.Notify(interrupt, syscall.SIGINT, syscall.SIGTERM) -} - -func sendSignalInt(interrupt chan<- os.Signal) { - interrupt <- syscall.SIGINT -} |