Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheProxy ¶
type CacheProxy struct {
// contains filtered or unexported fields
}
func New ¶
func New(replicas *int) *CacheProxy
func (*CacheProxy) Add ¶
func (c *CacheProxy) Add(name string)
func (*CacheProxy) Backends ¶
func (c *CacheProxy) Backends(req *http.Request) []string
Returns the nearest match and a set of alternates for any HTTP request.
func (*CacheProxy) Manage ¶
func (c *CacheProxy) Manage(port *string)
func (*CacheProxy) Serve ¶
func (c *CacheProxy) Serve(port *string, routerPort *string)
type MeteredTransport ¶
Embeds http.Transport for use along with metrics registry
Click to show internal directories.
Click to hide internal directories.