12 lines
242 B
Go
12 lines
242 B
Go
//go:build windows
|
|
|
|
package platform
|
|
|
|
import "os"
|
|
|
|
func shutdownSignals() []os.Signal {
|
|
// Windows has no SIGTERM equivalent; Ctrl+C (os.Interrupt) is the only
|
|
// portable interactive termination signal.
|
|
return []os.Signal{os.Interrupt}
|
|
}
|