View definition

(Server).ShutdownInitiated

Defined in github.com/tylerb/graceful/graceful.go

Description

ShutdownInitiated is an optional callback function that is called when shutdown is initiated. It can be used to notify the client side of long lived connections (e.g. websockets) to reconnect.

ShutdownInitiated is referenced in 3 repositories

github.com/tylerb/graceful github.com/bahlo/abutil github.com/peter-edge/dockerplugin-go