Documentation ¶
Index ¶
- type AuthController
- type AuthControllerImpl
- func (a *AuthControllerImpl) ChangePassword(c *fiber.Ctx) error
- func (a *AuthControllerImpl) CreateDriver(c *fiber.Ctx) error
- func (a *AuthControllerImpl) CreateGov(c *fiber.Ctx) error
- func (a *AuthControllerImpl) CreateOwner(c *fiber.Ctx) error
- func (a *AuthControllerImpl) CreateUser(c *fiber.Ctx) error
- func (a *AuthControllerImpl) LoginUser(c *fiber.Ctx) error
- func (a *AuthControllerImpl) ResetPassword(c *fiber.Ctx) error
- func (a *AuthControllerImpl) SendResetPasswordLink(c *fiber.Ctx) error
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 (*AuthControllerImpl) SendResetPasswordLink ¶
func (a *AuthControllerImpl) SendResetPasswordLink(c *fiber.Ctx) error
Click to show internal directories.
Click to hide internal directories.