Documentation ¶
Overview ¶
Package proxy is middleware that proxies requests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(c middleware.Controller) (middleware.Middleware, error)
New creates a new instance of proxy middleware.
Types ¶
type Proxy ¶
type Proxy struct { Next middleware.Handler Rules []Rule }
Proxy represents a middleware instance that can proxy requests.
Click to show internal directories.
Click to hide internal directories.