netbird/iface/tun_adapter.go

8 lines
260 B
Go
Raw Normal View History

package iface
// TunAdapter is an interface for create tun device from externel service
type TunAdapter interface {
ConfigureInterface(address string, mtu int, dns string, searchDomains string, routes string) (int, error)
UpdateAddr(address string) error
}