controller

package
v0.0.0-...-6eb8140 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProfileController

type ProfileController interface {
	UpdateUser(c *fiber.Ctx) error
	DeleteUser(c *fiber.Ctx) error
	GetUser(c *fiber.Ctx) error
	ChangePassword(c *fiber.Ctx) error
}

func NewProfileController

func NewProfileController(profileService service.ProfileService) ProfileController

type ProfileControllerImpl

type ProfileControllerImpl struct {
	ProfileService service.ProfileService
}

func (*ProfileControllerImpl) ChangePassword

func (a *ProfileControllerImpl) ChangePassword(c *fiber.Ctx) error

func (*ProfileControllerImpl) DeleteUser

func (a *ProfileControllerImpl) DeleteUser(c *fiber.Ctx) error

func (*ProfileControllerImpl) GetUser

func (a *ProfileControllerImpl) GetUser(c *fiber.Ctx) error

func (*ProfileControllerImpl) UpdateUser

func (a *ProfileControllerImpl) UpdateUser(c *fiber.Ctx) error

Jump to

Keyboard shortcuts

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