refactor: move httptransport w/ logging to netxlite (#411)
Part of https://github.com/ooni/probe/issues/1505
This commit is contained in:
parent
046dd4545d
commit
527e1a0707
10 changed files with 236 additions and 131 deletions
|
|
@ -25,6 +25,9 @@ type Resolver interface {
|
|||
type Logger interface {
|
||||
// Debugf formats and emits a debug message.
|
||||
Debugf(format string, v ...interface{})
|
||||
|
||||
// Debug emits a debug message.
|
||||
Debug(msg string)
|
||||
}
|
||||
|
||||
// Config contains the settings for New.
|
||||
|
|
|
|||
Loading…
Reference in a new issue