backend-service/internal/handlers/auth.go

34 lines
752 B
Go
Raw Normal View History

package handlers
import (
"github.com/gin-gonic/gin"
)
type AuthHandler struct {
// Will be implemented in later tasks
}
func NewAuthHandler() *AuthHandler {
return &AuthHandler{}
}
func (h *AuthHandler) Register(c *gin.Context) {
// Will be implemented in task 6
c.JSON(501, gin.H{"message": "Not implemented yet"})
}
func (h *AuthHandler) Login(c *gin.Context) {
// Will be implemented in task 6
c.JSON(501, gin.H{"message": "Not implemented yet"})
}
func (h *AuthHandler) GetProfile(c *gin.Context) {
// Will be implemented in task 6
c.JSON(501, gin.H{"message": "Not implemented yet"})
}
func (h *AuthHandler) UpdateProfile(c *gin.Context) {
// Will be implemented in task 6
c.JSON(501, gin.H{"message": "Not implemented yet"})
}