Documentation ¶
Index ¶
- func AllowLan() bool
- func BindAddress() string
- func CreateLocalSockProxy(addr, username, passwd string)
- func PreCmd(cmd string) error
- func ReCreateHTTP(port int, tcpIn chan<- C.ConnContext) error
- func ReCreateMixed(port int, tcpIn chan<- C.ConnContext, udpIn chan<- *inbound.PacketAdapter) error
- func ReCreateRedir(port int, tcpIn chan<- C.ConnContext, udpIn chan<- *inbound.PacketAdapter) error
- func ReCreateSocks(port int, tcpIn chan<- C.ConnContext, udpIn chan<- *inbound.PacketAdapter) error
- func ReCreateTProxy(port int, tcpIn chan<- C.ConnContext, udpIn chan<- *inbound.PacketAdapter) error
- func ReCreateTun(TunDevice string, TUNPreUp, TUNPostUp []string, tcpIn chan<- C.ConnContext, ...) error
- 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 CreateLocalSockProxy ¶
func CreateLocalSockProxy(addr, username, passwd string)
func ReCreateHTTP ¶
func ReCreateHTTP(port int, tcpIn chan<- C.ConnContext) error
func ReCreateMixed ¶
func ReCreateMixed(port int, tcpIn chan<- C.ConnContext, udpIn chan<- *inbound.PacketAdapter) error
func ReCreateRedir ¶
func ReCreateRedir(port int, tcpIn chan<- C.ConnContext, udpIn chan<- *inbound.PacketAdapter) error
func ReCreateSocks ¶
func ReCreateSocks(port int, tcpIn chan<- C.ConnContext, udpIn chan<- *inbound.PacketAdapter) error
func ReCreateTProxy ¶
func ReCreateTProxy(port int, tcpIn chan<- C.ConnContext, udpIn chan<- *inbound.PacketAdapter) error
func ReCreateTun ¶
func ReCreateTun(TunDevice string, TUNPreUp, TUNPostUp []string, tcpIn chan<- C.ConnContext, udpIn chan<- *inbound.PacketAdapter) error
func SetAllowLan ¶
func SetAllowLan(al bool)
func SetBindAddress ¶
func SetBindAddress(host string)
Types ¶
Click to show internal directories.
Click to hide internal directories.