block by joyrexus 5f7c072725ce47a4f8f3

auth wrapper for httprouter

Demostrates how to create a Basic Auth wrapper for httprouter Handles.

This example was taken from the httprouter package’s README.

auth.go