Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func NewAuthHandler ¶
func NewAuthHandler(log *slog.Logger, db *sqlx.DB, authService *auth.AuthService) *AuthHandler
func (*AuthHandler) UserLogin ¶
func (h *AuthHandler) UserLogin(c *gin.Context)
func (*AuthHandler) UserRegister ¶
func (h *AuthHandler) UserRegister(c *gin.Context)
type AuthRequest ¶
type DefaultResponse ¶
type DefaultResponse struct {
Message string `json:"message"`
}
type LoginResponse ¶
type LoginResponse struct {
Token string `json:"token"`
}
Click to show internal directories.
Click to hide internal directories.