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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrganizationUsecase

type OrganizationUsecase interface {
	CreateOrganization(*domain.Organization) shared.Output
	GetOrganization(uint) shared.Output
	GetAllOrganization(*shared.Parameters) shared.Output
	GetTotalOrganization(*shared.Parameters) shared.Output
	RemoveOrganization(uint) shared.Output
}

OrganizationUsecase interface

type OrganizationUsecaseImpl

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

OrganizationUsecaseImpl struct

func NewOrganizationUsecaseImpl

func NewOrganizationUsecaseImpl(OrganizationRepositoryRead, OrganizationRepositoryWrite repository.OrganizationRepository) *OrganizationUsecaseImpl

NewOrganizationUsecaseImpl function

func (*OrganizationUsecaseImpl) CreateOrganization

func (u *OrganizationUsecaseImpl) CreateOrganization(organization *domain.Organization) shared.Output

CreateOrganization function

func (*OrganizationUsecaseImpl) GetAllOrganization

func (u *OrganizationUsecaseImpl) GetAllOrganization(params *shared.Parameters) shared.Output

GetAllOrganization function

func (*OrganizationUsecaseImpl) GetOrganization

func (u *OrganizationUsecaseImpl) GetOrganization(id uint) shared.Output

GetOrganization function

func (*OrganizationUsecaseImpl) GetTotalOrganization

func (u *OrganizationUsecaseImpl) GetTotalOrganization(params *shared.Parameters) shared.Output

GetTotalOrganization function

func (*OrganizationUsecaseImpl) RemoveOrganization

func (u *OrganizationUsecaseImpl) RemoveOrganization(id uint) shared.Output

RemoveOrganization function

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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