mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-04-03 20:07:40 +03:00
Update network handler usages
This commit is contained in:
parent
a8ae222eeb
commit
99eea00432
12 changed files with 51 additions and 78 deletions
2
stack.go
2
stack.go
|
@ -11,6 +11,8 @@ import (
|
|||
"github.com/sagernet/sing/common/logger"
|
||||
)
|
||||
|
||||
var ErrDrop = E.New("drop connections by rule")
|
||||
|
||||
type Stack interface {
|
||||
Start() error
|
||||
Close() error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue