diff options
| author | Alireza Ahmadi <alireza7@gmail.com> | 2026-02-25 23:09:42 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-25 23:09:42 +0300 |
| commit | 159b85f9794576a283f981778445836dc8819a5e (patch) | |
| tree | 06ddd4e8e77fb2a3811ba0de4d099df3443fa0dc /util/sys/sys_windows.go | |
| parent | 37f0880f8fd2430be3737c160710d96e88895150 (diff) | |
| parent | 3ec5b3589f3358878738b0bfc52784ee924fbcdd (diff) | |
Merge pull request #3828 from MHSanaei/restartXrayOption
[feat] restart xray-core from cli #3825
Diffstat (limited to 'util/sys/sys_windows.go')
| -rw-r--r-- | util/sys/sys_windows.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/sys/sys_windows.go b/util/sys/sys_windows.go index 186fa4bb..9b6d659f 100644 --- a/util/sys/sys_windows.go +++ b/util/sys/sys_windows.go @@ -12,6 +12,8 @@ import ( "github.com/shirou/gopsutil/v4/net" ) +var SIGUSR1 = syscall.Signal(0) + // GetConnectionCount returns the number of active connections for the specified protocol ("tcp" or "udp"). func GetConnectionCount(proto string) (int, error) { if proto != "tcp" && proto != "udp" { |
