users

package
Version: v0.0.0-...-67365ed Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authenticator

func Authenticator(c *gin.Context) (interface{}, error)

Authenticator handler

func GetUser

func GetUser(id primitive.ObjectID) (*models.User, error)

GetUser by ID

func HandleGetProfile

func HandleGetProfile(c *gin.Context)

func HandleRegister

func HandleRegister(c *gin.Context)

func RetrieveByEmail

func RetrieveByEmail(email string) (*models.User, error)

RetrieveByEmail finds user by email

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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