_example

command
v0.0.0-...-51f5316 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2021 License: MIT, MIT Imports: 4 Imported by: 0

Documentation

Overview

Iris provides some basic middleware, most for your learning courve. You can use any net/http compatible middleware with iris.ToHandler wrapper.

JWT net/http video tutorial for golang newcomers: https://www.youtube.com/watch?v=dgJFeqeXVKw

This middleware is the only one cloned from external source: https://github.com/auth0/go-jwt-middleware (because it used "context" to define the user but we don't need that so a simple iris.ToHandler wouldn't work as expected.)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL