naggie / dsnet

FAST command to manage a centralised wireguard VPN. Think wg-quick but quicker: key generation + address allocation.
https://calbryant.uk/blog/how-to-set-up-a-wireguard-vpn-in-minutes-with-dsnet/
MIT License
673 stars 33 forks source link

Abstracted store #58

Closed botto closed 1 month ago

botto commented 3 years ago

Started an inital idea for abstracted store.

I'm going to implement a sqlite interface as well to check that this works when we add more backends, but I don't think there be hidden dragons in this design.

wdyt @naggie

botto commented 3 years ago

Not sure what happend to the build here, I'm not able to replicate this locally so a little unsure what's happening.

naggie commented 2 years ago

Could you remove the vendor changes from this PR please? It's a bit impossible to review otherwise.

Maybe we should remove the vendor dir altogether, relying on go.mod etc.


Thinking about this -- I'm not against the idea. dsnet is supposed to be a simple command and this margins on scope creep; however, as config is treated separately already I think it's not a huge change to the architecture.

naggie commented 1 month ago

@botto still want to do this? Or should we close it?

botto commented 1 month ago

I might try and refactor some of the bits out of this