Documentation ¶
Index ¶
- type WisprProxy
- func (w *WisprProxy) AddFileServer(path, hostname string)
- func (w *WisprProxy) AddReverseProxyRule(h string, regexps ...string)
- func (w *WisprProxy) Allow(h string)
- func (w *WisprProxy) IsAllowed(h string) bool
- func (w *WisprProxy) Process(sourceReq *http.Request, destReq *http.Request)
- func (w *WisprProxy) RoundTrip(r *http.Request) (*http.Response, error)
- func (w *WisprProxy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WisprProxy ¶
func NewWisprProxy ¶
func NewWisprProxy() *WisprProxy
func (*WisprProxy) AddFileServer ¶
func (w *WisprProxy) AddFileServer(path, hostname string)
func (*WisprProxy) AddReverseProxyRule ¶
func (w *WisprProxy) AddReverseProxyRule(h string, regexps ...string)
func (*WisprProxy) Allow ¶
func (w *WisprProxy) Allow(h string)
func (*WisprProxy) IsAllowed ¶
func (w *WisprProxy) IsAllowed(h string) bool
func (*WisprProxy) Process ¶
func (w *WisprProxy) Process(sourceReq *http.Request, destReq *http.Request)
func (*WisprProxy) ServeHTTP ¶
func (w *WisprProxy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.