//
pkg.gl
Category
github.com/ravelinejunior/golang_ecommerce
middleware
package
0.0.0-20231228125957-804d85aa1e39
Repository:
https://github.com/ravelinejunior/golang_ecommerce.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
1
Files
32 SLOC
#
Functions
Authentication
Authentication is a middleware function that verifies the JWT token sent in the request header and sets the user's email and ID in the context.