Categorygithub.com/vcheckzen/normalize-http-proxy
modulepackage
0.0.0-20230521123255-4def0f5d3a4e
Repository: https://github.com/vcheckzen/normalize-http-proxy.git
Documentation: pkg.go.dev

# README

Normalize HTTP Proxy

A http proxy server chaining a upstream which needs authentication headers.

local -> [np] -> upstream -> destination

Usage

  • Normal use
➜  ./np baidu
Normalize Proxy: listens at 127.0.0.1:8888.
Http upstream is http://cloudnproxy.baidu.com:443, extra header(s) is(are):
X-T5-Auth: ZjQxNDIh
Https upstream is http://cloudnproxy.baidu.com:443, extra header(s) is(are):
X-T5-Auth: ZjQxNDIh
Verbose output is off.
➜  curl -x localhost:8888 https://baidu.com
<html>
<head><title>302 Found</title></head>
<body bgcolor="white">
<center><h1>302 Found</h1></center>
<hr><center>bfe/1.0.8.18</center>
</body>
</html>

Credit

# Packages

No description provided by the author
https://github.com/smallnest/rpcxlite/tree/master/log https://qvault.io/golang/golang-logging-best-practices/.
No description provided by the author