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

16 lines
258 B
Go

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