mirror of
https://github.com/adnanh/webhook.git
synced 2025-05-28 00:02:29 +00:00
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:
parent
409b441c31
commit
1c319a7a08
4 changed files with 42 additions and 312 deletions
7
signals_windows.go
Normal file
7
signals_windows.go
Normal file
|
@ -0,0 +1,7 @@
|
|||
// +build windows
|
||||
|
||||
package main
|
||||
|
||||
func setupSignals() {
|
||||
// NOOP: Windows doesn't have signals equivalent to the Unix world.
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue