Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivationToken ¶
type Password ¶
type Password struct { ID int64 `json:"id"` Plaintext1 string `json:"plaintext_1"` Plaintext2 string `json:"plaintext_2"` Hash []byte `json:"-"` Salt []byte `json:"-"` UserID int64 `json:"-"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Version int `json:"version"` }
type PhoneNumber ¶
type Reminder ¶
type Reminder struct { ID int64 `json:"id"` Title string `json:"title"` Content string `json:"content"` UserID int64 `json:"user_id"` DueDate time.Time `json:"due_date"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Schedule []*Schedule `json:"schedule"` Version int `json:"version"` }
type User ¶
type User struct { ID int64 `json:"id"` Email string `json:"email"` Password Password `json:"password"` PhoneNumber PhoneNumber `json:"phone_number"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Scope int `json:"scope"` IsActive int `json:"is_active"` Version int `json:"version"` }
func (*User) PasswordsMatch ¶
Click to show internal directories.
Click to hide internal directories.