command
module
Version:
v0.0.0-...-44c0f35
Opens a new window with list of versions in this module.
Published: Jan 31, 2020
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
¶
gin-authentication-middleware
Gin authentication middleware sample, read the blogpost at for an explanation medium.com/@dandua98/gin-authentication-middleware-e659965877b6
Testing the Application
Clone the application from here to your $GOPATH/src
and then run dep ensure
and go run main.go
cd $GOPATH/src
go get github.com/dandua98/gin-authentication-middleware
cd github.com/dandua98/gin-authentication-middleware
go run main.go
Now try the endpoints using Postman or cURL with your session generated with the required authType
from the login endpoint.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.