Documentation
¶
Index ¶
- func NewCommentUsecase(cr domain.CommentRepository, cc cache.CommentCache, pr domain.PostRepository, ...) domain.CommentUsecase
- func NewLikeUsecase(lr domain.LikeRepository, lc cache.LikeCache, pr domain.PostRepository, ...) domain.LikeUsecase
- func NewPostUsecase(pr domain.PostRepository, pc cache.PostCache, ur domain.UserRepository, ...) domain.PostUsecase
- func NewUserUsecase(ur domain.UserRepository, uc cache.UserCache, timeout time.Duration) domain.UserUsecase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommentUsecase ¶
func NewCommentUsecase( cr domain.CommentRepository, cc cache.CommentCache, pr domain.PostRepository, ur domain.UserRepository, timeout time.Duration, ) domain.CommentUsecase
NewCommentUsecase creates a new comment usecase
func NewLikeUsecase ¶
func NewLikeUsecase( lr domain.LikeRepository, lc cache.LikeCache, pr domain.PostRepository, ur domain.UserRepository, timeout time.Duration, ) domain.LikeUsecase
NewLikeUsecase creates a new like usecase
func NewPostUsecase ¶
func NewPostUsecase(pr domain.PostRepository, pc cache.PostCache, ur domain.UserRepository, timeout time.Duration) domain.PostUsecase
NewPostUsecase creates a new post usecase
func NewUserUsecase ¶
func NewUserUsecase(ur domain.UserRepository, uc cache.UserCache, timeout time.Duration) domain.UserUsecase
NewUserUsecase creates a new user usecase
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.