talk

package
v0.0.0-...-40c8909 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertTalkPb

func ConvertTalkPb(in *types.TalkNewReq) (out *talkrpc.TalkNewReq)

func ConvertTalkTypes

func ConvertTalkTypes(in *talkrpc.TalkDetails, usm map[string]*accountrpc.User) (out *types.TalkBackDTO)

Types

type AddTalkLogic

type AddTalkLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewAddTalkLogic

func NewAddTalkLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddTalkLogic

创建说说

func (*AddTalkLogic) AddTalk

func (l *AddTalkLogic) AddTalk(req *types.TalkNewReq) (resp *types.TalkBackDTO, err error)

type DeleteTalkLogic

type DeleteTalkLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeleteTalkLogic

func NewDeleteTalkLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteTalkLogic

删除说说

func (*DeleteTalkLogic) DeleteTalk

func (l *DeleteTalkLogic) DeleteTalk(req *types.IdReq) (resp *types.BatchResp, err error)

type FindTalkListLogic

type FindTalkListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewFindTalkListLogic

func NewFindTalkListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindTalkListLogic

分页获取说说列表

func (*FindTalkListLogic) FindTalkList

func (l *FindTalkListLogic) FindTalkList(req *types.TalkQuery) (resp *types.PageResp, err error)

type GetTalkLogic

type GetTalkLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetTalkLogic

func NewGetTalkLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetTalkLogic

查询说说

func (*GetTalkLogic) GetTalk

func (l *GetTalkLogic) GetTalk(req *types.IdReq) (resp *types.TalkBackDTO, err error)

type UpdateTalkLogic

type UpdateTalkLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateTalkLogic

func NewUpdateTalkLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateTalkLogic

更新说说

func (*UpdateTalkLogic) UpdateTalk

func (l *UpdateTalkLogic) UpdateTalk(req *types.TalkNewReq) (resp *types.TalkBackDTO, err error)

Jump to

Keyboard shortcuts

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