mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-12 16:18:50 +00:00
14 lines
225 B
Go
14 lines
225 B
Go
package wireguard
|
|
|
|
import (
|
|
N "github.com/sagernet/sing/common/network"
|
|
"github.com/sagernet/wireguard-go/tun"
|
|
)
|
|
|
|
type Device interface {
|
|
tun.Device
|
|
N.Dialer
|
|
Start() error
|
|
// NewEndpoint() (stack.LinkEndpoint, error)
|
|
}
|