Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Token ¶
type Token struct {
UserID uint
jwt.StandardClaims
}
type User ¶
type User struct {
ID primitive.ObjectID `json:"id" bson:"_id" `
UserID string `json:"user_id" bson:"user_id"`
Username string `json:"username" bson:"username"`
Password string `json:"-" bson:"password"`
Name string `json:"name" bson:"name" `
Phone string `json:"phone" bson:"phone" `
PhotoName string `json:"photo_name" bson:"photo" `
Role string `json:"role" bson:"role"`
Status int32 `json:"status" bson:"status"`
Token string `json:"-"`
Embeddings [][]float64 `json:"embeddings" bson:"embeddings"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
DeletedAt *time.Time `json:"deleted_at"`
}
type UserEmbeddings ¶
type UserRecognition ¶
type UserVerify ¶
Click to show internal directories.
Click to hide internal directories.