//
pkg.gl
Category
github.com/paulwaldo/building-microservices-with-go
Chapter08
chapter8-master
jwt
package
0.0.0-20250218190523-b123c3ebbebe
Repository:
https://github.com/paulwaldo/building-microservices-with-go.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
7
Dependents
0
Files
48 SLOC
#
Functions
GenerateJWT
GenerateJWT creates a new JWT and signs it with the private key.
ValidateJWT
ValidateJWT validates that the given slice is a valid JWT and the signature matches the public key.