Currently, wgctrl-go provides a list of peers but this is really slow for operations where the number of peers are very large and random access would be desirable such as getting the bandwidth usage of a particular peer or it's allowed IPs.
A map where the key is the public key of a peer and the value is the peer type itself, would make things better in cases of random access desirability.
I am happy to contribute as well. So if it sounds good, let me know.
Currently, wgctrl-go provides a list of peers but this is really slow for operations where the number of peers are very large and random access would be desirable such as getting the bandwidth usage of a particular peer or it's allowed IPs.
A map where the key is the public key of a peer and the value is the peer type itself, would make things better in cases of random access desirability.
I am happy to contribute as well. So if it sounds good, let me know.