mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-02 13:03:56 +01:00
14 lines
327 B
Go
14 lines
327 B
Go
|
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
|
||
|
GetInterfaceGUIDString() (string, error)
|
||
|
}
|