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

16 lines
290 B
Go

//go:build no_gvisor && (linux || windows || darwin)
package tun
import "context"
func NewGVisor(
ctx context.Context,
tun Tun,
tunMtu uint32,
endpointIndependentNat bool,
endpointIndependentNatTimeout int64,
handler Handler,
) (Stack, error) {
return nil, ErrGVisorNotIncluded
}