user

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Profile

type Profile struct {
	// ID describe the unique identify code of user
	ID int64 `json:"-" db:"sn"`

	// AccessToken describe this user's accessToken
	AccessToken string `json:"access_token" db:"access_token"`

	// Password describe user's password to login system
	Password string `json:"-" db:"password"`

	// Email describe user's email to login system
	Email string `json:"email" db:"email"`
}

Profile declare a user basic information

Jump to

Keyboard shortcuts

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