mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-23 13:59:09 +02:00
19 lines
488 B
Go
19 lines
488 B
Go
package dns
|
|
|
|
import (
|
|
"github.com/netbirdio/netbird/client/iface/device"
|
|
"github.com/netbirdio/netbird/client/iface/wgaddr"
|
|
"github.com/netbirdio/netbird/client/iface/wgbackend"
|
|
)
|
|
|
|
// WGIface defines subset methods of interface required for manager
|
|
type WGIface interface {
|
|
Name() string
|
|
Address() wgaddr.Address
|
|
IsUserspaceBind() bool
|
|
GetFilter() device.PacketFilter
|
|
GetDevice() *device.FilteredDevice
|
|
GetNet() *wgbackend.NetstackNet
|
|
GetInterfaceGUIDString() (string, error)
|
|
}
|