mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-23 00:23:36 +01:00
45a6263adc
Add new feature to notify the user when new client route has arrived. Refactor the initial route handling. I move every route logic into the route manager package. * Add notification management for client rules * Export the route notification for Android * Compare the notification based on network range instead of id.
15 lines
400 B
Go
15 lines
400 B
Go
package internal
|
|
|
|
import (
|
|
"github.com/netbirdio/netbird/client/internal/routemanager"
|
|
"github.com/netbirdio/netbird/client/internal/stdnet"
|
|
"github.com/netbirdio/netbird/iface"
|
|
)
|
|
|
|
// MobileDependency collect all dependencies for mobile platform
|
|
type MobileDependency struct {
|
|
TunAdapter iface.TunAdapter
|
|
IFaceDiscover stdnet.ExternalIFaceDiscover
|
|
RouteListener routemanager.RouteListener
|
|
}
|