Back to godoc.org

Package users

v0.0.0-...-67365ed
Latest Go to latest

The highest tagged major version is .

Published: Mar 30, 2020 | License: MIT | Module: github.com/aureleoules/heapstate

Index

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

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier