Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BypassHandler ¶ added in v0.1.1
func BypassHandler(w http.ResponseWriter, r *http.Request)
BypassHandler pipe request and response, like a normal transparent proxy
Types ¶
type Option ¶ added in v0.1.1
Option to custom proxy
func CA ¶ added in v0.1.1
func CA(ca *tls.Certificate) Option
CA option custom CA certificates to use as root CA, it will be used to sign sites' mitm certificates
func Default ¶ added in v0.1.2
func Default(h http.HandlerFunc) Option
Click to show internal directories.
Click to hide internal directories.