github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/helper/winsvc/service.go (about) 1 package winsvc 2 3 var chanGraceExit = make(chan int) 4 5 // ShutdownChannel returns a channel that sends a message that a shutdown 6 // signal has been received for the service. 7 func ShutdownChannel() <-chan int { 8 return chanGraceExit 9 }