team

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 12 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TeamService

type TeamService interface {
	Create(request *bean2.TeamRequest) (*bean2.TeamRequest, error)
	FetchAllActive() ([]bean2.TeamRequest, error)
	FetchOne(id int) (*bean2.TeamRequest, error)
	Update(request *bean2.TeamRequest) (*bean2.TeamRequest, error)
	Delete(request *bean2.TeamRequest) error
	FetchForAutocomplete() ([]bean2.TeamRequest, error)
}

type TeamServiceImpl

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

func NewTeamServiceImpl

func NewTeamServiceImpl(logger *zap.SugaredLogger, teamRepository repository.TeamRepository,
	userAuthService user.UserAuthService,
	teamReadService read.TeamReadService) *TeamServiceImpl

func (TeamServiceImpl) Create

func (impl TeamServiceImpl) Create(request *bean2.TeamRequest) (*bean2.TeamRequest, error)

func (TeamServiceImpl) Delete added in v0.3.15

func (impl TeamServiceImpl) Delete(deleteRequest *bean2.TeamRequest) error

func (TeamServiceImpl) FetchAllActive added in v0.2.16

func (impl TeamServiceImpl) FetchAllActive() ([]bean2.TeamRequest, error)

func (TeamServiceImpl) FetchForAutocomplete

func (impl TeamServiceImpl) FetchForAutocomplete() ([]bean2.TeamRequest, error)

func (TeamServiceImpl) FetchOne

func (impl TeamServiceImpl) FetchOne(teamId int) (*bean2.TeamRequest, error)

func (TeamServiceImpl) Update

func (impl TeamServiceImpl) Update(request *bean2.TeamRequest) (*bean2.TeamRequest, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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