This repository has been archived by the owner on Sep 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
extend peer.Set
with the Remove method
#260
Comments
Hi @marten-seemann. Thanks for the explanation. Is it possible to temporary add this functionality(I can open a PR) as it's pretty logic that if there is a possibility to add a peer, then it might have possibility to delete a peer or could suggest what can I use instead of |
This seems to be a trivial piece of code, so I'd argue that copy-pasting the parts that you need would actually be the right thing to do. Also note that the API here is kind of confusing: You can set a size, but that size is not enforced by |
Merged
ok, thank you. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently
peer.Set
allows only to add peers but it would be nice to have a remove functionality.The text was updated successfully, but these errors were encountered: