go-terminate Utility class used to terminate go services in a controlled manor. Usage import ( "log" "github.com/pulcy/go-terminate" ) func main() { t := terminate.NewTerminator(log.Printf, nil) go t.ListenSignals() ... }