14 lines
205 B
Go
14 lines
205 B
Go
|
// +build windows
|
||
|
|
||
|
package shim
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
"os/signal"
|
||
|
"syscall"
|
||
|
)
|
||
|
|
||
|
func listenForCollectMetricsSignals(collectMetricsPrompt chan os.Signal) {
|
||
|
signal.Notify(collectMetricsPrompt, syscall.SIGHUP)
|
||
|
}
|