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 ¶
func PatchTunnel ¶
func PatchTunnel(tunnels []config.Tunnel, tcpIn chan<- C.ConnContext, udpIn chan<- *inbound.PacketAdapter)
func ReCreateListeners ¶
func ReCreateListeners(inbounds []C.Inbound, tcpIn chan<- C.ConnContext, udpIn chan<- *inbound.PacketAdapter)
only recreate inbound config listener
func ReCreatePortsListeners ¶
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.