Signal handler : A process can register a handler (a function) for a specific signal. It allows you to create a global context with cancellation that applies to the entire server, and you can cancel it to signal all active requests that the server is shutting down. Bool func main () { // Setup signal context rootCtx , stop := signal .