Git Product home page Git Product logo

Comments (3)

wojcik91 avatar wojcik91 commented on May 25, 2024 1

Hi @Ange-Cesari

We've just completed the refactor and made the first actual release (v0.2.0). I've tried to clean up the existing code as much as possible and add a common Trait which enables us to have a consistent management API between different platforms/implementations. This should make it easier to add more integrations in a sort of "plugin" approach. Personally I hope to have some free time to add a Mikrotik integration for my own homelab use :)

Going back to the original question - current API exposes two methods related to managing peers:

  • configure_peer(&self, peer: &Peer)
  • remove_peer(&self, peer_pubkey: &Key)

configure_peer can be used to both add a completely new peer or configure an existing one. You can think of it as an UPSERT query in SQL.
So to reconfigure a peer you should be able to just use configure_peer with no additional steps necessary.

from wireguard-rs.

teon avatar teon commented on May 25, 2024

@wojcik91 is doing some cleanup and rewrite - @wojcik91 could you comment regarding release we plan tomorrow/Monday?

from wireguard-rs.

Ange-Cesari avatar Ange-Cesari commented on May 25, 2024

Hello @wojcik91

I see that you've done some changes on the code.

Could you please give some informations, is the release complete ?

Thanks,
Ange

from wireguard-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.