Documentation ¶ Index ¶ func InitModule(cfg jconf.SubConfig) (rpmod rproxymod.ProxyModule, err error) type Config type Module func (m *Module) Deinit() error func (m *Module) ProcessRequest(reqCtx *rproxymod.RequestContext, inReq *http.Request, proxyReq *http.Request) (res *http.Response, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func InitModule ¶ func InitModule(cfg jconf.SubConfig) (rpmod rproxymod.ProxyModule, err error) Types ¶ type Config ¶ type Config struct { Forward map[string]string } type Module ¶ type Module struct { rproxymod.BaseModule // contains filtered or unexported fields } func (*Module) Deinit ¶ func (m *Module) Deinit() error func (*Module) ProcessRequest ¶ func (m *Module) ProcessRequest(reqCtx *rproxymod.RequestContext, inReq *http.Request, proxyReq *http.Request) (res *http.Response, err error) Source Files ¶ View all Source files forwarder.go Click to show internal directories. Click to hide internal directories.