Refactor signal handling and Windows support

This commit drops webhook_windows.go in favor of simply pulling out the
signal handling code to separate files.
This commit is contained in:
Cameron Moore 2015-10-29 11:17:15 -05:00
parent 409b441c31
commit 1c319a7a08
4 changed files with 42 additions and 312 deletions

7
signals_windows.go Normal file
View file

@ -0,0 +1,7 @@
// +build windows
package main
func setupSignals() {
// NOOP: Windows doesn't have signals equivalent to the Unix world.
}