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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MeHandler

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

func NewMeHandler

func NewMeHandler(
	userRepository *repositories.UserRepository,
) *MeHandler

func (*MeHandler) Handle

func (hch *MeHandler) Handle(ctx fiber.Ctx) error

TODO: add swagger response Get profile godoc

@Param			Authorization header	string	true	"123"
@Tags			User Controller
@Accept			json
@Produce		json

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

Jump to

Keyboard shortcuts

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