9 lines
119 B
Go
9 lines
119 B
Go
|
package main
|
||
|
|
||
|
type TUN interface {
|
||
|
Read([]byte) (int, error)
|
||
|
Write([]byte) (int, error)
|
||
|
Name() string
|
||
|
MTU() uint
|
||
|
}
|