Routing

This short example showcases how the p/demo/mux package works. This pure package aims to offer similar functionality to http.ServeMux in Go, but for Gno's Render() requests.

This home page is handled by the homeHandler function. Check out the examples below for more ways to use this package: