imuserservice

package
v1.0.2-rc2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonResp

type CommonResp = pb.CommonResp

type GetGroupMemberIDListFromCacheReq

type GetGroupMemberIDListFromCacheReq = pb.GetGroupMemberIDListFromCacheReq

type GetGroupMemberIDListFromCacheResp

type GetGroupMemberIDListFromCacheResp = pb.GetGroupMemberIDListFromCacheResp

type GetSingleConversationRecvMsgOptsReq

type GetSingleConversationRecvMsgOptsReq = pb.GetSingleConversationRecvMsgOptsReq

type GetSingleConversationRecvMsgOptsResp

type GetSingleConversationRecvMsgOptsResp = pb.GetSingleConversationRecvMsgOptsResp

type GetUserListFromGroupWithOptReq

type GetUserListFromGroupWithOptReq = pb.GetUserListFromGroupWithOptReq

type GetUserListFromGroupWithOptResp

type GetUserListFromGroupWithOptResp = pb.GetUserListFromGroupWithOptResp

type IfAInBBlacklistReq

type IfAInBBlacklistReq = pb.IfAInBBlacklistReq

type IfAInBBlacklistResp

type IfAInBBlacklistResp = pb.IfAInBBlacklistResp

type IfAInBFriendListReq

type IfAInBFriendListReq = pb.IfAInBFriendListReq

type IfAInBFriendListResp

type IfAInBFriendListResp = pb.IfAInBFriendListResp

type IfPreviewMessageReq

type IfPreviewMessageReq = pb.IfPreviewMessageReq

type IfPreviewMessageResp

type IfPreviewMessageResp = pb.IfPreviewMessageResp

type ImUserService

type ImUserService interface {
	//  判断用户A是否在B黑名单中
	IfAInBBlacklist(ctx context.Context, in *IfAInBBlacklistReq, opts ...grpc.CallOption) (*IfAInBBlacklistResp, error)
	//  判断用户A是否在B好友列表中
	IfAInBFriendList(ctx context.Context, in *IfAInBFriendListReq, opts ...grpc.CallOption) (*IfAInBFriendListResp, error)
	//  获取单聊会话的消息接收选项
	GetSingleConversationRecvMsgOpts(ctx context.Context, in *GetSingleConversationRecvMsgOptsReq, opts ...grpc.CallOption) (*GetSingleConversationRecvMsgOptsResp, error)
	//  获取群成员列表 通过消息接收选项
	GetUserListFromGroupWithOpt(ctx context.Context, in *GetUserListFromGroupWithOptReq, opts ...grpc.CallOption) (*GetUserListFromGroupWithOptResp, error)
	//  检查token
	VerifyToken(ctx context.Context, in *VerifyTokenReq, opts ...grpc.CallOption) (*VerifyTokenResp, error)
	//  是否预览消息
	IfPreviewMessage(ctx context.Context, in *IfPreviewMessageReq, opts ...grpc.CallOption) (*IfPreviewMessageResp, error)
	//  用户回调
	UserCallback(ctx context.Context, in *UserCallbackReq, opts ...grpc.CallOption) (*UserCallbackResp, error)
}

func NewImUserService

func NewImUserService(cli zrpc.Client) ImUserService

type UserCallbackReq added in v1.0.1

type UserCallbackReq = pb.UserCallbackReq

type UserCallbackResp added in v1.0.1

type UserCallbackResp = pb.UserCallbackResp

type UserIDOpt

type UserIDOpt = pb.UserIDOpt

type UserInfo

type UserInfo = pb.UserInfo

type VerifyTokenReq

type VerifyTokenReq = pb.VerifyTokenReq

type VerifyTokenResp

type VerifyTokenResp = pb.VerifyTokenResp

Jump to

Keyboard shortcuts

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