Add Tun.Name

This commit is contained in:
世界 2024-11-28 14:27:11 +08:00
parent 091b5da950
commit c21c623174
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
6 changed files with 261 additions and 237 deletions

1
tun.go
View file

@ -25,6 +25,7 @@ type Handler interface {
type Tun interface {
io.ReadWriter
N.VectorisedWriter
Name() (string, error)
Start() error
Close() error
}