controller

package
v0.0.0-...-77ca5db Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthController

type AuthController interface {
	CreateUser(c *fiber.Ctx) error
	CreateDriver(c *fiber.Ctx) error
	CreateOwner(c *fiber.Ctx) error
	CreateGov(c *fiber.Ctx) error
	LoginUser(c *fiber.Ctx) error
	SendResetPasswordLink(c *fiber.Ctx) error
	ResetPassword(c *fiber.Ctx) error
	ChangePassword(c *fiber.Ctx) error
}

func NewAuthController

func NewAuthController(authService service.AuthService) AuthController

type AuthControllerImpl

type AuthControllerImpl struct {
	AuthService service.AuthService
}

func (*AuthControllerImpl) ChangePassword

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

func (*AuthControllerImpl) CreateDriver

func (a *AuthControllerImpl) CreateDriver(c *fiber.Ctx) error

func (*AuthControllerImpl) CreateGov

func (a *AuthControllerImpl) CreateGov(c *fiber.Ctx) error

func (*AuthControllerImpl) CreateOwner

func (a *AuthControllerImpl) CreateOwner(c *fiber.Ctx) error

func (*AuthControllerImpl) CreateUser

func (a *AuthControllerImpl) CreateUser(c *fiber.Ctx) error

func (*AuthControllerImpl) LoginUser

func (a *AuthControllerImpl) LoginUser(c *fiber.Ctx) error

func (*AuthControllerImpl) ResetPassword

func (a *AuthControllerImpl) ResetPassword(c *fiber.Ctx) error
func (a *AuthControllerImpl) SendResetPasswordLink(c *fiber.Ctx) error

Jump to

Keyboard shortcuts

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