Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(address string, cfg *gatewayconfig.PassthroughComponent, protected bool) (http.Handler, error)
NewHandler to create a reverse proxy handler and returns it. The reverse proxy will parse the requested cookie content, get the token in it, and append it as the http request header to the backend service component.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.