usecase

package
v0.0.0-...-3eef48c Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2019 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 UserUsecase

type UserUsecase interface {
	CreateUser(*domain.User) shared.Output
	GetUser(uint) shared.Output
	GetAllUser(*shared.Parameters) shared.Output
	GetTotalUser(*shared.Parameters) shared.Output
	RemoveUser(uint) shared.Output
}

UserUsecase interface

type UserUsecaseImpl

type UserUsecaseImpl struct {
	// contains filtered or unexported fields
}

UserUsecaseImpl struct

func NewUserUsecaseImpl

func NewUserUsecaseImpl(userRepositoryRead, userRepositoryWrite repository.UserRepository,
	organizationRepository organizationRepository.OrganizationRepository) *UserUsecaseImpl

NewUserUsecaseImpl function

func (*UserUsecaseImpl) CreateUser

func (u *UserUsecaseImpl) CreateUser(user *domain.User) shared.Output

CreateUser function

func (*UserUsecaseImpl) RemoveUser

func (u *UserUsecaseImpl) RemoveUser(id uint) shared.Output

RemoveUser function

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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