Categorygithub.com/triphop/gfjwt
repositorypackage
0.0.1
Repository: https://github.com/triphop/gfjwt.git
Documentation: pkg.go.dev

# README

gfjwt

This is a middleware for Gf framework.

It uses jwt-go to provide a jwt authentication middleware. It provides additional handler functions to provide the login api that will generate the token and an additional refresh handler that can be used to refresh tokens.

Use

Download and install

$ go get https://github.com/triphop/gfjwt

Import

import "https://github.com/triphop/gfjwt"