controllers

package
v0.0.0-...-5217b34 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2019 License: MIT Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfirmAccountController

func ConfirmAccountController(c *gin.Context)

ConfirmAccountController is a function that hundle the confirm account route

func DeleteMe

func DeleteMe(c *gin.Context)

func DeleteUser

func DeleteUser(c *gin.Context)

DeleteUser delete user by id

func GetAllUsers

func GetAllUsers(c *gin.Context)

GetAllUsers get all users

func GetMe

func GetMe(c *gin.Context)

func GetUserByID

func GetUserByID(c *gin.Context)

GetUserByID get a user by id

func LoginController

func LoginController(c *gin.Context)

LoginController is a function that handle the login route

func PutMe

func PutMe(c *gin.Context)

func RecoveryController

func RecoveryController(c *gin.Context)

RecoveryController is a function that handle the recovery password route

func RegisterController

func RegisterController(c *gin.Context)

RegisterController is a function that handle the register route

func SecretController

func SecretController(c *gin.Context)

SecretController is a function that hundle a secret way to the api

func UpdateUserByID

func UpdateUserByID(c *gin.Context)

UpdateUserByID update a user by id

Types

This section is empty.

Jump to

Keyboard shortcuts

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