user_service

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2024 License: MIT Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL