sing-box/transport/wireguard/device.go

14 lines
225 B
Go
Raw Permalink Normal View History

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