friend

package
v0.0.0-...-6d7266f Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertFriendPb

func ConvertFriendPb(in *types.FriendNewReq) (out *friendrpc.FriendNewReq)

func ConvertFriendTypes

func ConvertFriendTypes(in *friendrpc.FriendDetails) (out *types.FriendBackDTO)

Types

type AddFriendLogic

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

func NewAddFriendLogic

func NewAddFriendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddFriendLogic

创建友链

func (*AddFriendLogic) AddFriend

func (l *AddFriendLogic) AddFriend(req *types.FriendNewReq) (resp *types.FriendBackDTO, err error)

type BatchDeleteFriendLogic

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

func NewBatchDeleteFriendLogic

func NewBatchDeleteFriendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchDeleteFriendLogic

批量删除友链

func (*BatchDeleteFriendLogic) BatchDeleteFriend

func (l *BatchDeleteFriendLogic) BatchDeleteFriend(req *types.IdsReq) (resp *types.BatchResp, err error)

type DeleteFriendLogic

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

func NewDeleteFriendLogic

func NewDeleteFriendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteFriendLogic

删除友链

func (*DeleteFriendLogic) DeleteFriend

func (l *DeleteFriendLogic) DeleteFriend(req *types.IdReq) (resp *types.BatchResp, err error)

type FindFriendListLogic

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

func NewFindFriendListLogic

func NewFindFriendListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindFriendListLogic

分页获取友链列表

func (*FindFriendListLogic) FindFriendList

func (l *FindFriendListLogic) FindFriendList(req *types.FriendQuery) (resp *types.PageResp, err error)

type UpdateFriendLogic

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

func NewUpdateFriendLogic

func NewUpdateFriendLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateFriendLogic

更新友链

func (*UpdateFriendLogic) UpdateFriend

func (l *UpdateFriendLogic) UpdateFriend(req *types.FriendNewReq) (resp *types.FriendBackDTO, err error)

Jump to

Keyboard shortcuts

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