Registry / networking / elazarl-goproxy

elazarl-goproxy

JSON →
library1.8.4gogounverified

Package goproxy provides a customizable HTTP proxy, supporting hijacking HTTPS connections.

go get github.com/elazarl/goproxy
INSTALL
IMPORT
SIG · ELAZARL-GOPROXY
E
elazarl-goproxy
networkinggov1.8.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

goproxy
github.com/elazarl/goproxy

Starts a simple HTTP proxy server on port 8080.

package main import ( "net/http" "github.com/elazarl/goproxy" ) func main() { proxy := goproxy.NewProxyHttpServer() proxy.Verbose = true http.ListenAndServe(":8080", proxy) }
Debug
Known issues
gotchaHTTPS interception requires generating and trusting a CA certificate.
fix
Use goproxy.GoproxyCa to generate a CA and configure clients to trust it.
affects: all
Upgrade
Version history
1.8.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Amazon
1
OpenAI (training)
1
Resources
elazarl-goproxy — go get elazarl-goproxy · libregistry