Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrGracefulShutdownTimeout = errors.New("graceful shutdown timeout")
)
Functions ¶
func GracefulRunSync ¶
GracefulRunSync 同步执行一个优雅停机函数
Types ¶
Click to show internal directories.
Click to hide internal directories.