Versions in this module Expand all Collapse all v1 v1.19.0 Nov 25, 2023 Changes in this version + func AllowLan() bool + func BindAddress() string + func GetInbounds() []C.Inbound + func PatchTunnel(tunnels []config.Tunnel, tcpIn chan<- C.ConnContext, ...) + func ReCreateListeners(inbounds []C.Inbound, tcpIn chan<- C.ConnContext, ...) + func ReCreatePortsListeners(ports Ports, tcpIn chan<- C.ConnContext, udpIn chan<- *inbound.PacketAdapter) + func SetAllowLan(al bool) + func SetBindAddress(host string) + type Ports struct + MixedPort int + Port int + RedirPort int + SocksPort int + TProxyPort int + func GetPorts() *Ports