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
func (UserService) Register ¶
func (u UserService) Register() fiber.Handler
Register godoc @Summary Register a user @Description Handles user register by processing the provided credentials. @Tags Auth @Accept json @Produce json @Param username {object} user.RegistrationUserInfo true @Success 200 @Failure 500 string true "Internal server error" @Router /registration [post]
Click to show internal directories.
Click to hide internal directories.