Description

Handle dispatches to the given handler when the pattern matches, regardless of HTTP method.

This method is commonly used to implement sub-routing: an admin application, for instance, can expose a single handler that is attached to the main Mux by calling Handle("/admin/*", adminHandler) or similar. Note that this function doesn't strip this prefix from the path before forwarding it on (e.g., the handler will see the full path, including the "/admin/" part), but this functionality can easily be performed by an extra middleware layer.

Handle is referenced in 31 repositories

github.com/zenazn/goji github.com/albertyes/dronetest github.com/janelia-flyem/dvid

...