1
0
mirror of https://github.com/beego/bee.git synced 2024-11-14 01:30:55 +00:00
bee/vendor/github.com/peterh/liner/signal.go

13 lines
128 B
Go
Raw Normal View History

2017-03-19 22:45:54 +00:00
// +build go1.1,!windows
package liner
import (
"os"
"os/signal"
)
func stopSignal(c chan<- os.Signal) {
signal.Stop(c)
}