Versions in this module Expand all Collapse all v0 v0.0.1 Dec 24, 2025 Changes in this version + var ErrDuplicatedParamKey = errors.New("routing pattern contains duplicate param key") + var ErrInvalidRegexpPatternParamInRoute = errors.New("invalid regexp pattern in route param") + var ErrMissingClosingBracket = errors.New("route param closing delimiter '}' is missing") + var ErrReplaceMissingChildNode = errors.New("replacing missing child node") + var ErrUnsupportedProxyType = errors.New("unsupported proxy type") + var ErrWildcardMustBeLast = errors.New(...) + func NewProxyHandler(operation *schema.RelyProxyOperation, ...) (schema.RelyProxyHandler, error) + func RegisterProxyHandler(proxyType schema.RelyProxyType, constructor schema.NewRelyProxyHandlerFunc) + func ValidateOperations(pair *orderedmap.Pair[string, *schema.RelyProxyPathItem]) error + type InsertRouteOptions struct + GetEnv goenvconf.GetEnvFunc + type MetadataValidationError struct + Details map[string]any + Message string + Method string + Path string + func (mve MetadataValidationError) Error() string + type Node struct + func (n *Node) FindRoute(path string, method string) *Route + func (n *Node) InsertRoute(pattern string, operations *schema.RelyProxyPathItem, ...) (*Node, error) + type Route struct + Handler schema.RelyProxyHandler + Node *Node + ParamValues map[string]string