ory / graceful

A best practice http server set up that supports graceful shutdown
Apache License 2.0
191 stars 18 forks source link

feat: add GracefulContext #79

Closed alnr closed 1 year ago

alnr commented 1 year ago

There's currently no convenient way to shut down a server from within the same process other than sending SIGINT/SIGTERM to itself. This function adds that capability.