Documentation
¶
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindAddress ¶
func BindAddress() string
func GetInbounds ¶ added in v1.18.0
func PatchTunnel ¶ added in v1.12.0
func PatchTunnel(tunnels []config.Tunnel, tcpIn chan<- C.ConnContext, udpIn chan<- *inbound.PacketAdapter)
func ReCreateListeners ¶ added in v1.18.0
func ReCreateListeners(inbounds []C.Inbound, tcpIn chan<- C.ConnContext, udpIn chan<- *inbound.PacketAdapter)
only recreate inbound config listener
func ReCreatePortsListeners ¶ added in v1.18.0
func ReCreatePortsListeners(ports Ports, tcpIn chan<- C.ConnContext, udpIn chan<- *inbound.PacketAdapter)
only recreate ports config listener
func SetAllowLan ¶
func SetAllowLan(al bool)
func SetBindAddress ¶
func SetBindAddress(host string)
Types ¶
Click to show internal directories.
Click to hide internal directories.