package
0.0.0-20180304115054-b60b3b5a5985
Repository: https://github.com/sakeven/httpproxy.git
Documentation: pkg.go.dev

# Functions

Check checks username and password.
CheckAdmin checks authorization.
ClearHeaders clear headers.
CopyHeaders copy headers from source to destination.
CopyResponse copys response from src to dest.
GetBuf gets a buffer from default pool.
NeedAuth requires authorization.
NewBufferPool creates a new buffer pool.
NewServer returns a new proxyserver.
NewWebServer creates a WebServer to manage.
PutBuf puts a buffer back default pool.
RmProxyHeaders remove Hop-by-hop headers.

# Variables

HTTP200 http 200 response.
HTTP401 http 401 response.
HTTP407 http 407 response.

# Structs

BufferPool holds a pool of buffer.
Server is a server of proxy.
WebServer is a manager server.