handlers

package
v0.0.0-...-e796f14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UpdateProfileHandler

type UpdateProfileHandler struct {
	// contains filtered or unexported fields
}

func NewUpdateProfileHandler

func NewUpdateProfileHandler(
	ur *repositories.UserRepository,
) *UpdateProfileHandler

func (*UpdateProfileHandler) Handle

func (h *UpdateProfileHandler) Handle(ctx fiber.Ctx) error

TODO: add swagger response Update profile godoc

@Param			Authorization header	string	true	"123"
@Param			body body	dtos.UpdateProfileRequestDto	true	"Body"
@Tags			User Controller
@Accept			json
@Produce		json

@Success 200 {object} dtos.MeResponseDto @Router /api/v1/user/profile [put]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL