sing-tun/gvisor_other.go
2022-08-07 17:15:40 +08:00

16 lines
292 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, ErrGVisorUnsupported
}