logic

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetMaxAndMinSeqLogic

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

func NewGetMaxAndMinSeqLogic

func NewGetMaxAndMinSeqLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMaxAndMinSeqLogic

func (*GetMaxAndMinSeqLogic) GetMaxAndMinSeq

type GetMinAndMaxGroupSeqLogic

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

func NewGetMinAndMaxGroupSeqLogic

func NewGetMinAndMaxGroupSeqLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMinAndMaxGroupSeqLogic

func (*GetMinAndMaxGroupSeqLogic) GetMinAndMaxGroupSeq

type MsgCallBackReq

type MsgCallBackReq struct {
	SendID       string `json:"sendID"`
	RecvID       string `json:"recvID"`
	Content      string `json:"content"`
	SendTime     int64  `json:"sendTime"`
	ContentType  int32  `json:"contentType"`
	SessionType  int32  `json:"sessionType"`
	ClientMsgID  string `json:"clientMsgID"`
	ServerMsgID  string `json:"serverMsgID"`
	IsOnlineOnly bool   `json:"isOnlineOnly"`
}

type MsgCallBackResp

type MsgCallBackResp struct {
	ErrCode         int32  `json:"errCode"`
	ErrMsg          string `json:"errMsg"`
	ResponseErrCode int32  `json:"responseErrCode"`
	ResponseResult  struct {
		ModifiedMsg string `json:"modifiedMsg"`
		Ext         string `json:"ext"`
	}
}

type PullMessageByGroupSeqListLogic

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

func NewPullMessageByGroupSeqListLogic

func NewPullMessageByGroupSeqListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PullMessageByGroupSeqListLogic

func (*PullMessageByGroupSeqListLogic) PullMessageByGroupSeqList

func (l *PullMessageByGroupSeqListLogic) PullMessageByGroupSeqList(in *pb.PullMsgByGroupSeqListReq) (*pb.PullMsgListResp, error)

type PullMessageBySeqListLogic

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

func NewPullMessageBySeqListLogic

func NewPullMessageBySeqListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PullMessageBySeqListLogic

func (*PullMessageBySeqListLogic) PullMessageBySeqList

func (l *PullMessageBySeqListLogic) PullMessageBySeqList(in *pb.PullMsgBySeqListReq) (*pb.PullMsgListResp, error)

type SendMsgLogic

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

func NewSendMsgLogic

func NewSendMsgLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendMsgLogic

func (*SendMsgLogic) SendMsg

func (l *SendMsgLogic) SendMsg(pb *pb.SendMsgReq) (*pb.SendMsgResp, error)

Jump to

Keyboard shortcuts

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