mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-04-04 04:17:39 +03:00
Add Tun.Name
This commit is contained in:
parent
091b5da950
commit
c21c623174
6 changed files with 261 additions and 237 deletions
1
tun.go
1
tun.go
|
@ -25,6 +25,7 @@ type Handler interface {
|
|||
type Tun interface {
|
||||
io.ReadWriter
|
||||
N.VectorisedWriter
|
||||
Name() (string, error)
|
||||
Start() error
|
||||
Close() error
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue