mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-03 04:07:51 +08:00
tcp listener
This commit is contained in:
parent
794b1cf40c
commit
476e709e0a
@ -68,10 +68,8 @@ func CreateTCPListener(name, clusterName, address, statPrefix string, port uint3
|
|||||||
&envoy_api_v2_listener.FilterChain{
|
&envoy_api_v2_listener.FilterChain{
|
||||||
Filters: []*envoy_api_v2_listener.Filter{
|
Filters: []*envoy_api_v2_listener.Filter{
|
||||||
&envoy_api_v2_listener.Filter{
|
&envoy_api_v2_listener.Filter{
|
||||||
Name: wellknown.TCPProxy,
|
Name: wellknown.TCPProxy,
|
||||||
ConfigType: &envoy_api_v2_listener.Filter_Config{
|
ConfigType: &envoy_api_v2_listener.Filter_TypedConfig{TypedConfig: Message2Any(tcpProxy)},
|
||||||
Config: MessageToStruct(tcpProxy),
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user