mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-02-02 16:28:39 +08:00
fix server.start return nil points (#379)
Co-authored-by: luyongjie <luyongjie@37.com>
This commit is contained in:
parent
3285436f75
commit
1f1dcd16e6
@ -5,11 +5,11 @@ package proc
|
||||
import "time"
|
||||
|
||||
func AddShutdownListener(fn func()) func() {
|
||||
return nil
|
||||
return fn
|
||||
}
|
||||
|
||||
func AddWrapUpListener(fn func()) func() {
|
||||
return nil
|
||||
return fn
|
||||
}
|
||||
|
||||
func SetTimeoutToForceQuit(duration time.Duration) {
|
||||
|
Loading…
Reference in New Issue
Block a user