INNER CODE UNIT · Go

listenForInterrupt

betterleaks/betterleaks · main.go:21

func listenForInterrupt(stopScan chan os.Signal) {
	<-stopScan
	logging.Fatal().Msg("Interrupt signal received. Exiting...")
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…