record

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FocusHandler

func FocusHandler(ctx *svc.ServiceContext) gin.HandlerFunc

@Summary 关注消息 @Description @Author dld@33.cn @Tags record 消息模块 @Accept json @Produce json @Param FZM-SIGNATURE header string true "MOCK" @Param data body model.FocusMsgReq true "body" @Success 200 {object} model.GeneralResponse{} @Router /app/record/focus [post]

func GetPriRecords

func GetPriRecords(ctx *svc.ServiceContext) gin.HandlerFunc

GetPriRecords @Summary 获得聊天记录 @Author chy@33.cn @Tags record 消息模块 @Accept json @Produce json @Param FZM-SIGNATURE header string true "MOCK" @Param data body model.GetPriRecordsReq false "body" @Success 200 {object} model.GeneralResponse{data=model.GetPriRecordsResp} @Router /app/pri-chat-record [post]

func PushToUid

func PushToUid(ctx *svc.ServiceContext) gin.HandlerFunc

PushToUid @Summary 推送消息 @Description comet.Proto由接口组装,客户端只需传入comet.Proto的body部分 @Author dld@33.cn @Tags record 消息模块 @Accept mpfd @Produce json @Param FZM-SIGNATURE header string true "MOCK" @Param message body string true "消息协议序列化" @Success 200 {object} model.GeneralResponse{} @Router /record/push [post]

func PushToUid2

func PushToUid2(ctx *svc.ServiceContext) gin.HandlerFunc

PushToUid2 @Summary 推送消息2 @Description comet.Proto由客户端传入 @Author dld@33.cn @Tags record 消息模块 @Accept mpfd @Produce json @Param FZM-SIGNATURE header string true "MOCK" @Param message body string true "消息协议序列化" @Success 200 {object} model.GeneralResponse{} @Router /record/push2 [post]

func RevokeHandler

func RevokeHandler(ctx *svc.ServiceContext) gin.HandlerFunc

RevokeHandler @Summary 撤回消息 @Description @Author dld@33.cn @Tags record 消息模块 @Accept json @Produce json @Param FZM-SIGNATURE header string true "MOCK" @Param data body model.RevokeMsgReq true "body" @Success 200 {object} model.GeneralResponse{} @Router /app/record/revoke [post]

func SyncRecords

func SyncRecords(ctx *svc.ServiceContext) gin.HandlerFunc

SyncRecords @Summary 同步聊天记录 @Author dld@33.cn @Tags record 消息模块 @Accept json @Produce json @Param FZM-SIGNATURE header string true "MOCK" @Param data body model.SyncRecordsReq false "body" @Success 200 {object} model.GeneralResponse{data=model.SyncRecordsResp} @Router /app/sync-record [post]

Types

This section is empty.

Jump to

Keyboard shortcuts

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