userModles

package
v0.0.0-...-f30c324 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserAccount

type UserAccount struct {
	Id             string    `json:"id"`
	Email          string    `json:"email"`
	Phone          string    `json:"phone"`
	Phone_country  string    `json:"phone_country"`
	Password       string    `json:"password"`
	Email_verify   bool      `json:"email_verify"`
	Phone_verify   bool      `json:"phone_verify"`
	Avatar         string    `json:"avatar"`
	Display_name   string    `json:"display_name"`
	Username       string    `json:"username"`
	Github_connect string    `json:"github_connect"`
	Google_connect string    `json:"google_connect"`
	Email_2fa      bool      `json:"email_2fa"`
	Phone_2fa      bool      `json:"phone_2fa"`
	Totp_2fa       bool      `json:"totp_2fa"`
	Totp           string    `json:"totp"`
	Default_2fa    int       `json:"default_2fa"`
	Create_at      time.Time `json:"create_at"`
	Update_at      time.Time `json:"update_at"`
}

type UserDetil

type UserDetil struct {
	Id             string    `json:"id"`
	Email          string    `json:"email"`
	Phone          string    `json:"phone"`
	Phone_country  string    `json:"phone_country"`
	Password       string    `json:"password"`
	Email_verify   bool      `json:"email_verify"`
	Phone_verify   bool      `json:"phone_verify"`
	Avatar         string    `json:"avatar"`
	Display_name   string    `json:"display_name"`
	Username       string    `json:"username"`
	Github_connect string    `json:"github_connect"`
	Google_connect string    `json:"google_connect"`
	Email_2fa      bool      `json:"email_2fa"`
	Phone_2fa      bool      `json:"phone_2fa"`
	Totp_2fa       bool      `json:"totp_2fa"`
	Totp           string    `json:"totp"`
	Default_2fa    int       `json:"default_2fa"`
	Bio            string    `json:"bio"`
	Public_email   string    `json:"public_email"`
	Pronouns       string    `json:"pronouns"`
	Related_links  []string  `json:`
	Create_at      time.Time `json:"create_at"`
	Update_at      time.Time `json:"update_at"`
}

Jump to

Keyboard shortcuts

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