tracker/cmd/chihaya/signal_windows.go
2017-12-05 10:14:12 +01:00

15 lines
204 B
Go

// +build windows
package main
import (
"os"
"os/signal"
"syscall"
)
func makeReloadChan() <-chan os.Signal {
reload := make(chan os.Signal)
signal.Notify(reload, syscall.SIGHUP)
return reload
}