mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-26 01:53:42 +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)
|
||
|
}
|