Conversation
|
Deferring review until we merge #68 (which is included in this branch right now). |
b26a547 to
4da07eb
Compare
97904b2 to
130fe00
Compare
130fe00 to
c7ce6ab
Compare
hellais
left a comment
There was a problem hiding this comment.
This looks good to me.
From an inspection it looks like the only thing that's really changing are the import paths for model and tun, which are moved out of the internal package.
In light of this some code is also moved around a little bit, where the most noticeable difference is the tunnel.Start method which takes the code which used to live inside of main.
The only question I have is why the logger_test and tracer_test were removed? Is it because this new layout makes testing of those packages harder?
All in all, this looks good to merge for me!
it was a bit of a cleanup:
|
Expose config and tunnel as a public API.
This refactor tries to expose all the useful functions to instantiate an OpenVPN tunnel (paving the way to usage from probe-cli).
Checklist
ARCHITECTURE.md.