example_service

package
v0.0.0-...-b1f09d4 Latest Latest
Warning

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

Go to latest
Published: May 22, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUserWithNicknamePwd

func AddUserWithNicknamePwd(nickname string, pwd string) *auth.User

func GetUserById

func GetUserById(id uint64) *auth.User

func GetUserByNicknamePwd

func GetUserByNicknamePwd(nickname string, pwd string) *auth.User

Types

type Admin

type Admin struct {
}

func NewAdminService

func NewAdminService() *Admin

func (*Admin) AddUserWithNicknamePwd

func (x *Admin) AddUserWithNicknamePwd(nickname string, pwd string) *auth.Admin

func (*Admin) GetById

func (x *Admin) GetById(id uint64) *auth.Admin

func (*Admin) GetUserByNicknamePwd

func (x *Admin) GetUserByNicknamePwd(nickname string, pwd string) *auth.Admin

type User

type User struct {
}

func NewUserService

func NewUserService() *User

Jump to

Keyboard shortcuts

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