ooni-probe-cli/internal/bytecounter
Simone Basso 760ac905d6
refactor: move bytecounting conn in bytecounter pkg (#392)
* refactor: move bytecounting conn in bytecounter pkg

This enables other pieces of code to request bytecounting without
depending on netx or on the perverse using-the-context-to-configure-
byte-counting mechanism.

Also occurred when working on https://github.com/ooni/probe/issues/1687

* fix: add missing docs
2021-06-22 13:44:36 +02:00
..
bytecounter_test.go refactor: move bytecounter to internal (#391) 2021-06-22 13:00:29 +02:00
bytecounter.go refactor: move bytecounter to internal (#391) 2021-06-22 13:00:29 +02:00
conn_test.go refactor: move bytecounting conn in bytecounter pkg (#392) 2021-06-22 13:44:36 +02:00
conn.go refactor: move bytecounting conn in bytecounter pkg (#392) 2021-06-22 13:44:36 +02:00