mirror of
https://github.com/openziti/zrok.git
synced 2024-11-21 23:53:19 +01:00
rename unix to darwin
This commit is contained in:
parent
3b06dd6cf3
commit
c8ca8f4174
@ -1,14 +0,0 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
"os/signal"
|
||||
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
func newSignalHandler() chan os.Signal {
|
||||
signalHandler := make(chan os.Signal, 1)
|
||||
signal.Notify(signalHandler, unix.SIGINT, unix.SIGTERM, unix.SIGHUP, unix.SIGQUIT)
|
||||
return signalHandler
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
//go:build unix
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
|
Loading…
Reference in New Issue
Block a user