command
Version:
v0.0.0-...-bf4b264
Opens a new window with list of versions in this module.
Published: Feb 11, 2015
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Negroni example
This is an example of how to use the Negroni middleware.
Using it
To try this out, first install all dependencies with go install
and then run go run main.go
to start the app.
- Call
http://localhost:3001/ping
to get a JSon response without the need of a JWT.
- Call
http://localhost:3001/secured/ping
with a JWT signed with My Secret
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.