Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(address string, cfg *gatewayconfig.PassthroughComponent, protected bool, rewritePathFunc RewritePathFunc) (http.Handler, error)
NewHandler to create a reverse proxy handler and returns it. The reverse proxy will rewrite url path .
Types ¶
type RewritePathFunc ¶
RewritePathFunc rewrites url path.
Click to show internal directories.
Click to hide internal directories.