Skip to content

Releases

v0.3.0

Choose a tag to compare

@dougbarrett dougbarrett released this 31 Jan 18:54

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 setting HTTP_PROXY / HTTPS_PROXY manually. Runs until Ctrl+C.

Install

go install github.com/dougbarrett/goproxy/cmd/goproxy@v0.3.0

Usage

# Standalone — run proxy, configure apps yourself
goproxy serve

# Wrapper — auto-sets proxy env vars on child process
goproxy go run ./cmd/app

v0.2.0

Choose a tag to compare

@dougbarrett dougbarrett released this 31 Jan 17:59

goproxy v0.2.0

What's new

  • goproxy readme — prints the full documentation, embedded into the binary at compile time via go:embed so it's always in sync with the source

Install

go install github.com/dougbarrett/goproxy/cmd/goproxy@v0.2.0

v0.1.0

Choose a tag to compare

@dougbarrett dougbarrett released this 31 Jan 17:48

goproxy v0.1.0

HTTP mock proxy wrapper for Go development.

Install

go install github.com/dougbarrett/goproxy/cmd/goproxy@v0.1.0

Usage

goproxy init                    # Create .goproxy/ with sample config
goproxy go run ./cmd/app        # Wrap your app with the proxy

Features

  • 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/*.json files
  • Dynamic merge — request body fields merged into mock responses
  • Zero dependencies — pure Go standard library