Skip to content

brunoshiroma/go-proxy

Repository files navigation

Quality Gate Status Build Status Go Report Card

Simple HTTPS Proxy - Written in Go

Developed with go

go version go1.15.3 linux/amd64

Simple HTTPS proxy, using CONNECT pattern

And with Goroutines =)

License

FOSSA Status

USAGE

Simple run the proxy

with binary
./go-proxy
OR from source
go run cmd/go-proxy/main.go

Stress test

Stress tests using k6, tests are located on folder k6. Running with docker ( with make )

make run-k6-docker-http
# OR
make run-k6-docker-https

ENV VARS

GO_PROXY_PPROF_DEBUG=true #enable the PPROF profiling on 127.0.0.1:6060
HOST=0.0.0.0 #set the host/ip to bind the listening proxy address
PORT=8080 #set the port for the binding

pre-commit

Code Quality