Go provides the os/signal package to programmers to help them handle incoming signals. However, we will start the discussion about handling by presenting the kill(1) utility.
Unix signals in Go
Get Go Systems Programming now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.