mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-20 17:26:40 +00:00
Extend the proxy interface with RedirectTo function and implement it in Bind proxy
This commit is contained in:
@@ -69,6 +69,10 @@ func (p *ProxyWrapper) Pause() {
|
||||
p.pausedMu.Unlock()
|
||||
}
|
||||
|
||||
func (p *ProxyWrapper) RedirectTo(endpoint *net.UDPAddr) {
|
||||
// todo implement me
|
||||
}
|
||||
|
||||
// CloseConn close the remoteConn and automatically remove the conn instance from the map
|
||||
func (e *ProxyWrapper) CloseConn() error {
|
||||
if e.cancel == nil {
|
||||
|
||||
Reference in New Issue
Block a user