Documentation ¶
Index ¶
- func NewCommentUsecase(commentRepo domain.CommentRepository, contextTimeout time.Duration) domain.CommentUsecase
- func NewFileUsecase(repo domain.FileRepository, contextTimeout time.Duration, ...) domain.FileUsecase
- func NewInteractionUsecase(repo domain.InteractionRepository, timeout time.Duration) domain.InteractionUseCase
- func NewLoginUsecase(userRepository domain.UserRepository, timeout time.Duration) domain.LoginUsecase
- func NewPostUsecase(repo domain.PostRepository, timeout time.Duration, producer event.Producer, ...) domain.PostUsecase
- func NewRefreshTokenUsecase(userRepository domain.UserRepository, timeout time.Duration) domain.RefreshTokenUsecase
- func NewRelationUsecase(repo domain.RelationRepository, userRepo domain.UserRepository, ...) domain.RelationUsecase
- func NewSignupUsecase(userRepository domain.UserRepository, timeout time.Duration) domain.SignupUsecase
- func NewTagUsecase(repo domain.TagRepository, contextTimeout time.Duration) domain.TagUsecase
- func NewTaskUsecase(taskRepository domain.TaskRepository, timeout time.Duration) domain.TaskUsecase
- func NewUserUsecase(userRepository domain.UserRepository, timeout time.Duration) domain.UserUsecase
- type PostRankUsecase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommentUsecase ¶
func NewCommentUsecase(commentRepo domain.CommentRepository, contextTimeout time.Duration) domain.CommentUsecase
func NewFileUsecase ¶
func NewFileUsecase(repo domain.FileRepository, contextTimeout time.Duration, localStaticUrl string, urlStaticUrl string) domain.FileUsecase
func NewInteractionUsecase ¶
func NewInteractionUsecase(repo domain.InteractionRepository, timeout time.Duration) domain.InteractionUseCase
func NewLoginUsecase ¶
func NewLoginUsecase(userRepository domain.UserRepository, timeout time.Duration) domain.LoginUsecase
func NewPostUsecase ¶
func NewPostUsecase(repo domain.PostRepository, timeout time.Duration, producer event.Producer, postRankUsecase *PostRankUsecase) domain.PostUsecase
func NewRefreshTokenUsecase ¶
func NewRefreshTokenUsecase(userRepository domain.UserRepository, timeout time.Duration) domain.RefreshTokenUsecase
func NewRelationUsecase ¶
func NewRelationUsecase(repo domain.RelationRepository, userRepo domain.UserRepository, contextTimeout time.Duration) domain.RelationUsecase
func NewSignupUsecase ¶
func NewSignupUsecase(userRepository domain.UserRepository, timeout time.Duration) domain.SignupUsecase
func NewTagUsecase ¶
func NewTagUsecase(repo domain.TagRepository, contextTimeout time.Duration) domain.TagUsecase
func NewTaskUsecase ¶
func NewTaskUsecase(taskRepository domain.TaskRepository, timeout time.Duration) domain.TaskUsecase
func NewUserUsecase ¶
func NewUserUsecase(userRepository domain.UserRepository, timeout time.Duration) domain.UserUsecase
Types ¶
type PostRankUsecase ¶
type PostRankUsecase struct {
// contains filtered or unexported fields
}
func NewPostRankUsecase ¶
func NewPostRankUsecase( interactionRepository domain.InteractionRepository, postRepository domain.PostRepository, rankRepository domain.RankRepository, contextTimeout time.Duration, ) *PostRankUsecase
Source Files ¶
Click to show internal directories.
Click to hide internal directories.