Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type EmailValidator ¶
type EmailValidator struct {
// contains filtered or unexported fields
}
type User ¶
type User struct { ID primitive.ObjectID `bson:"_id,omitempty" ` Username string `json:"username" bson:"username"` Email string `bson:"email,omitempty" json:"email,omitempty"` Password string `json:"password" bson:"password"` PasswordHash string `json:"passwordhash" bson:"passwordhash"` Token string `json:"token,omitempty" bson:"token,omitempty"` Private string `json:"private,omitempty" bson:"private,omitempty"` Public string `json:"public,omitempty" bson:"public,omitempty"` }
Click to show internal directories.
Click to hide internal directories.