mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-10 08:29:58 +08:00
17 lines
219 B
Go
17 lines
219 B
Go
// +build windows
|
|
|
|
package proc
|
|
|
|
import "time"
|
|
|
|
func AddShutdownListener(fn func()) func() {
|
|
return fn
|
|
}
|
|
|
|
func AddWrapUpListener(fn func()) func() {
|
|
return fn
|
|
}
|
|
|
|
func SetTimeoutToForceQuit(duration time.Duration) {
|
|
}
|