Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserService ¶
type UserService interface { Register(ctx *fiber.Ctx, req user_entity.UserRegisterRequest) (user_entity.UserResponse, error) Edit(ctx *fiber.Ctx, req user_entity.NurseEditRequest) (user_entity.UserResponse, error) Login(ctx *fiber.Ctx, req user_entity.UserLoginRequest) (user_entity.UserResponse, error) GiveAccess(ctx *fiber.Ctx, req user_entity.NurseAccessRequest) (user_entity.UserResponse, error) Search(ctx *fiber.Ctx, req user_entity.UserGetRequest) (user_entity.UserGetResponse, error) Delete(ctx *fiber.Ctx) (user_entity.UserResponse, error) }
func NewUserService ¶
func NewUserService(userRepository userRep.UserRepository, authService authService.AuthService, validator *validator.Validate) UserService
Click to show internal directories.
Click to hide internal directories.