Documentation
¶
Index ¶
- type FeedController
- type ItemController
- func (ic ItemController) FindAllItem(req item_dto.FindAllItemReq) (dto.Paginated[[]item_dto.FindAllItemRes], bool)
- func (ic ItemController) FindNextItems(req item_dto.FindNextReq) ([]item_dto.FindNextRes, bool)
- func (ic ItemController) IncreaseLikeCount(req item_dto.IncreaseLikeCountReq) (*item_dto.IncreaseLikeCountRes, bool)
- func (ic ItemController) IncreaseViewCount(req item_dto.IncreaseViewCountReq) (*item_dto.IncreaseViewCountRes, bool)
- type SubscriptionController
- type TagController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeedController ¶
type FeedController struct {
// contains filtered or unexported fields
}
func NewFeedController ¶
func NewFeedController(feedUsecase feed.FeedUsecase) FeedController
type ItemController ¶
type ItemController struct {
// contains filtered or unexported fields
}
func NewItemController ¶
func NewItemController(itemUsecase item.ItemUsecase) ItemController
func (ItemController) FindAllItem ¶
func (ic ItemController) FindAllItem(req item_dto.FindAllItemReq) (dto.Paginated[[]item_dto.FindAllItemRes], bool)
func (ItemController) FindNextItems ¶
func (ic ItemController) FindNextItems(req item_dto.FindNextReq) ([]item_dto.FindNextRes, bool)
func (ItemController) IncreaseLikeCount ¶
func (ic ItemController) IncreaseLikeCount(req item_dto.IncreaseLikeCountReq) (*item_dto.IncreaseLikeCountRes, bool)
func (ItemController) IncreaseViewCount ¶
func (ic ItemController) IncreaseViewCount(req item_dto.IncreaseViewCountReq) (*item_dto.IncreaseViewCountRes, bool)
type SubscriptionController ¶
type SubscriptionController struct {
// contains filtered or unexported fields
}
func NewSubscriptionController ¶
func NewSubscriptionController(subscriptionUcase subscription.SubscriptionUsecase) SubscriptionController
func (SubscriptionController) Apply ¶
func (sc SubscriptionController) Apply(req subscription_dto.ApplyReq) (*subscription_dto.ApplyRes, bool)
func (SubscriptionController) Approve ¶
func (sc SubscriptionController) Approve(req subscription_dto.ApproveReq) (*subscription_dto.ApproveRes, bool)
type TagController ¶
type TagController struct {
// contains filtered or unexported fields
}
func NewTagController ¶
func NewTagController(jobTagUsecase tag.JobTagUsecase, skillTagUcase tag.SkillTagUsecase) TagController
func (TagController) FindAllJobTag ¶
func (tc TagController) FindAllJobTag() ([]tag_dto.FindAllJobTagRes, bool)
func (TagController) FindAllSkillTag ¶
func (tc TagController) FindAllSkillTag() ([]tag_dto.FindAllSkillTagRes, bool)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.