Files
tun2socks/core/device/tun/tun.go
2021-02-07 18:49:55 +08:00

15 lines
246 B
Go
Executable File

// Package tun provides TUN which implemented device.Device interface.
package tun
import (
"github.com/xjasonlyu/tun2socks/core/device"
)
const Driver = "tun"
func (t *TUN) Type() string {
return Driver
}
var _ device.Device = (*TUN)(nil)