Update On Sun Apr 7 20:25:36 CEST 2024

This commit is contained in:
github-action[bot]
2024-04-07 20:25:37 +02:00
parent e2eecadc74
commit 258ae1804d
80 changed files with 1034 additions and 1053 deletions

View File

@@ -56,66 +56,66 @@ func init() {
// raw cfg
{
Listen: RAW_LISTEN,
ListenType: constant.Listen_RAW,
ListenType: constant.RelayTypeRaw,
TCPRemotes: []string{ECHO_SERVER},
UDPRemotes: []string{ECHO_SERVER},
TransportType: constant.Transport_RAW,
TransportType: constant.RelayTypeRaw,
},
// ws
{
Listen: WS_LISTEN,
ListenType: constant.Listen_RAW,
ListenType: constant.RelayTypeRaw,
TCPRemotes: []string{WS_REMOTE},
TransportType: constant.Transport_WS,
TransportType: constant.RelayTypeWS,
},
{
Listen: WS_SERVER,
ListenType: constant.Listen_WS,
ListenType: constant.RelayTypeWS,
TCPRemotes: []string{ECHO_SERVER},
TransportType: constant.Transport_RAW,
TransportType: constant.RelayTypeRaw,
},
// wss
{
Listen: WSS_LISTEN,
ListenType: constant.Listen_RAW,
ListenType: constant.RelayTypeRaw,
TCPRemotes: []string{WSS_REMOTE},
TransportType: constant.Transport_WSS,
TransportType: constant.RelayTypeWSS,
},
{
Listen: WSS_SERVER,
ListenType: constant.Listen_WSS,
ListenType: constant.RelayTypeWSS,
TCPRemotes: []string{ECHO_SERVER},
TransportType: constant.Transport_RAW,
TransportType: constant.RelayTypeRaw,
},
// mwss
{
Listen: MWSS_LISTEN,
ListenType: constant.Listen_RAW,
ListenType: constant.RelayTypeRaw,
TCPRemotes: []string{MWSS_REMOTE},
TransportType: constant.Transport_MWSS,
TransportType: constant.RelayTypeMWSS,
},
{
Listen: MWSS_SERVER,
ListenType: constant.Listen_MWSS,
ListenType: constant.RelayTypeMWSS,
TCPRemotes: []string{ECHO_SERVER},
TransportType: constant.Transport_RAW,
TransportType: constant.RelayTypeRaw,
},
// mtcp
{
Listen: MTCP_LISTEN,
ListenType: constant.Listen_RAW,
ListenType: constant.RelayTypeRaw,
TCPRemotes: []string{MTCP_REMOTE},
TransportType: constant.Transport_MTCP,
TransportType: constant.RelayTypeMTCP,
},
{
Listen: MTCP_SERVER,
ListenType: constant.Listen_MTCP,
ListenType: constant.RelayTypeMTCP,
TCPRemotes: []string{ECHO_SERVER},
TransportType: constant.Transport_RAW,
TransportType: constant.RelayTypeRaw,
},
},
}