userService

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2017 License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Active

func Active(code string) (*model.User, error)

func Create

func Create(uname, pwd, email string, isActive, isAdmin bool) (*model.User, error)

func GetByID

func GetByID(uid uint64) (*model.User, error)

func GetByRands

func GetByRands(rands string) (*model.User, error)

func GetByUserName

func GetByUserName(uname string) (*model.User, error)

func Signin

func Signin(emailOrName, pwd string) (*model.User, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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