Versions in this module Expand all Collapse all v1 v1.0.0 Nov 12, 2023 Changes in this version + var LastTuicConf LC.TuicServer + var LastTunConf LC.Tun + func AllowLan() bool + func BindAddress() string + func Cleanup() + func GetTuicConf() LC.TuicServer + func GetTunConf() LC.Tun + func ParseListener(mapping map[string]any) (C.InboundListener, error) + func PatchInboundListeners(newListenerMap map[string]C.InboundListener, tunnel C.Tunnel, dropOld bool) + func PatchTunnel(tunnels []LC.Tunnel, tunnel C.Tunnel) + func ReCreateAutoRedir(ifaceNames []string, tunnel C.Tunnel) + func ReCreateHTTP(port int, tunnel C.Tunnel) + func ReCreateMixed(port int, tunnel C.Tunnel) + func ReCreateRedir(port int, tunnel C.Tunnel) + func ReCreateRedirToTun(ifaceNames []string) + func ReCreateShadowSocks(shadowSocksConfig string, tunnel C.Tunnel) + func ReCreateSocks(port int, tunnel C.Tunnel) + func ReCreateTProxy(port int, tunnel C.Tunnel) + func ReCreateTuic(config LC.TuicServer, tunnel C.Tunnel) + func ReCreateTun(tunConf LC.Tun, tunnel C.Tunnel) + func ReCreateVmess(vmessConfig string, tunnel C.Tunnel) + func SetAllowLan(al bool) + func SetBindAddress(host string) + type Ports struct + MixedPort int + Port int + RedirPort int + ShadowSocksConfig string + SocksPort int + TProxyPort int + VmessConfig string + func GetPorts() *Ports