style: remove last traces of tunnel references in code
This commit is contained in:
parent
f336ef0062
commit
1eedba549f
@ -146,7 +146,7 @@ func (pxy *TcpProxy) InWorkConn(conn net.Conn, m *msg.StartWorkConn) {
|
|||||||
conn, []byte(pxy.clientCfg.Token), m)
|
conn, []byte(pxy.clientCfg.Token), m)
|
||||||
}
|
}
|
||||||
|
|
||||||
// TCP HTTP Tunnel
|
// TCP Multiplexer
|
||||||
type TcpMuxProxy struct {
|
type TcpMuxProxy struct {
|
||||||
*BaseProxy
|
*BaseProxy
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ type TcpOutConf struct {
|
|||||||
RemotePort int `json:"remote_port"`
|
RemotePort int `json:"remote_port"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type TcpMuxTunnelOutConf struct {
|
type TcpMuxOutConf struct {
|
||||||
BaseOutConf
|
BaseOutConf
|
||||||
config.DomainConf
|
config.DomainConf
|
||||||
Multiplexer string `json:"multiplexer"`
|
Multiplexer string `json:"multiplexer"`
|
||||||
@ -131,7 +131,7 @@ func getConfByType(proxyType string) interface{} {
|
|||||||
case consts.TcpProxy:
|
case consts.TcpProxy:
|
||||||
return &TcpOutConf{}
|
return &TcpOutConf{}
|
||||||
case consts.TcpMuxProxy:
|
case consts.TcpMuxProxy:
|
||||||
return &TcpMuxTunnelOutConf{}
|
return &TcpMuxOutConf{}
|
||||||
case consts.UdpProxy:
|
case consts.UdpProxy:
|
||||||
return &UdpOutConf{}
|
return &UdpOutConf{}
|
||||||
case consts.HttpProxy:
|
case consts.HttpProxy:
|
||||||
|
Loading…
Reference in New Issue
Block a user