Documentation ¶
Index ¶
- func CreateUser(db *gorm.DB, config *config.Config, token *jwt.JWT, form model.CreateUserForm, ...) (*model.User, error)
- func DeleteUser(db *gorm.DB, config *config.Config, token *jwt.JWT, id string) (*model.User, error)
- func InviteEmail(db *gorm.DB, config *config.Config, token *jwt.JWT, name string, email string, ...) (*model.User, error)
- func InvitePhone(db *gorm.DB, config *config.Config, token *jwt.JWT, name string, phone string, ...) (*model.User, error)
- func User(db *gorm.DB, config *config.Config, token *jwt.JWT, id string) (*model.User, error)
- func Users(db *gorm.DB, config *config.Config, token *jwt.JWT, fields []string, ...) ([]*model.User, error)
- func UsersCount(db *gorm.DB, config *config.Config, token *jwt.JWT, ...) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUser ¶
func DeleteUser ¶
func InviteEmail ¶
func InvitePhone ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.