services

package
v0.0.0-...-de7324e Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 6 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 {
	CreateUser(dto *dto.CreateUserDTO) error
	GetAllUsers(query utils.QueryParams) ([]*dto.UserDTO, utils.Meta, error)
	GetUserById(userId string) (*dto.UserDTO, error)
	UpdateUser(userId string, dto *dto.UpdateUserDTO) (*dto.UserDTO, error)
	DeleteUser(userId string) error
}

func NewUserService

func NewUserService(userRepository repositories.UserRepository) UserService

Jump to

Keyboard shortcuts

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