Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSchemeHTTPOrHTTPS ¶
Types ¶
type ForwardFroxy ¶
type ForwardFroxy struct { On bool Whitelist map[string]struct{} ForwardChainInfo bool // contains filtered or unexported fields }
func ConfigForwardFroxy ¶
func ConfigForwardFroxy() *ForwardFroxy
func (*ForwardFroxy) ServeHTTP ¶
func (ff *ForwardFroxy) ServeHTTP(w http.ResponseWriter, req *http.Request)
type StandardForwardProxy ¶
type StandardForwardProxy struct{}
func (StandardForwardProxy) ServeHTTP ¶
func (sfp StandardForwardProxy) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.