package
0.0.0-20200802004238-a7413d3a5c41
Repository: https://github.com/dophin2009/nao.git
Documentation: pkg.go.dev
# Functions
ReadKeyFromEnv reads the JWT secret key from a .env file at the given path and returns it.
WriteKeyToEnv writes the given JWT secret key to a .env file at the given path.
# Structs
Authenticator authenticates JSON web tokens.
Claims is a custom JWT claims type with username and expiration information.