style: remove last traces of tunnel references in code

This commit is contained in:
Guy Lewin 2020-03-03 17:49:57 -05:00
parent f336ef0062
commit 1eedba549f
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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: