Documentation
¶
Index ¶
- Variables
- func CheckProxyAuth(user, pass string) bool
- func ConnectVerbose(next http.Handler) http.Handler
- func IsProxy(r *http.Request) bool
- func IsProxyAuthenticated(r *http.Request) bool
- func NewProxyHandler() http.Handler
- func ProxyAuthenticate(next http.Handler) http.Handler
- func ProxyBasicAuth(r *http.Request) (username, password string, ok bool)
- func ProxyDispatcher(r *http.Request) http.Handler
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthenticatedProxyHandler = ConnectVerbose(ProxyAuthenticate(NewProxyHandler()))
Functions ¶
func CheckProxyAuth ¶
func ConnectVerbose ¶
ConnectVerbose is a misnomer It also logs plain HTTP proxy requests, which do not have CONNECT method
func IsProxyAuthenticated ¶ added in v0.0.1
func NewProxyHandler ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.