mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-07-29 10:11:52 +03:00
Add MTProxy, MASQUE, VPN, Link parser. Update AmneziaWG. Remove Tunneling
This commit is contained in:
24
transport/masque/options.go
Normal file
24
transport/masque/options.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package masque
|
||||
|
||||
import (
|
||||
"net"
|
||||
"net/netip"
|
||||
"time"
|
||||
|
||||
tun "github.com/sagernet/sing-tun"
|
||||
N "github.com/sagernet/sing/common/network"
|
||||
"github.com/sagernet/sing/common/tls"
|
||||
)
|
||||
|
||||
type TunnelOptions struct {
|
||||
Handler tun.Handler
|
||||
Dialer N.Dialer
|
||||
Address []netip.Prefix
|
||||
Endpoint net.Addr
|
||||
TLSConfig tls.Config
|
||||
UseHTTP2 bool
|
||||
UDPTimeout time.Duration
|
||||
UDPKeepalivePeriod time.Duration
|
||||
UDPInitialPacketSize uint16
|
||||
ReconnectDelay time.Duration
|
||||
}
|
||||
Reference in New Issue
Block a user