mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-10-05 07:16:54 +08:00

refactor: update go mod library and refactor dev logic Co-authored-by: wencaiwulue <895703375@qq.com>
14 lines
143 B
Go
14 lines
143 B
Go
//go:build !windows
|
|
|
|
package dev
|
|
|
|
import (
|
|
"os"
|
|
|
|
"golang.org/x/sys/unix"
|
|
)
|
|
|
|
func isRuntimeSig(s os.Signal) bool {
|
|
return s == unix.SIGURG
|
|
}
|