Documentation ¶
Index ¶
- func DeleteUser(ctx context.Context, adminID int, userID int) (*model.DeleteUserResponse, error)
- func EditUser(ctx context.Context, userID int, editedUser model.EditedUser) (*model.EditUserResponse, error)
- func GetAllUsers(ctx context.Context, adminID int) (*model.GetAllUsersResponse, error)
- func GetUserByID(ctx context.Context, requestorID int, userID int) (*model.GetUserByIDResponse, error)
- func Login(ctx context.Context, email string, password string) (*model.AuthResponse, error)
- func Register(ctx context.Context, email string, password string, username string) (*model.AuthResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteUser ¶
func EditUser ¶
func EditUser(ctx context.Context, userID int, editedUser model.EditedUser) (*model.EditUserResponse, error)
func GetAllUsers ¶
func GetUserByID ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.