userpass

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: MIT Imports: 8 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMongoUserPasswordModel

func NewMongoUserPasswordModel(mongoCli *mongo.Client, dbName, collectionName string, logger l.Wrapper) userpass.UserPasswordModel

Types

type User

type User struct {
	ID       uint64                 `bson:"_id"`
	UserName string                 `bson:"user_name"`
	Password string                 `bson:"password"`
	CreateAt int64                  `bson:"create_at"`
	ExData   map[string]interface{} `bson:"ex_data"`
}

Jump to

Keyboard shortcuts

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