mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-07 01:33:15 +08:00
15 lines
246 B
Go
Executable File
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)
|