# Functions

NewDevice returns a new device struct.
NewPeerConfig constructs and returns a wgtypes PeerConfig object.
SetPeers takes a device name and a list of peers and updates the device's peers list to match the passed one.

# Structs

Device is the struct to hold the link device and the wireguard attributes we need.