netbird/iface/tun_adapter.go

8 lines
238 B
Go
Raw Permalink 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, routes string) (int, error)
UpdateAddr(address string) error
}