Documentation ¶
Index ¶
- Variables
- func NewAchievementRepo(data *Data, logger log.Logger) biz.AchievementRepo
- func NewAchievementServiceClient(r *nacos.Registry) achievementv1.AchievementClient
- func NewArticleRepo(data *Data, logger log.Logger) biz.ArticleRepo
- func NewColumnRepo(data *Data, logger log.Logger) biz.ColumnRepo
- func NewCommentRepo(data *Data, logger log.Logger) biz.CommentRepo
- func NewCommentServiceClient(r *nacos.Registry) commentv1.CommentClient
- func NewCreationRepo(data *Data, logger log.Logger) biz.CreationRepo
- func NewCreationServiceClient(r *nacos.Registry) creationv1.CreationClient
- func NewMessageRepo(data *Data, logger log.Logger) biz.MessageRepo
- func NewMessageServiceClient(r *nacos.Registry) messagev1.MessageClient
- func NewNewsRepo(data *Data, logger log.Logger) biz.NewsRepo
- func NewRecovery(d *Data) biz.Recovery
- func NewTalkRepo(data *Data, logger log.Logger) biz.TalkRepo
- func NewUserRepo(data *Data, logger log.Logger) biz.UserRepo
- func NewUserServiceClient(r *nacos.Registry) userv1.UserClient
- type Data
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewData, NewUserRepo, NewCreationRepo, NewArticleRepo, NewTalkRepo, NewColumnRepo, NewNewsRepo, NewAchievementRepo, NewCommentRepo, NewMessageRepo, NewUserServiceClient, NewCreationServiceClient, NewMessageServiceClient, NewAchievementServiceClient, NewCommentServiceClient, NewRecovery)
Functions ¶
func NewAchievementRepo ¶
func NewAchievementRepo(data *Data, logger log.Logger) biz.AchievementRepo
func NewAchievementServiceClient ¶
func NewAchievementServiceClient(r *nacos.Registry) achievementv1.AchievementClient
func NewArticleRepo ¶
func NewArticleRepo(data *Data, logger log.Logger) biz.ArticleRepo
func NewColumnRepo ¶
func NewColumnRepo(data *Data, logger log.Logger) biz.ColumnRepo
func NewCommentRepo ¶
func NewCommentRepo(data *Data, logger log.Logger) biz.CommentRepo
func NewCommentServiceClient ¶
func NewCommentServiceClient(r *nacos.Registry) commentv1.CommentClient
func NewCreationRepo ¶
func NewCreationRepo(data *Data, logger log.Logger) biz.CreationRepo
func NewCreationServiceClient ¶
func NewCreationServiceClient(r *nacos.Registry) creationv1.CreationClient
func NewMessageRepo ¶
func NewMessageRepo(data *Data, logger log.Logger) biz.MessageRepo
func NewMessageServiceClient ¶
func NewMessageServiceClient(r *nacos.Registry) messagev1.MessageClient
func NewRecovery ¶
func NewUserServiceClient ¶
func NewUserServiceClient(r *nacos.Registry) userv1.UserClient
Types ¶
type Data ¶
type Data struct {
// contains filtered or unexported fields
}
func NewData ¶
func NewData(uc userv1.UserClient, cc creationv1.CreationClient, mc messagev1.MessageClient, ac achievementv1.AchievementClient, commc commentv1.CommentClient, logger log.Logger) (*Data, func(), error)
Click to show internal directories.
Click to hide internal directories.