rpcc

package
v0.0.0-...-e7f8777 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AckMessageReq

type AckMessageReq struct {
	Account   string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	MessageId int64  `protobuf:"varint,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AckMessageReq) Descriptor deprecated

func (*AckMessageReq) Descriptor() ([]byte, []int)

Deprecated: Use AckMessageReq.ProtoReflect.Descriptor instead.

func (*AckMessageReq) GetAccount

func (x *AckMessageReq) GetAccount() string

func (*AckMessageReq) GetMessageId

func (x *AckMessageReq) GetMessageId() int64

func (*AckMessageReq) ProtoMessage

func (*AckMessageReq) ProtoMessage()

func (*AckMessageReq) ProtoReflect

func (x *AckMessageReq) ProtoReflect() protoreflect.Message

func (*AckMessageReq) Reset

func (x *AckMessageReq) Reset()

func (*AckMessageReq) String

func (x *AckMessageReq) String() string

type CreateGroupReq

type CreateGroupReq struct {
	App          string   `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
	Name         string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Avatar       string   `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"`
	Introduction string   `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"`
	Owner        string   `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
	Members      []string `protobuf:"bytes,6,rep,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGroupReq) Descriptor deprecated

func (*CreateGroupReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateGroupReq.ProtoReflect.Descriptor instead.

func (*CreateGroupReq) GetApp

func (x *CreateGroupReq) GetApp() string

func (*CreateGroupReq) GetAvatar

func (x *CreateGroupReq) GetAvatar() string

func (*CreateGroupReq) GetIntroduction

func (x *CreateGroupReq) GetIntroduction() string

func (*CreateGroupReq) GetMembers

func (x *CreateGroupReq) GetMembers() []string

func (*CreateGroupReq) GetName

func (x *CreateGroupReq) GetName() string

func (*CreateGroupReq) GetOwner

func (x *CreateGroupReq) GetOwner() string

func (*CreateGroupReq) ProtoMessage

func (*CreateGroupReq) ProtoMessage()

func (*CreateGroupReq) ProtoReflect

func (x *CreateGroupReq) ProtoReflect() protoreflect.Message

func (*CreateGroupReq) Reset

func (x *CreateGroupReq) Reset()

func (*CreateGroupReq) String

func (x *CreateGroupReq) String() string

type CreateGroupResp

type CreateGroupResp struct {
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGroupResp) Descriptor deprecated

func (*CreateGroupResp) Descriptor() ([]byte, []int)

Deprecated: Use CreateGroupResp.ProtoReflect.Descriptor instead.

func (*CreateGroupResp) GetGroupId

func (x *CreateGroupResp) GetGroupId() string

func (*CreateGroupResp) ProtoMessage

func (*CreateGroupResp) ProtoMessage()

func (*CreateGroupResp) ProtoReflect

func (x *CreateGroupResp) ProtoReflect() protoreflect.Message

func (*CreateGroupResp) Reset

func (x *CreateGroupResp) Reset()

func (*CreateGroupResp) String

func (x *CreateGroupResp) String() string

type GetGroupReq

type GetGroupReq struct {
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGroupReq) Descriptor deprecated

func (*GetGroupReq) Descriptor() ([]byte, []int)

Deprecated: Use GetGroupReq.ProtoReflect.Descriptor instead.

func (*GetGroupReq) GetGroupId

func (x *GetGroupReq) GetGroupId() string

func (*GetGroupReq) ProtoMessage

func (*GetGroupReq) ProtoMessage()

func (*GetGroupReq) ProtoReflect

func (x *GetGroupReq) ProtoReflect() protoreflect.Message

func (*GetGroupReq) Reset

func (x *GetGroupReq) Reset()

func (*GetGroupReq) String

func (x *GetGroupReq) String() string

type GetGroupResp

type GetGroupResp struct {
	Id           string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name         string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Avatar       string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"`
	Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"`
	Owner        string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
	CreatedAt    int64  `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGroupResp) Descriptor deprecated

func (*GetGroupResp) Descriptor() ([]byte, []int)

Deprecated: Use GetGroupResp.ProtoReflect.Descriptor instead.

func (*GetGroupResp) GetAvatar

func (x *GetGroupResp) GetAvatar() string

func (*GetGroupResp) GetCreatedAt

func (x *GetGroupResp) GetCreatedAt() int64

func (*GetGroupResp) GetId

func (x *GetGroupResp) GetId() string

func (*GetGroupResp) GetIntroduction

func (x *GetGroupResp) GetIntroduction() string

func (*GetGroupResp) GetName

func (x *GetGroupResp) GetName() string

func (*GetGroupResp) GetOwner

func (x *GetGroupResp) GetOwner() string

func (*GetGroupResp) ProtoMessage

func (*GetGroupResp) ProtoMessage()

func (*GetGroupResp) ProtoReflect

func (x *GetGroupResp) ProtoReflect() protoreflect.Message

func (*GetGroupResp) Reset

func (x *GetGroupResp) Reset()

func (*GetGroupResp) String

func (x *GetGroupResp) String() string

type GetOfflineMessageContentReq

type GetOfflineMessageContentReq struct {
	MessageIds []int64 `protobuf:"varint,1,rep,packed,name=message_ids,json=messageIds,proto3" json:"message_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOfflineMessageContentReq) Descriptor deprecated

func (*GetOfflineMessageContentReq) Descriptor() ([]byte, []int)

Deprecated: Use GetOfflineMessageContentReq.ProtoReflect.Descriptor instead.

func (*GetOfflineMessageContentReq) GetMessageIds

func (x *GetOfflineMessageContentReq) GetMessageIds() []int64

func (*GetOfflineMessageContentReq) ProtoMessage

func (*GetOfflineMessageContentReq) ProtoMessage()

func (*GetOfflineMessageContentReq) ProtoReflect

func (*GetOfflineMessageContentReq) Reset

func (x *GetOfflineMessageContentReq) Reset()

func (*GetOfflineMessageContentReq) String

func (x *GetOfflineMessageContentReq) String() string

type GetOfflineMessageContentResp

type GetOfflineMessageContentResp struct {
	List []*Message `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOfflineMessageContentResp) Descriptor deprecated

func (*GetOfflineMessageContentResp) Descriptor() ([]byte, []int)

Deprecated: Use GetOfflineMessageContentResp.ProtoReflect.Descriptor instead.

func (*GetOfflineMessageContentResp) GetList

func (x *GetOfflineMessageContentResp) GetList() []*Message

func (*GetOfflineMessageContentResp) ProtoMessage

func (*GetOfflineMessageContentResp) ProtoMessage()

func (*GetOfflineMessageContentResp) ProtoReflect

func (*GetOfflineMessageContentResp) Reset

func (x *GetOfflineMessageContentResp) Reset()

func (*GetOfflineMessageContentResp) String

type GetOfflineMessageIndexReq

type GetOfflineMessageIndexReq struct {
	Account   string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	MessageId int64  `protobuf:"varint,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOfflineMessageIndexReq) Descriptor deprecated

func (*GetOfflineMessageIndexReq) Descriptor() ([]byte, []int)

Deprecated: Use GetOfflineMessageIndexReq.ProtoReflect.Descriptor instead.

func (*GetOfflineMessageIndexReq) GetAccount

func (x *GetOfflineMessageIndexReq) GetAccount() string

func (*GetOfflineMessageIndexReq) GetMessageId

func (x *GetOfflineMessageIndexReq) GetMessageId() int64

func (*GetOfflineMessageIndexReq) ProtoMessage

func (*GetOfflineMessageIndexReq) ProtoMessage()

func (*GetOfflineMessageIndexReq) ProtoReflect

func (*GetOfflineMessageIndexReq) Reset

func (x *GetOfflineMessageIndexReq) Reset()

func (*GetOfflineMessageIndexReq) String

func (x *GetOfflineMessageIndexReq) String() string

type GetOfflineMessageIndexResp

type GetOfflineMessageIndexResp struct {
	List []*MessageIndex `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOfflineMessageIndexResp) Descriptor deprecated

func (*GetOfflineMessageIndexResp) Descriptor() ([]byte, []int)

Deprecated: Use GetOfflineMessageIndexResp.ProtoReflect.Descriptor instead.

func (*GetOfflineMessageIndexResp) GetList

func (x *GetOfflineMessageIndexResp) GetList() []*MessageIndex

func (*GetOfflineMessageIndexResp) ProtoMessage

func (*GetOfflineMessageIndexResp) ProtoMessage()

func (*GetOfflineMessageIndexResp) ProtoReflect

func (*GetOfflineMessageIndexResp) Reset

func (x *GetOfflineMessageIndexResp) Reset()

func (*GetOfflineMessageIndexResp) String

func (x *GetOfflineMessageIndexResp) String() string

type GroupMembersReq

type GroupMembersReq struct {
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupMembersReq) Descriptor deprecated

func (*GroupMembersReq) Descriptor() ([]byte, []int)

Deprecated: Use GroupMembersReq.ProtoReflect.Descriptor instead.

func (*GroupMembersReq) GetGroupId

func (x *GroupMembersReq) GetGroupId() string

func (*GroupMembersReq) ProtoMessage

func (*GroupMembersReq) ProtoMessage()

func (*GroupMembersReq) ProtoReflect

func (x *GroupMembersReq) ProtoReflect() protoreflect.Message

func (*GroupMembersReq) Reset

func (x *GroupMembersReq) Reset()

func (*GroupMembersReq) String

func (x *GroupMembersReq) String() string

type GroupMembersResp

type GroupMembersResp struct {
	Users []*Member `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupMembersResp) Descriptor deprecated

func (*GroupMembersResp) Descriptor() ([]byte, []int)

Deprecated: Use GroupMembersResp.ProtoReflect.Descriptor instead.

func (*GroupMembersResp) GetUsers

func (x *GroupMembersResp) GetUsers() []*Member

func (*GroupMembersResp) ProtoMessage

func (*GroupMembersResp) ProtoMessage()

func (*GroupMembersResp) ProtoReflect

func (x *GroupMembersResp) ProtoReflect() protoreflect.Message

func (*GroupMembersResp) Reset

func (x *GroupMembersResp) Reset()

func (*GroupMembersResp) String

func (x *GroupMembersResp) String() string

type InsertMessageReq

type InsertMessageReq struct {
	Sender   string   `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Dest     string   `protobuf:"bytes,2,opt,name=dest,proto3" json:"dest,omitempty"`
	SendTime int64    `protobuf:"varint,3,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"`
	Message  *Message `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*InsertMessageReq) Descriptor deprecated

func (*InsertMessageReq) Descriptor() ([]byte, []int)

Deprecated: Use InsertMessageReq.ProtoReflect.Descriptor instead.

func (*InsertMessageReq) GetDest

func (x *InsertMessageReq) GetDest() string

func (*InsertMessageReq) GetMessage

func (x *InsertMessageReq) GetMessage() *Message

func (*InsertMessageReq) GetSendTime

func (x *InsertMessageReq) GetSendTime() int64

func (*InsertMessageReq) GetSender

func (x *InsertMessageReq) GetSender() string

func (*InsertMessageReq) ProtoMessage

func (*InsertMessageReq) ProtoMessage()

func (*InsertMessageReq) ProtoReflect

func (x *InsertMessageReq) ProtoReflect() protoreflect.Message

func (*InsertMessageReq) Reset

func (x *InsertMessageReq) Reset()

func (*InsertMessageReq) String

func (x *InsertMessageReq) String() string

type InsertMessageResp

type InsertMessageResp struct {
	MessageId int64 `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// contains filtered or unexported fields
}

func (*InsertMessageResp) Descriptor deprecated

func (*InsertMessageResp) Descriptor() ([]byte, []int)

Deprecated: Use InsertMessageResp.ProtoReflect.Descriptor instead.

func (*InsertMessageResp) GetMessageId

func (x *InsertMessageResp) GetMessageId() int64

func (*InsertMessageResp) ProtoMessage

func (*InsertMessageResp) ProtoMessage()

func (*InsertMessageResp) ProtoReflect

func (x *InsertMessageResp) ProtoReflect() protoreflect.Message

func (*InsertMessageResp) Reset

func (x *InsertMessageResp) Reset()

func (*InsertMessageResp) String

func (x *InsertMessageResp) String() string

type JoinGroupReq

type JoinGroupReq struct {
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*JoinGroupReq) Descriptor deprecated

func (*JoinGroupReq) Descriptor() ([]byte, []int)

Deprecated: Use JoinGroupReq.ProtoReflect.Descriptor instead.

func (*JoinGroupReq) GetAccount

func (x *JoinGroupReq) GetAccount() string

func (*JoinGroupReq) GetGroupId

func (x *JoinGroupReq) GetGroupId() string

func (*JoinGroupReq) ProtoMessage

func (*JoinGroupReq) ProtoMessage()

func (*JoinGroupReq) ProtoReflect

func (x *JoinGroupReq) ProtoReflect() protoreflect.Message

func (*JoinGroupReq) Reset

func (x *JoinGroupReq) Reset()

func (*JoinGroupReq) String

func (x *JoinGroupReq) String() string

type Member

type Member struct {
	Account  string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Alias    string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
	Avatar   string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"`
	JoinTime int64  `protobuf:"varint,4,opt,name=join_time,json=joinTime,proto3" json:"join_time,omitempty"`
	// contains filtered or unexported fields
}

func (*Member) Descriptor deprecated

func (*Member) Descriptor() ([]byte, []int)

Deprecated: Use Member.ProtoReflect.Descriptor instead.

func (*Member) GetAccount

func (x *Member) GetAccount() string

func (*Member) GetAlias

func (x *Member) GetAlias() string

func (*Member) GetAvatar

func (x *Member) GetAvatar() string

func (*Member) GetJoinTime

func (x *Member) GetJoinTime() int64

func (*Member) ProtoMessage

func (*Member) ProtoMessage()

func (*Member) ProtoReflect

func (x *Member) ProtoReflect() protoreflect.Message

func (*Member) Reset

func (x *Member) Reset()

func (*Member) String

func (x *Member) String() string

type Message

type Message struct {
	Id    int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Type  int32  `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
	Body  string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	Extra string `protobuf:"bytes,4,opt,name=extra,proto3" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

func (*Message) Descriptor() ([]byte, []int)

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetBody

func (x *Message) GetBody() string

func (*Message) GetExtra

func (x *Message) GetExtra() string

func (*Message) GetId

func (x *Message) GetId() int64

func (*Message) GetType

func (x *Message) GetType() int32

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

func (x *Message) ProtoReflect() protoreflect.Message

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type MessageIndex

type MessageIndex struct {
	MessageId int64  `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	Direction int32  `protobuf:"varint,2,opt,name=direction,proto3" json:"direction,omitempty"`
	SendTime  int64  `protobuf:"varint,3,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"`
	AccountB  string `protobuf:"bytes,4,opt,name=account_b,json=accountB,proto3" json:"account_b,omitempty"`
	Group     string `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageIndex) Descriptor deprecated

func (*MessageIndex) Descriptor() ([]byte, []int)

Deprecated: Use MessageIndex.ProtoReflect.Descriptor instead.

func (*MessageIndex) GetAccountB

func (x *MessageIndex) GetAccountB() string

func (*MessageIndex) GetDirection

func (x *MessageIndex) GetDirection() int32

func (*MessageIndex) GetGroup

func (x *MessageIndex) GetGroup() string

func (*MessageIndex) GetMessageId

func (x *MessageIndex) GetMessageId() int64

func (*MessageIndex) GetSendTime

func (x *MessageIndex) GetSendTime() int64

func (*MessageIndex) ProtoMessage

func (*MessageIndex) ProtoMessage()

func (*MessageIndex) ProtoReflect

func (x *MessageIndex) ProtoReflect() protoreflect.Message

func (*MessageIndex) Reset

func (x *MessageIndex) Reset()

func (*MessageIndex) String

func (x *MessageIndex) String() string

type QuitGroupReq

type QuitGroupReq struct {
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*QuitGroupReq) Descriptor deprecated

func (*QuitGroupReq) Descriptor() ([]byte, []int)

Deprecated: Use QuitGroupReq.ProtoReflect.Descriptor instead.

func (*QuitGroupReq) GetAccount

func (x *QuitGroupReq) GetAccount() string

func (*QuitGroupReq) GetGroupId

func (x *QuitGroupReq) GetGroupId() string

func (*QuitGroupReq) ProtoMessage

func (*QuitGroupReq) ProtoMessage()

func (*QuitGroupReq) ProtoReflect

func (x *QuitGroupReq) ProtoReflect() protoreflect.Message

func (*QuitGroupReq) Reset

func (x *QuitGroupReq) Reset()

func (*QuitGroupReq) String

func (x *QuitGroupReq) String() string

type User

type User struct {
	Account   string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Alias     string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
	Avatar    string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"`
	CreatedAt int64  `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAccount

func (x *User) GetAccount() string

func (*User) GetAlias

func (x *User) GetAlias() string

func (*User) GetAvatar

func (x *User) GetAvatar() string

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() int64

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Jump to

Keyboard shortcuts

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