mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-14 02:10:00 +08:00
initial import
This commit is contained in:
16
core/proc/shutdown+polyfill.go
Normal file
16
core/proc/shutdown+polyfill.go
Normal file
@@ -0,0 +1,16 @@
|
||||
// +build windows
|
||||
|
||||
package proc
|
||||
|
||||
import "time"
|
||||
|
||||
func AddShutdownListener(fn func()) func() {
|
||||
return nil
|
||||
}
|
||||
|
||||
func AddWrapUpListener(fn func()) func() {
|
||||
return nil
|
||||
}
|
||||
|
||||
func SetTimeoutToForceQuit(duration time.Duration) {
|
||||
}
|
||||
Reference in New Issue
Block a user