mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-26 01:53:42 +01:00
481465e1ae
Support DNS feature on mobile systems --------- Co-authored-by: Givi Khojanashvili <gigovich@gmail.com>
8 lines
238 B
Go
8 lines
238 B
Go
package iface
|
|
|
|
// TunAdapter is an interface for create tun device from externel service
|
|
type TunAdapter interface {
|
|
ConfigureInterface(address string, mtu int, dns string, routes string) (int, error)
|
|
UpdateAddr(address string) error
|
|
}
|