service

package
v0.0.0-...-60b14e4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserDomainService

type UserDomainService interface {
	CreateUserServices(model.UserDomainInterface) (model.UserDomainInterface, *rest_err.RestErr)

	FindUserByIDServices(id string) (
		model.UserDomainInterface,
		*rest_err.RestErr,
	)

	FindUserByEmailServices(email string) (
		model.UserDomainInterface,
		*rest_err.RestErr,
	)

	UpdateUser(string, model.UserDomainInterface) *rest_err.RestErr
	DeleteUser(string) *rest_err.RestErr

	LoginUserServices(
		userDomain model.UserDomainInterface,
	) (
		model.UserDomainInterface,
		string,
		*rest_err.RestErr,
	)
}

func NewUserDomainService

func NewUserDomainService(
	userRepository repository.UserRepository,
) UserDomainService

Jump to

Keyboard shortcuts

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