Overview of pathmux tree lookup
masterPathmux is a package for effective tree lookup with wildcard matching. It is a fork of httptreemux that exposes the internal tree lookup interface and removes HTTP-specific wrappers.
Use pathmux instead of httptreemux if you need to:
- Store a large number of custom objects in a lookup tree keyed by path values.
- Use the backtracking feature to refine wildcard matching evaluation using custom logic (instructing the lookup to continue searching the tree if a matched object does not meet specific custom conditions).