Repository navigation
Releases
Releases · dougbarrett/goproxy
v0.3.0
goproxy v0.3.0
What's new
goproxy serve— standalone mode that runs the proxy without wrapping a subprocess. Start the proxy, then point any application at it by settingHTTP_PROXY/HTTPS_PROXYmanually. Runs until Ctrl+C.
Install
go install github.com/dougbarrett/goproxy/cmd/goproxy@v0.3.0Usage
# Standalone — run proxy, configure apps yourself
goproxy serve
# Wrapper — auto-sets proxy env vars on child process
goproxy go run ./cmd/appv0.2.0
goproxy v0.2.0
What's new
goproxy readme— prints the full documentation, embedded into the binary at compile time viago:embedso it's always in sync with the source
Install
go install github.com/dougbarrett/goproxy/cmd/goproxy@v0.2.0v0.1.0
goproxy v0.1.0
HTTP mock proxy wrapper for Go development.
Install
go install github.com/dougbarrett/goproxy/cmd/goproxy@v0.1.0Usage
goproxy init # Create .goproxy/ with sample config
goproxy go run ./cmd/app # Wrap your app with the proxyFeatures
- Rule-based mocking — regex URL and body pattern matching from JSON config files
- Catch-all — unmatched requests return a default mock response
- UUID-scoped admin endpoints —
/logs,/clear,/reload,/health - Session logging — timestamped NDJSON log files in
.goproxy/logs/ - Auto free port — no port configuration needed
- Multi-config — load rules from multiple
.goproxy/*.jsonfiles - Dynamic merge — request body fields merged into mock responses
- Zero dependencies — pure Go standard library