Documentation ¶
Overview ¶
Package netemx contains ooni/netem adapters. This code could have been part of the netxlite package, but we keep it separate such that you do not link with netem unless you need to use netem (presumably for testing).
To understand how to use this package for integration testing, please check how we implemented testing for this package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithCustomTProxy ¶
func WithCustomTProxy(tproxy netem.UnderlyingNetwork, function func())
WithCustomTProxy executes the given function using the given netem.UnderlyingNetwork as the model.UnderlyingNetwork used by the netxlite package.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.