proxy.golang.org : github.com/julian-klode/bridgeproxy
Package bridgeproxy provides a framework for writing proxies that connect through one or more upstream proxies (called Peer below). There are three main entry functions that can be used: 1. Serve() provides access to the last peer under the given address. This can be used to implement a TLS-decrypting proxy server: Just specify a HTTPS proxy as the last peer, and it will be available as an HTTP proxy on the chosen address. 2. ListenTLS() provides a way to HIJACK TLS requests: A client connecting to the specified address will be connected via the peers to the address it indicates via SNI (Server Name Indication) in the TLS handshake 3. HTTPProxyHandler() constructs a http.Handler that can be used with http.ListenAndServe() to create an HTTP proxy that accepts CONNECT, GET, HEAD, and possibly other types of requests.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/julian-klode/bridgeproxy
Keywords:
go
, golang
, http
, https
, proxy
, tls
License: Apache-2.0
Latest release: over 6 years ago
First release: over 6 years ago
Namespace: github.com/julian-klode
Stars: 2 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 4 months ago