You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
409 B
Go
20 lines
409 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package proc
|
|
|
|
import "time"
|
|
|
|
// AddShutdownListener returns fn itself on windows, lets callers call fn on their own.
|
|
func AddShutdownListener(fn func()) func() {
|
|
return fn
|
|
}
|
|
|
|
// AddWrapUpListener returns fn itself on windows, lets callers call fn on their own.
|
|
func AddWrapUpListener(fn func()) func() {
|
|
return fn
|
|
}
|
|
|
|
func SetTimeToForceQuit(duration time.Duration) {
|
|
}
|