-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: save local and remote addr (#9)
This changeset implements saving the local and remote addr for all the transports we support, improving data quality. The changes should be obvious for all protocols but DoH, for which we introduced a lower-level mechanism to collect this info, and namely the HTTPClientDo function, opening up the possibility of advanced customization code to create a connection on the fly. The previous mechanism using HTTPClient is still working as intended. Another minor change is refactoring the structured logging code inside the slog.go and slog_test.go files.
- Loading branch information
1 parent
95b7df4
commit 36a27f8
Showing
8 changed files
with
641 additions
and
156 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
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
Oops, something went wrong.