Documentation ¶
Index ¶
- type TeamService
- type TeamServiceImpl
- func (impl TeamServiceImpl) Create(request *bean2.TeamRequest) (*bean2.TeamRequest, error)
- func (impl TeamServiceImpl) Delete(deleteRequest *bean2.TeamRequest) error
- func (impl TeamServiceImpl) FetchAllActive() ([]bean2.TeamRequest, error)
- func (impl TeamServiceImpl) FetchForAutocomplete() ([]bean2.TeamRequest, error)
- func (impl TeamServiceImpl) FetchOne(teamId int) (*bean2.TeamRequest, error)
- func (impl TeamServiceImpl) Update(request *bean2.TeamRequest) (*bean2.TeamRequest, error)
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)
Click to show internal directories.
Click to hide internal directories.