Documentation
¶
Overview ¶
Package reverseproxycache provides the HTTP Reverse Proxy Cache Backend provider
Index ¶
- func NewClient(name string, o *bo.Options, router http.Handler, cache cache.Cache, ...) (backends.Backend, error)
- type Client
- func (c *Client) DefaultHealthCheckConfig() *ho.Options
- func (c *Client) DefaultPathConfigs(_ *bo.Options) po.Lookup
- func (c *Client) ProxyCacheHandler(w http.ResponseWriter, r *http.Request)
- func (c *Client) ProxyHandler(w http.ResponseWriter, r *http.Request)
- func (c *Client) RegisterHandlers(handlers.Lookup)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
Client Implements the Proxy Client Interface
func (*Client) DefaultHealthCheckConfig ¶
DefaultHealthCheckConfig returns the default HealthCheck Config for this backend provider
func (*Client) DefaultPathConfigs ¶
DefaultPathConfigs returns the default PathConfigs for the given Provider
func (*Client) ProxyCacheHandler ¶
func (c *Client) ProxyCacheHandler(w http.ResponseWriter, r *http.Request)
ProxyCacheHandler routes an HTTP Request through the Object Proxy Cache
func (*Client) ProxyHandler ¶
func (c *Client) ProxyHandler(w http.ResponseWriter, r *http.Request)
ProxyHandler will proxy the inbound HTTP Request to the configured origin
func (*Client) RegisterHandlers ¶
Click to show internal directories.
Click to hide internal directories.