sing-box/transport/wireguard/device.go

15 lines
220 B
Go
Raw Normal View History

2022-09-05 16:15:09 +00:00
package wireguard
import (
N "github.com/sagernet/sing/common/network"
"golang.zx2c4.com/wireguard/tun"
)
type Device interface {
tun.Device
N.Dialer
Start() error
// NewEndpoint() (stack.LinkEndpoint, error)
}