This commit is contained in:
qaq
2025-06-17 12:17:33 +08:00
parent 4a6b2c8e0f
commit 9fa968d07c
648 changed files with 64968 additions and 1621 deletions
+18
View File
@@ -0,0 +1,18 @@
package tun
import (
"net"
"github.com/go-gost/core/router"
)
type Config struct {
Name string
Net []net.IPNet
// peer addr of point-to-point on MacOS
Peer string
MTU int
Gateway net.IP
Router router.Router
DNS []net.IP
}