Documentation ¶
Index ¶
- func CreateUser(u *models.User) (*models.UserResponse, error)
- func DeleteUser(id string) error
- func GetProfile(id *string) (*models.UserResponse, error)
- func LoginUser(l *models.LoginUser) (*models.LoginResponse, error)
- func UpdateUser(id string, u *models.UpdateUser) (*models.UserResponse, error)
- type Jwt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUser ¶
func CreateUser(u *models.User) (*models.UserResponse, error)
func DeleteUser ¶
func GetProfile ¶
func GetProfile(id *string) (*models.UserResponse, error)
func UpdateUser ¶
func UpdateUser(id string, u *models.UpdateUser) (*models.UserResponse, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.