Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToRouter ¶
func AddToRouter(fiberApp fiber.Router, handler user.HttpHandler)
func SpanNameStrategy ¶
func SpanNameStrategy(c *fiber.Ctx) string
Types ¶
type TracesObject ¶
type TracesObject struct { }
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func NewUserService ¶
func NewUserService(userUsecase user.Usecase) *UserService
func (UserService) Login ¶
func (u UserService) Login() fiber.Handler
Login godoc @Summary Login a user @Description Handles user login by processing the provided credentials. @Tags Auth @Accept json @Produce json @Param username body string true "Username" @Param password body string true "Password" @Success 200 {object} map[string]bool "Login successful" @Failure 500 {object} map[string]bool "Internal server error" @Router /login [post]
Click to show internal directories.
Click to hide internal directories.