Categorygithub.com/zapote/apply-auth
repositorypackage
0.2.4
Repository: https://github.com/zapote/apply-auth.git
Documentation: pkg.go.dev

# README

apply-auth

jwt-authorization


//init with secret
auth.Init("my-secret")

//add routes for public access
auth.AllowAnonymous("/public", "GET")

//http handler
auth.JWT