mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-28 19:13:31 +01:00
fd67892cb4
Refactor the flat code structure
23 lines
651 B
Go
23 lines
651 B
Go
package internal
|
|
|
|
import (
|
|
"github.com/netbirdio/netbird/client/iface/device"
|
|
"github.com/netbirdio/netbird/client/internal/dns"
|
|
"github.com/netbirdio/netbird/client/internal/listener"
|
|
"github.com/netbirdio/netbird/client/internal/stdnet"
|
|
)
|
|
|
|
// MobileDependency collect all dependencies for mobile platform
|
|
type MobileDependency struct {
|
|
// Android only
|
|
TunAdapter device.TunAdapter
|
|
IFaceDiscover stdnet.ExternalIFaceDiscover
|
|
NetworkChangeListener listener.NetworkChangeListener
|
|
HostDNSAddresses []string
|
|
DnsReadyListener dns.ReadyListener
|
|
|
|
// iOS only
|
|
DnsManager dns.IosDnsManager
|
|
FileDescriptor int32
|
|
}
|