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 GovController

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

func NewGovController

func NewGovController(profileService service.GovService) GovController

type GovControllerImpl

type GovControllerImpl struct {
	GovService service.GovService
}

func (*GovControllerImpl) ChangePassword

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

func (*GovControllerImpl) DeleteUser

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

func (*GovControllerImpl) GetUser

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

func (*GovControllerImpl) UpdateUser

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

Jump to

Keyboard shortcuts

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