tracker/cmd/chihaya/signal_windows.go
Jimmy Zelinskie 129aac230a cmd: use os.SignalContext for signal management
This fixes a `go vet` failure for using an unbuffered channel with
os.Signal. This also simplifies platform-specific code.

GoFmt added new forward-compatible build tags.
2022-01-02 15:26:05 -05:00

14 lines
146 B
Go

//go:build windows
// +build windows
package main
import (
"os"
"os/signal"
"syscall"
)
var ReloadSignals = []os.Signal{
syscall.SIGHUP,
}