ooni / minivpn

A minimalistic OpenVPN implementation in Go
GNU General Public License v3.0
36 stars 6 forks source link

refactor: add documentation to the layered architecture #56

Closed ainghazal closed 6 months ago

ainghazal commented 6 months ago

This is a follow-up to the ongoing architectural refactor after the last merged layer (#54).

Here we add documentation to the layered approach.

Additionally, we change the OnWorkerDone() call so that the worker's name is passed in the call and logging responsibility for the done event belongs to the workers.Manager.

Reference issue: https://github.com/ooni/minivpn/issues/47