1
0
Fork 0
mirror of https://github.com/shouptech/tempgopher.git synced 2026-02-03 08:39:43 +00:00

Add a comment

This commit is contained in:
Emma 2018-09-30 19:43:09 -06:00
parent 19c7c75c15
commit 421bd7277c

View file

@ -39,6 +39,7 @@ func main() {
// done is used to signal the web frontend to stop
done := make(chan bool)
// Catch SIGTERM and SIGINT
sig := make(chan os.Signal)
signal.Notify(sig, os.Interrupt, syscall.SIGTERM)
signal.Notify(sig, os.Interrupt, syscall.SIGINT)