Open
Description
there is many function in : https://github.com/envoyproxy/examples/blob/main/golang-network/simple/filter.go
func (n *connectionCallback) DownstreamLocalAddress() string {
panic("implement me")
}
func (n *connectionCallback) DownstreamRemoteAddress() string {
panic("implement me")
}
and this functions also used in demo : https://github.com/envoyproxy/examples/blob/main/golang-network/simple/filter.go
func (f *downFilter) OnNewConnection() api.FilterStatus {
localAddr, _ := f.cb.StreamInfo().UpstreamLocalAddress()
remoteAddr, _ := f.cb.StreamInfo().UpstreamRemoteAddress()
so how is the plan to implement this functions?
is there some hack to get the localAddr
remoteAddr
.
many thanks