Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidRegularExpression = errors.New("invalid regular expression")
Functions ¶
func NewClient ¶
func NewClient(name string, o *bo.Options, router http.Handler, _ cache.Cache, clients backends.Backends, _ types.Lookup, ) (backends.Backend, error)
NewClient returns a new Rules Router client reference
func ValidateOptions ¶
func ValidateOptions(clients backends.Backends, rwi rewriter.InstructionsLookup, ) error
ValidateOptions ensures that rule clients are fully loaded, which can't be done until all backends are processed, so the rule's destination origin names can be mapped to their respective clients
Types ¶
type Client ¶
Client Implements the Proxy Client Interface
func (*Client) DefaultPathConfigs ¶
DefaultPathConfigs returns the default PathConfigs for the given Provider
func (*Client) Handler ¶
func (c *Client) Handler(w http.ResponseWriter, r *http.Request)
Handler processes the HTTP request through the rules engine
func (*Client) RegisterHandlers ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.