Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPProxy ¶ added in v0.2.0
HTTPProxy defines a HTTPProxy data structure
func NewHTTPProxy ¶ added in v0.2.0
NewHTTPProxy creates a new tcp proxy
func (*HTTPProxy) ListenAndServe ¶ added in v0.2.0
func (p *HTTPProxy) ListenAndServe()
ListenAndServe listens on proxy.Address and then calls Serve to handle requests on incoming connections.
type HTTPSProxy ¶ added in v0.2.0
HTTPSProxy defines a HTTPSProxy data structure
func NewHTTPSProxy ¶ added in v0.2.0
func NewHTTPSProxy(p HTTPSProxy) (*HTTPSProxy, error)
NewHTTPSProxy creates a new tcp proxy
func (*HTTPSProxy) ListenAndServe ¶ added in v0.2.0
func (p *HTTPSProxy) ListenAndServe()
ListenAndServe listens on proxy.Address and then calls Serve to handle requests on incoming connections.
Click to show internal directories.
Click to hide internal directories.