Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Gin example

This is an example of how to use the middleware with the gin web framework.

Using it

To try this out:

  • Install all dependencies with go mod vendor.
  • Run go run . to start the app.
  • Use jwt.io to generate a JWT signed with the HS256 algorithm and secret.
  • Call http://localhost:3000 with the JWT to get a response back.