mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-27 02:24: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
16 lines
355 B
Go
16 lines
355 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
|
|
GetStats(peerKey string) (iface.WGStats, error)
|
|
}
|