Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IGracefulShutdown ¶
type IGracefulShutdown interface { InterruptShutdown(ctx context.Context, log logger.ILogger, opts ...interface { Exit(ctx context.Context, errChannel chan error) }) ErrorHandler(log logger.ILogger) }
func NewGracefulShutDownHandler ¶
func NewGracefulShutDownHandler(errChannel chan error, loggerInstance logger.ILogger) IGracefulShutdown
Click to show internal directories.
Click to hide internal directories.