mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-16 11:51:30 +01:00
a7d6632298
* Adds management, signal, and relay (STUN/TURN) health probes to the status command. * Adds a reason when the management or signal connections are disconnected. * Adds last wireguard handshake and received/sent bytes per peer
15 lines
376 B
Go
15 lines
376 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
|
|
GetStats(peerKey string) (iface.WGStats, error)
|
|
GetInterfaceGUIDString() (string, error)
|
|
}
|