Documentation
¶
Overview ¶
Package testutil provides helpers shared by pano's tests: a temporary CA, TLS origins, and clients that route through a proxy and trust only the test CA.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProxiedClient ¶
ProxiedClient returns an http.Client that routes via proxyAddr and trusts only the given pool. h2 selects HTTP/2 to the proxy's TLS endpoint.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.