user

package
v0.0.0-...-4c4b7df Latest Latest
Warning

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

Go to latest
Published: May 7, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddEditUser

func AddEditUser(id int64, login, email, pwd1, pwd2 string, admin, moderator bool) error

func GetAllUser

func GetAllUser() ([]model.User, error)

func GetUser

func GetUser(id int64) (*model.User, error)

func Login

func Login(loginEmail, pwd string) (*model.User, error)

func RemoveUser

func RemoveUser(id int64) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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