mirror of
https://github.com/netbirdio/netbird.git
synced 2026-09-23 07:09:08 +02:00
WorkerICE and WorkerRelay took a concrete *Conn back-pointer. Replace it with small callback interfaces (iceCallbacks, relayCallbacks) covering only the methods each worker invokes on the connection. WorkerICE also receives its portForwardManager as an explicit parameter instead of reaching into conn.portForwardManager.