Back to directory

GoProxy

A Go library for building a customizable HTTP and HTTPS proxy server, supporting request and response manipulation, MITM certificate caching, and hijacked connections.

GoProxy

GoProxy is a library for creating a customized HTTP and HTTPS proxy server in Go, with several configurable settings. It aims to offer an optimized proxy server usable under reasonable traffic while staying customizable and programmable, and because it is just a net/http handler, other middleware such as logging or compression can be layered over it.

It supports four proxy modes: regular HTTP proxying, HTTPS through CONNECT, HTTPS man-in-the-middle proxying where the server generates TLS certificates to inspect traffic, and a hijacked mode where a handler gets direct access to the raw connection. Other features include acting only on specific hosts by exact match or regex, caching MITM certificates to save CPU, redirecting relative-path requests to a custom handler, a pluggable logger interface, and the option to disable HTTP header canonicalization.

More in Libraries

See all 292
  • OpenDecision

    deepanwadhwa.github.io

    An open-source Python package that answers typed questions about application state or documents using a local natural-language-inference model, returning structured choice, score, yes/no or evidence-relation values instead of free text.

  • TradeCanvas

    bonguynvan.github.io

    A zero-dependency canvas charting engine for building TradingView-style trading charts in JavaScript, with 66 technical indicators, 24 drawing tools, 17 chart types, and real-time streaming.

  • 3d retro graphics

    3d-retro.com

    A free, CC0-licensed library of copy-paste retro 3D and demoscene graphics effects, such as plasma, raytracing, and voxel terrain, runnable as WebGL 1 or plain 2D canvas.