mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 17:22:22 +08:00
15 lines
220 B
Go
15 lines
220 B
Go
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)
|
|
}
|