-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(oohelperd): move code out of package main (#1189)
This diff refactors the oohelperd implementation to move code out of package main. Specifically, we move most of the code from `./internal/cmd/oohelperd` to `./internal/oohelperd`. Thanks to this refactoring, we can reuse the implementation of the oohelperd for writing netem based integration tests. Part of ooni/probe#2461 --------- Co-authored-by: kelmenhorst <[email protected]>
- Loading branch information
1 parent
9414298
commit d4013c9
Showing
18 changed files
with
244 additions
and
240 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package main | ||
package oohelperd | ||
|
||
// | ||
// DNS measurements | ||
|
2 changes: 1 addition & 1 deletion
2
internal/cmd/oohelperd/dns_test.go → internal/oohelperd/dns_test.go
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package main | ||
package oohelperd | ||
|
||
import ( | ||
"context" | ||
|
Oops, something went wrong.