mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-14 10:50:45 +01:00
15 lines
306 B
Go
15 lines
306 B
Go
|
//go:build !windows
|
||
|
|
||
|
package dns
|
||
|
|
||
|
import "github.com/netbirdio/netbird/iface"
|
||
|
|
||
|
// WGIface defines subset methods of interface required for manager
|
||
|
type WGIface interface {
|
||
|
Name() string
|
||
|
Address() iface.WGAddress
|
||
|
IsUserspaceBind() bool
|
||
|
GetFilter() iface.PacketFilter
|
||
|
GetDevice() *iface.DeviceWrapper
|
||
|
}
|