fix server.start return nil points (#379)
Co-authored-by: luyongjie <luyongjie@37.com>
This commit is contained in:
@@ -5,11 +5,11 @@ package proc
|
|||||||
import "time"
|
import "time"
|
||||||
|
|
||||||
func AddShutdownListener(fn func()) func() {
|
func AddShutdownListener(fn func()) func() {
|
||||||
return nil
|
return fn
|
||||||
}
|
}
|
||||||
|
|
||||||
func AddWrapUpListener(fn func()) func() {
|
func AddWrapUpListener(fn func()) func() {
|
||||||
return nil
|
return fn
|
||||||
}
|
}
|
||||||
|
|
||||||
func SetTimeoutToForceQuit(duration time.Duration) {
|
func SetTimeoutToForceQuit(duration time.Duration) {
|
||||||
|
|||||||
Reference in New Issue
Block a user