https://github.com/brunoshiroma/go-proxy
https://github.com/brunoshiroma/go-proxy
go http-proxy https-proxy
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/brunoshiroma/go-proxy
- Owner: brunoshiroma
- License: mit
- Created: 2020-04-24T15:57:08.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-07-04T01:04:21.000Z (9 months ago)
- Last Synced: 2025-07-04T01:21:52.338Z (9 months ago)
- Topics: go, http-proxy, https-proxy
- Language: Go
- Homepage:
- Size: 3.53 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
[](https://sonarcloud.io/dashboard?id=brunoshiroma_go-proxy)
[](https://travis-ci.com/brunoshiroma/go-proxy)
[](https://goreportcard.com/report/github.com/brunoshiroma/go-proxy)
# Simple HTTPS Proxy - Written in Go
Developed with go
```
go version go1.23.0 linux/amd64
```
Simple HTTPS proxy, using CONNECT pattern
And with Goroutines =)
## License
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fbrunoshiroma%2Fgo-proxy?ref=badge_large)
## 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](https://k6.io), tests are located on folder k6.
Running with docker ( with make )
```bash
make run-k6-docker-http
# OR
make run-k6-docker-https
```
### ENV VARS
```bash
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
* [pre-commit](https://pre-commit.com/)
# Code Quality
* [golangci-lint](https://github.com/golangci/golangci-lint)