Files
sing-box-extended-mirror/transport/wireguard/device.go
T

14 lines
225 B
Go
Raw Normal View History

2022-09-06 00:15:09 +08:00
package wireguard
import (
N "github.com/sagernet/sing/common/network"
2022-11-07 16:35:15 +08:00
"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)
}