passport

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dao

type Dao struct {
	// contains filtered or unexported fields
}

Dao dao

func New

func New(c *conf.Config) (d *Dao)

New new

func (*Dao) FastReg

func (d *Dao) FastReg(c context.Context, mid int64, ip string) (isRegFast bool, err error)

func (*Dao) QueryByMid

func (d *Dao) QueryByMid(c context.Context, mid int64, ip string) (*model.PassportProfile, error)

QueryByMid is.

func (*Dao) TestUserName

func (d *Dao) TestUserName(c context.Context, name string, mid int64, ip string) error

TestUserName is.

func (*Dao) UpdateName

func (d *Dao) UpdateName(c context.Context, mid int64, name, ip string) error

UpdateName is.

func (*Dao) UserID

func (d *Dao) UserID(c context.Context, mid int64, ip string) (userID string, err error)

UserID user id.

Jump to

Keyboard shortcuts

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