usersmodels

package
v0.0.12-20240720144950... Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2024 License: GPL-3.0 Imports: 1 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthLogin

type AuthLogin struct {
	Email     string `bson:"email,omitempty"`
	AuthToken string `bson:"auth_token,omitempty"`
}

type User

type User struct {
	CreationDate   *int64 `bson:"creationdate,omitempty"`
	LastUpdate     *int64 `bson:"updatedate,omitempty"`
	Email          string `bson:"email,omitempty"`
	Password       string `bson:"password,omitempty"`
	Username       string `bson:"username,omitempty"`
	Validated      bool   `bson:"validated"`
	ValidationCode string `bson:"validation_code,omitempty"`
	ProfilePic     string `bson:"profile_pic,omitempty"`
	ID             string `bson:"_id,omitempty"`
}

func (*User) Clone

func (u *User) Clone() *User

func (*User) PurgedBson

func (u *User) PurgedBson() bson.M

Jump to

Keyboard shortcuts

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