sing-tun/gvisor_tun.go
2022-08-07 15:40:46 +08:00

10 lines
192 B
Go

//go:build !(no_gvisor || !(linux || windows || darwin))
package tun
import "gvisor.dev/gvisor/pkg/tcpip/stack"
type GVisorTun interface {
Tun
NewEndpoint() (stack.LinkEndpoint, error)
}