Documentation ¶
Index ¶
- func CreateUser(user Models.User) (int, error)
- func GenerateToken(user Models.User, expires time.Duration) (string, error)
- func GetUserByEmail(email string) (Models.User, error)
- func GetUserById(id int) (Models.User, error)
- func UpdateUser(user Models.User) error
- func VerifyToken(token string, claims *Models.Claims) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateUser ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.