users

package
v0.0.0-...-7544200 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUser

func CreateUser(name string, email string, hashedPassword []uint8, isFacebook bool) (interface{}, error)

func IsAuthenticated

func IsAuthenticated(email string, password []byte) (bool, error)

func QueryRole

func QueryRole(userId int) (interface{}, error)

func QueryUser

func QueryUser(email string) (interface{}, error)

func QueryUserById

func QueryUserById(userID int) (interface{}, error)

func QueryUsers

func QueryUsers() (interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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