add timeout for sniffing

This commit is contained in:
ginuerzh
2023-05-21 15:54:22 +08:00
parent 410b4ddf53
commit 8e2060582e
2 changed files with 3 additions and 1 deletions

2
go.mod
View File

@ -6,7 +6,7 @@ replace github.com/templexxx/cpu v0.0.7 => github.com/templexxx/cpu v0.0.10-0.20
require (
github.com/go-gost/core v0.0.0-20230418124644-a2115a3d3876
github.com/go-gost/x v0.0.0-20230501060518-30c705ffe563
github.com/go-gost/x v0.0.0-20230521074751-46db8480faa9
github.com/judwhite/go-svc v1.2.1
gopkg.in/natefinch/lumberjack.v2 v2.0.0
)