Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegHandler ¶
type RegHandler struct {
// contains filtered or unexported fields
}
func NewRegHandler ¶
func NewRegHandler( ur *repositories.UserRepository, tr *repositories.TokensRepository, jwt *services.JWTAuthenticator, jwtConfig *configs.JWTConfig, ) *RegHandler
func (*RegHandler) Handle ¶
func (h *RegHandler) Handle(ctx fiber.Ctx) error
TODO: add swagger response Reg new user godoc
@Param body body dtos.RegistrationRequestDto true "Body" @Tags User Controller @Accept json @Produce json
@Success 200 {object} map[string]string @Router /api/v1/user/reg [post]
Click to show internal directories.
Click to hide internal directories.