feat: applied auth on go services

This commit is contained in:
2025-01-04 14:10:20 +00:00
parent 02af66b585
commit 55edac6abe
8 changed files with 182 additions and 112 deletions
@@ -6,11 +6,6 @@ type TokenResponseDTO struct {
UserID string `json:"user_id"`
}
// TokenRequestDTO represents a request for operations involving tokens.
type TokenRequestDTO struct {
Token string `json:"token"`
}
// LoginRequestDTO represents the login request.
type LoginRequestDTO struct {
Email string `json:"email"`