-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(MeasuringNetwork): define dialers without resolver
I initially planned on defining only the dialers with resolver and explicitly passing &NullResolver{} to them. But I have just realized that, instead, defining the dialers without resolvers (which is what measurexlite needs anyway) will allow me to rewrite the without-resolver case to be very simple and completely ignore resolvers. Once I have done this rewrite, we can keep the existing implementation for legacy code, but we can also have: 1. the above-mentioned simple dialing implementation without resolvers that fullfills measurexlite needs; 2. another implementation tailored to the needs of beacons. So, voila, I think I now have a reasonable way forward to introduce beacons support in netxlite. Part of ooni/probe#2531
- Loading branch information
1 parent
8bf9d88
commit 8066813
Showing
3 changed files
with
47 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters