Documentation ¶
Index ¶
- func NewFeedDefaultHandler(feedRepo domain.FeedRepository) domain.FeedHandler
- func NewFeedFollowHandler(feedRepo domain.FeedRepository) domain.FeedHandler
- func NewFeedLikeHandler(feedRepo domain.FeedRepository) domain.FeedHandler
- func NewFeedPostHandler(feedRepo domain.FeedRepository, relationUsecase domain.RelationUsecase) domain.FeedHandler
- type FeedFollowHandler
- type FeedLikeHandler
- type FeedPostHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFeedDefaultHandler ¶
func NewFeedDefaultHandler(feedRepo domain.FeedRepository) domain.FeedHandler
func NewFeedFollowHandler ¶
func NewFeedFollowHandler(feedRepo domain.FeedRepository) domain.FeedHandler
func NewFeedLikeHandler ¶
func NewFeedLikeHandler(feedRepo domain.FeedRepository) domain.FeedHandler
func NewFeedPostHandler ¶
func NewFeedPostHandler(feedRepo domain.FeedRepository, relationUsecase domain.RelationUsecase) domain.FeedHandler
Types ¶
type FeedFollowHandler ¶
type FeedFollowHandler struct {
// contains filtered or unexported fields
}
func (*FeedFollowHandler) CreateFeedEvent ¶
func (h *FeedFollowHandler) CreateFeedEvent(c context.Context, t string, content domain.FeedContent) error
CreateFeedEvent need: follower followee
func (*FeedFollowHandler) FindFeedEvent ¶
type FeedLikeHandler ¶
type FeedLikeHandler struct {
// contains filtered or unexported fields
}
func (*FeedLikeHandler) CreateFeedEvent ¶
func (h *FeedLikeHandler) CreateFeedEvent(c context.Context, t string, content domain.FeedContent) error
CreateFeedEvent need: liker liked biz bizID
func (*FeedLikeHandler) FindFeedEvent ¶
type FeedPostHandler ¶
type FeedPostHandler struct {
// contains filtered or unexported fields
}
func (*FeedPostHandler) CreateFeedEvent ¶
func (h *FeedPostHandler) CreateFeedEvent(c context.Context, t string, content domain.FeedContent) error
CreateFeedEvent need: user_id
func (*FeedPostHandler) FindFeedEvent ¶
Click to show internal directories.
Click to hide internal directories.