mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-12 20:26:37 +08:00
init
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user