Documentation ¶
Index ¶
- func ChangeEmail(db *gorm.DB, config *config.Config, token *jwt.JWT, new_email string, ...) (*model.User, error)
- func ChangePassword(db *gorm.DB, config *config.Config, token *jwt.JWT, ...) (*model.User, error)
- func ChangePhone(db *gorm.DB, config *config.Config, token *jwt.JWT, phone string, ...) (*model.User, error)
- func ConfirmEmailChange(db *gorm.DB, config *config.Config, token *jwt.JWT, email_change_token string, ...) (*model.User, error)
- func ConfirmPhoneChange(db *gorm.DB, config *config.Config, token *jwt.JWT, phone_change_token string, ...) (*model.User, error)
- func Logout(db *gorm.DB, config *config.Config, writer http.ResponseWriter) (*bool, error)
- func Logs(db *gorm.DB, config *config.Config, token *jwt.JWT, offset, limit int) ([]*model.Log, error)
- func Me(db *gorm.DB, config *config.Config, token *jwt.JWT) (*model.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeEmail ¶
func ChangePassword ¶
func ChangePhone ¶
func ConfirmEmailChange ¶
func ConfirmPhoneChange ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.