mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
13 lines
302 B
Go
13 lines
302 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
package winsvc
|
|
|
|
var chanGraceExit = make(chan int)
|
|
|
|
// ShutdownChannel returns a channel that sends a message that a shutdown
|
|
// signal has been received for the service.
|
|
func ShutdownChannel() <-chan int {
|
|
return chanGraceExit
|
|
}
|