Documentation
¶
Index ¶
Constants ¶
View Source
const ( SrcHTTPExplicit string = "HTTP/EXPLI" SrcHTTPTransparent string = "HTTP/TRANS" SrcHTTPSExplicit string = "TLS/EXPLI " SrcHTTPSTransparent string = "TLS/TRANS " )
View Source
const PREFIX = "---HTTP-RESPONSE---\n"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigRule ¶
ConfigRule implements Rule interface for config-based rules
type ProxyResponse ¶
ProxyResponse holds the response data from upstream
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents the caching proxy server
func (*Server) GetProxy ¶
func (s *Server) GetProxy() *goproxy.ProxyHttpServer
GetProxy returns the underlying goproxy instance for testing
func (*Server) StartTransparentHTTPS ¶
StartTransparentHTTPS enables transparent HTTPS proxying
Click to show internal directories.
Click to hide internal directories.