chat

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CHSaveReq

type CHSaveReq = template.CHSaveReq

type Chat

type Chat interface {
	MessageSave(ctx context.Context, in *MsgSaveReq) (*Rsp, error)
	MessageList(ctx context.Context, in *MsgListReq) (*MsgListRsp, error)
	ChatHistoryList(ctx context.Context, in *ChatHistoryReq) (*ChatHistoryRsp, error)
	ChatNumber(ctx context.Context, in *ChatNumberReq) (*ChatNumberRsp, error)
	ChatHistorySave(ctx context.Context, in *CHSaveReq) (*Rsp, error)
}

func NewChat

func NewChat(cli zrpc.Client) Chat

type ChatHistoryReq

type ChatHistoryReq = template.ChatHistoryReq

type ChatHistoryRsp

type ChatHistoryRsp = template.ChatHistoryRsp

type ChatMessage

type ChatMessage = template.ChatMessage

type ChatNumberReq

type ChatNumberReq = template.ChatNumberReq

type ChatNumberRsp

type ChatNumberRsp = template.ChatNumberRsp

type ChatUser

type ChatUser = template.ChatUser

type MsgListReq

type MsgListReq = template.MsgListReq

type MsgListRsp

type MsgListRsp = template.MsgListRsp

type MsgSaveReq

type MsgSaveReq = template.MsgSaveReq

type Rsp

type Rsp = template.Rsp

Jump to

Keyboard shortcuts

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