Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrGracefullyTimeout = errors.New("gracefully shutdown timeout")
)
Functions ¶
func GracefulRun ¶
func GracefulRun(fn GracefulRunFunc, conf *GracefulConfig) error
Types ¶
type GracefulConfig ¶
type GracefulRunFunc ¶
Click to show internal directories.
Click to hide internal directories.