Registry / networking / elazarl-goproxy-v1

elazarl-goproxy-v1

JSON →
library1.0.0-20180725130230-947c36da3153gogounverified

A Go library for building HTTP proxies, supporting both HTTP and HTTPS traffic.

go get gopkg.in/elazarl/goproxy.v1
INSTALL
IMPORT
SIG · ELAZARL-GOPROXY-V1
E
elazarl-goproxy-v1
networkinggov1.0.0-20180725130230-947c36da3153
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
gopkg.in/elazarl/goproxy.v1

Starts an HTTP proxy server on port 8080 with verbose logging.

package main import ( "log" "net/http" "gopkg.in/elazarl/goproxy.v1" ) func main() { proxy := goproxy.NewProxyHttpServer() proxy.Verbose = true log.Fatal(http.ListenAndServe(":8080", proxy)) }
Debug
Known issues
gotchaVersion 1.0.0 is a pseudo-version; the latest stable release may differ.
fix
Check the repository for the latest tagged version and use that.
affects: >=1.0.0
Upgrade
Version history
1.0.0-20180725130230-947c36da3153latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
OpenAI (training)
1
Resources