wireguard-go/src/tun.go
2017-07-01 23:29:22 +02:00

9 lines
124 B
Go

package main
type TUNDevice interface {
Read([]byte) (int, error)
Write([]byte) (int, error)
Name() string
MTU() int
}