Add auto-redirect

This commit is contained in:
世界 2024-06-01 12:35:50 +08:00
parent ad763519ff
commit 67a5b408ef
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
9 changed files with 944 additions and 10 deletions

11
redirect_stub.go Normal file
View file

@ -0,0 +1,11 @@
//go:build !linux
package tun
import (
"os"
)
func NewAutoRedirect(options AutoRedirectOptions) (AutoRedirect, error) {
return nil, os.ErrInvalid
}