Created
November 30, 2018 16:40
-
-
Save Bebbolus/36c0e99efe2a6d742f9af18e395b4fd7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// middleware filter incoming HTTP requests. | |
// if the request pass the filter, it calls the next HTTP handler. | |
type middleware func(http.HandlerFunc) http.HandlerFunc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment