user_management

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUserController

func AddUserController(c *fiber.Ctx) error

///////////////////////////////////////////////////////////

                                                     //
                AddUserController                    //
  This controller adds user to inventory system      //
It requires login credentials and information about  //
               the new user.                         //
                                                     //

///////////////////////////////////////////////////////////

func DeleteUserController

func DeleteUserController(c *fiber.Ctx) error

///////////////////////////////////////////////////////////

                                                     //
             DeleteUserController                    //
This controller deletes the user given in request    //
    It requires deleteUserRequest instance           //
                                                     //

///////////////////////////////////////////////////////////

func EnableTwoFactorController

func EnableTwoFactorController(c *fiber.Ctx) error

This controller enables two factor authentication for the user, who requested this endpoint

func ListUserController

func ListUserController(c *fiber.Ctx) error

//////////////////////////////////////////////////////////////////

                                                       //
               ListUserController                      //
        This controller fetches all user               //
It requires models.LoginWithTokenRequest instance      //
                                                       //

//////////////////////////////////////////////////////////////////

Types

This section is empty.

Jump to

Keyboard shortcuts

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