data

package
v1.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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 NewNewsRepo

func NewNewsRepo(data *Data, logger log.Logger) biz.NewsRepo

func NewRecovery

func NewRecovery(d *Data) biz.Recovery

func NewTalkRepo

func NewTalkRepo(data *Data, logger log.Logger) biz.TalkRepo

func NewUserRepo

func NewUserRepo(data *Data, logger log.Logger) biz.UserRepo

func NewUserServiceClient

func NewUserServiceClient(r *nacos.Registry) userv1.UserClient

Types

type Data

type Data struct {
	// contains filtered or unexported fields
}

func (*Data) GroupRecover

func (d *Data) GroupRecover(ctx context.Context, fn func(ctx context.Context) error) func() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL