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)
|
||||
}
|
||||
|
||||
// TCP HTTP Tunnel
|
||||
// TCP Multiplexer
|
||||
type TcpMuxProxy struct {
|
||||
*BaseProxy
|
||||
|
||||
|
@ -95,7 +95,7 @@ type TcpOutConf struct {
|
||||
RemotePort int `json:"remote_port"`
|
||||
}
|
||||
|
||||
type TcpMuxTunnelOutConf struct {
|
||||
type TcpMuxOutConf struct {
|
||||
BaseOutConf
|
||||
config.DomainConf
|
||||
Multiplexer string `json:"multiplexer"`
|
||||
@ -131,7 +131,7 @@ func getConfByType(proxyType string) interface{} {
|
||||
case consts.TcpProxy:
|
||||
return &TcpOutConf{}
|
||||
case consts.TcpMuxProxy:
|
||||
return &TcpMuxTunnelOutConf{}
|
||||
return &TcpMuxOutConf{}
|
||||
case consts.UdpProxy:
|
||||
return &UdpOutConf{}
|
||||
case consts.HttpProxy:
|
||||
|
Loading…
Reference in New Issue
Block a user