Support Go execd plugins with shim (#7283)

This commit is contained in:
Steven Soroka
2020-05-04 14:09:10 -04:00
committed by GitHub
parent 7a5690cd36
commit b73a232a6a
58 changed files with 915 additions and 65 deletions

View File

@@ -0,0 +1,13 @@
// +build windows
package shim
import (
"os"
"os/signal"
"syscall"
)
func listenForCollectMetricsSignals(collectMetricsPrompt chan os.Signal) {
signal.Notify(collectMetricsPrompt, syscall.SIGHUP)
}