Added auth routes with jwt generation and middleware.

This commit is contained in:
2026-04-25 19:38:31 +02:00
parent 8ec981c860
commit 371784af77
5 changed files with 190 additions and 10 deletions
+8 -4
View File
@@ -2,13 +2,17 @@ module nfeeder
go 1.26.1
require github.com/jackc/pgx/v5 v5.9.1
require (
github.com/go-chi/chi/v5 v5.2.5
github.com/golang-jwt/jwt/v5 v5.3.1
github.com/jackc/pgx/v5 v5.9.1
golang.org/x/crypto v0.50.0
)
require (
github.com/go-chi/chi/v5 v5.2.5 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
golang.org/x/sync v0.17.0 // indirect
golang.org/x/text v0.29.0 // indirect
golang.org/x/sync v0.20.0 // indirect
golang.org/x/text v0.36.0 // indirect
)