command
Version:
v2.0.0-beta.1
Opens a new window with list of versions in this module.
Published: Jan 6, 2022
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
HTTP example
This is an example of how to use the http middleware.
Using it
To try this out:
- Install all dependencies with
go mod vendor.
- Run
go run main.go 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.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.