Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CancelOnShutdown ¶
func CancelOnShutdown(cancelFunc context.CancelFunc, logger logrus.FieldLogger)
CancelOnShutdown starts a goroutine that will call cancelFunc when either SIGINT or SIGTERM is received
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.