mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-06-18 21:45:04 +08:00
protocol: update protobuf files
This commit is contained in:
parent
ce23185cde
commit
6514cd144e
@ -3,6 +3,7 @@ package client
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/Mrs4s/MiraiGo/client/pb/qweb"
|
||||
"github.com/Mrs4s/MiraiGo/internal/proto"
|
||||
"math/rand"
|
||||
"sort"
|
||||
"time"
|
||||
@ -13,7 +14,6 @@ import (
|
||||
"github.com/Mrs4s/MiraiGo/client/pb/channel"
|
||||
"github.com/Mrs4s/MiraiGo/internal/packets"
|
||||
"github.com/Mrs4s/MiraiGo/utils"
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
type (
|
||||
|
@ -1,66 +1,13 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.27.1
|
||||
// protoc v3.14.0
|
||||
// Code generated by protoc-gen-golite. DO NOT EDIT.
|
||||
// source: pb/channel/GuildChannelBase.proto
|
||||
|
||||
package channel
|
||||
|
||||
import (
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
type ChannelUserInfo struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ClientIdentity *ClientIdentity `protobuf:"bytes,1,opt,name=clientIdentity" json:"clientIdentity,omitempty"`
|
||||
MemberType *uint32 `protobuf:"varint,2,opt,name=memberType" json:"memberType,omitempty"`
|
||||
Permission *ChannelUserPermission `protobuf:"bytes,3,opt,name=permission" json:"permission,omitempty"`
|
||||
RoleGroups []*BaseRoleGroupInfo `protobuf:"bytes,4,rep,name=roleGroups" json:"roleGroups,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ChannelUserInfo) Reset() {
|
||||
*x = ChannelUserInfo{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ChannelUserInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ChannelUserInfo) ProtoMessage() {}
|
||||
|
||||
func (x *ChannelUserInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use ChannelUserInfo.ProtoReflect.Descriptor instead.
|
||||
func (*ChannelUserInfo) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_GuildChannelBase_proto_rawDescGZIP(), []int{0}
|
||||
ClientIdentity *ClientIdentity `protobuf:"bytes,1,opt"`
|
||||
MemberType *uint32 `protobuf:"varint,2,opt"`
|
||||
Permission *ChannelUserPermission `protobuf:"bytes,3,opt"`
|
||||
RoleGroups []*BaseRoleGroupInfo `protobuf:"bytes,4,rep"`
|
||||
}
|
||||
|
||||
func (x *ChannelUserInfo) GetClientIdentity() *ClientIdentity {
|
||||
@ -92,44 +39,8 @@ func (x *ChannelUserInfo) GetRoleGroups() []*BaseRoleGroupInfo {
|
||||
}
|
||||
|
||||
type ChannelUserPermission struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
AllowReadFeed *bool `protobuf:"varint,1,opt,name=allowReadFeed" json:"allowReadFeed,omitempty"`
|
||||
AllowWriteFeed *bool `protobuf:"varint,2,opt,name=allowWriteFeed" json:"allowWriteFeed,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ChannelUserPermission) Reset() {
|
||||
*x = ChannelUserPermission{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ChannelUserPermission) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ChannelUserPermission) ProtoMessage() {}
|
||||
|
||||
func (x *ChannelUserPermission) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use ChannelUserPermission.ProtoReflect.Descriptor instead.
|
||||
func (*ChannelUserPermission) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_GuildChannelBase_proto_rawDescGZIP(), []int{1}
|
||||
AllowReadFeed *bool `protobuf:"varint,1,opt"`
|
||||
AllowWriteFeed *bool `protobuf:"varint,2,opt"`
|
||||
}
|
||||
|
||||
func (x *ChannelUserPermission) GetAllowReadFeed() bool {
|
||||
@ -147,44 +58,8 @@ func (x *ChannelUserPermission) GetAllowWriteFeed() bool {
|
||||
}
|
||||
|
||||
type ClientIdentity struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ClientId *uint32 `protobuf:"varint,1,opt,name=clientId" json:"clientId,omitempty"`
|
||||
Desc *string `protobuf:"bytes,2,opt,name=desc" json:"desc,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ClientIdentity) Reset() {
|
||||
*x = ClientIdentity{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ClientIdentity) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ClientIdentity) ProtoMessage() {}
|
||||
|
||||
func (x *ClientIdentity) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use ClientIdentity.ProtoReflect.Descriptor instead.
|
||||
func (*ClientIdentity) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_GuildChannelBase_proto_rawDescGZIP(), []int{2}
|
||||
ClientId *uint32 `protobuf:"varint,1,opt"`
|
||||
Desc *string `protobuf:"bytes,2,opt"`
|
||||
}
|
||||
|
||||
func (x *ClientIdentity) GetClientId() uint32 {
|
||||
@ -202,45 +77,9 @@ func (x *ClientIdentity) GetDesc() string {
|
||||
}
|
||||
|
||||
type BaseGuildInfo struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"`
|
||||
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
|
||||
JoinTime *uint64 `protobuf:"varint,3,opt,name=joinTime" json:"joinTime,omitempty"`
|
||||
}
|
||||
|
||||
func (x *BaseGuildInfo) Reset() {
|
||||
*x = BaseGuildInfo{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *BaseGuildInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*BaseGuildInfo) ProtoMessage() {}
|
||||
|
||||
func (x *BaseGuildInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use BaseGuildInfo.ProtoReflect.Descriptor instead.
|
||||
func (*BaseGuildInfo) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_GuildChannelBase_proto_rawDescGZIP(), []int{3}
|
||||
GuildId *uint64 `protobuf:"varint,1,opt"`
|
||||
Name *string `protobuf:"bytes,2,opt"`
|
||||
JoinTime *uint64 `protobuf:"varint,3,opt"`
|
||||
}
|
||||
|
||||
func (x *BaseGuildInfo) GetGuildId() uint64 {
|
||||
@ -265,45 +104,9 @@ func (x *BaseGuildInfo) GetJoinTime() uint64 {
|
||||
}
|
||||
|
||||
type BaseRoleGroupInfo struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
RoleId *uint64 `protobuf:"varint,1,opt,name=roleId" json:"roleId,omitempty"`
|
||||
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
|
||||
Color *uint32 `protobuf:"varint,3,opt,name=color" json:"color,omitempty"`
|
||||
}
|
||||
|
||||
func (x *BaseRoleGroupInfo) Reset() {
|
||||
*x = BaseRoleGroupInfo{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *BaseRoleGroupInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*BaseRoleGroupInfo) ProtoMessage() {}
|
||||
|
||||
func (x *BaseRoleGroupInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use BaseRoleGroupInfo.ProtoReflect.Descriptor instead.
|
||||
func (*BaseRoleGroupInfo) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_GuildChannelBase_proto_rawDescGZIP(), []int{4}
|
||||
RoleId *uint64 `protobuf:"varint,1,opt"`
|
||||
Name *string `protobuf:"bytes,2,opt"`
|
||||
Color *uint32 `protobuf:"varint,3,opt"`
|
||||
}
|
||||
|
||||
func (x *BaseRoleGroupInfo) GetRoleId() uint64 {
|
||||
@ -328,45 +131,9 @@ func (x *BaseRoleGroupInfo) GetColor() uint32 {
|
||||
}
|
||||
|
||||
type StChannelInfo struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Sign *StChannelSign `protobuf:"bytes,1,opt,name=sign" json:"sign,omitempty"`
|
||||
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
|
||||
IconUrl *string `protobuf:"bytes,3,opt,name=iconUrl" json:"iconUrl,omitempty"`
|
||||
}
|
||||
|
||||
func (x *StChannelInfo) Reset() {
|
||||
*x = StChannelInfo{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *StChannelInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StChannelInfo) ProtoMessage() {}
|
||||
|
||||
func (x *StChannelInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use StChannelInfo.ProtoReflect.Descriptor instead.
|
||||
func (*StChannelInfo) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_GuildChannelBase_proto_rawDescGZIP(), []int{5}
|
||||
Sign *StChannelSign `protobuf:"bytes,1,opt"`
|
||||
Name *string `protobuf:"bytes,2,opt"`
|
||||
IconUrl *string `protobuf:"bytes,3,opt"`
|
||||
}
|
||||
|
||||
func (x *StChannelInfo) GetSign() *StChannelSign {
|
||||
@ -391,44 +158,8 @@ func (x *StChannelInfo) GetIconUrl() string {
|
||||
}
|
||||
|
||||
type StChannelSign struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"`
|
||||
ChannelId *uint64 `protobuf:"varint,2,opt,name=channelId" json:"channelId,omitempty"`
|
||||
}
|
||||
|
||||
func (x *StChannelSign) Reset() {
|
||||
*x = StChannelSign{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *StChannelSign) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StChannelSign) ProtoMessage() {}
|
||||
|
||||
func (x *StChannelSign) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use StChannelSign.ProtoReflect.Descriptor instead.
|
||||
func (*StChannelSign) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_GuildChannelBase_proto_rawDescGZIP(), []int{6}
|
||||
GuildId *uint64 `protobuf:"varint,1,opt"`
|
||||
ChannelId *uint64 `protobuf:"varint,2,opt"`
|
||||
}
|
||||
|
||||
func (x *StChannelSign) GetGuildId() uint64 {
|
||||
@ -446,45 +177,9 @@ func (x *StChannelSign) GetChannelId() uint64 {
|
||||
}
|
||||
|
||||
type StCommonExt struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
MapInfo []*CommonEntry `protobuf:"bytes,1,rep,name=mapInfo" json:"mapInfo,omitempty"`
|
||||
AttachInfo *string `protobuf:"bytes,2,opt,name=attachInfo" json:"attachInfo,omitempty"`
|
||||
MapBytesInfo []*BytesEntry `protobuf:"bytes,3,rep,name=mapBytesInfo" json:"mapBytesInfo,omitempty"`
|
||||
}
|
||||
|
||||
func (x *StCommonExt) Reset() {
|
||||
*x = StCommonExt{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *StCommonExt) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StCommonExt) ProtoMessage() {}
|
||||
|
||||
func (x *StCommonExt) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use StCommonExt.ProtoReflect.Descriptor instead.
|
||||
func (*StCommonExt) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_GuildChannelBase_proto_rawDescGZIP(), []int{7}
|
||||
MapInfo []*CommonEntry `protobuf:"bytes,1,rep"`
|
||||
AttachInfo *string `protobuf:"bytes,2,opt"`
|
||||
MapBytesInfo []*BytesEntry `protobuf:"bytes,3,rep"`
|
||||
}
|
||||
|
||||
func (x *StCommonExt) GetMapInfo() []*CommonEntry {
|
||||
@ -509,44 +204,8 @@ func (x *StCommonExt) GetMapBytesInfo() []*BytesEntry {
|
||||
}
|
||||
|
||||
type BytesEntry struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
|
||||
Value []byte `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
|
||||
}
|
||||
|
||||
func (x *BytesEntry) Reset() {
|
||||
*x = BytesEntry{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *BytesEntry) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*BytesEntry) ProtoMessage() {}
|
||||
|
||||
func (x *BytesEntry) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[8]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use BytesEntry.ProtoReflect.Descriptor instead.
|
||||
func (*BytesEntry) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_GuildChannelBase_proto_rawDescGZIP(), []int{8}
|
||||
Key *string `protobuf:"bytes,1,opt"`
|
||||
Value []byte `protobuf:"bytes,2,opt"`
|
||||
}
|
||||
|
||||
func (x *BytesEntry) GetKey() string {
|
||||
@ -564,44 +223,8 @@ func (x *BytesEntry) GetValue() []byte {
|
||||
}
|
||||
|
||||
type CommonEntry struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
|
||||
Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
|
||||
}
|
||||
|
||||
func (x *CommonEntry) Reset() {
|
||||
*x = CommonEntry{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *CommonEntry) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CommonEntry) ProtoMessage() {}
|
||||
|
||||
func (x *CommonEntry) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_GuildChannelBase_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use CommonEntry.ProtoReflect.Descriptor instead.
|
||||
func (*CommonEntry) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_GuildChannelBase_proto_rawDescGZIP(), []int{9}
|
||||
Key *string `protobuf:"bytes,1,opt"`
|
||||
Value *string `protobuf:"bytes,2,opt"`
|
||||
}
|
||||
|
||||
func (x *CommonEntry) GetKey() string {
|
||||
@ -617,263 +240,3 @@ func (x *CommonEntry) GetValue() string {
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_pb_channel_GuildChannelBase_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_pb_channel_GuildChannelBase_proto_rawDesc = []byte{
|
||||
0x0a, 0x21, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x47, 0x75, 0x69,
|
||||
0x6c, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x12, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x22, 0xee, 0x01, 0x0a,
|
||||
0x0f, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f,
|
||||
0x12, 0x3f, 0x0a, 0x0e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
||||
0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e,
|
||||
0x65, 0x6c, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
|
||||
0x79, 0x52, 0x0e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
|
||||
0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x79, 0x70,
|
||||
0x65, 0x12, 0x3e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e,
|
||||
0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69,
|
||||
0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x12, 0x3a, 0x0a, 0x0a, 0x72, 0x6f, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18,
|
||||
0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e,
|
||||
0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66,
|
||||
0x6f, 0x52, 0x0a, 0x72, 0x6f, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0x65, 0x0a,
|
||||
0x15, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d,
|
||||
0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x52,
|
||||
0x65, 0x61, 0x64, 0x46, 0x65, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x61,
|
||||
0x6c, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x61, 0x64, 0x46, 0x65, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x0e,
|
||||
0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x57, 0x72, 0x69, 0x74, 0x65, 0x46, 0x65, 0x65, 0x64, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x57, 0x72, 0x69, 0x74, 0x65,
|
||||
0x46, 0x65, 0x65, 0x64, 0x22, 0x40, 0x0a, 0x0e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64,
|
||||
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
|
||||
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
|
||||
0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x04, 0x64, 0x65, 0x73, 0x63, 0x22, 0x59, 0x0a, 0x0d, 0x42, 0x61, 0x73, 0x65, 0x47, 0x75,
|
||||
0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64,
|
||||
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49,
|
||||
0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6a, 0x6f, 0x69, 0x6e, 0x54, 0x69, 0x6d,
|
||||
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6a, 0x6f, 0x69, 0x6e, 0x54, 0x69, 0x6d,
|
||||
0x65, 0x22, 0x55, 0x0a, 0x11, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x47, 0x72, 0x6f,
|
||||
0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x72, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x12,
|
||||
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x0d, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x22, 0x69, 0x0a, 0x0d, 0x53, 0x74, 0x43, 0x68,
|
||||
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2a, 0x0a, 0x04, 0x73, 0x69, 0x67,
|
||||
0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
||||
0x6c, 0x2e, 0x53, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x69, 0x67, 0x6e, 0x52,
|
||||
0x04, 0x73, 0x69, 0x67, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x63, 0x6f,
|
||||
0x6e, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x63, 0x6f, 0x6e,
|
||||
0x55, 0x72, 0x6c, 0x22, 0x47, 0x0a, 0x0d, 0x53, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
|
||||
0x53, 0x69, 0x67, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1c,
|
||||
0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x04, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x22, 0x96, 0x01, 0x0a,
|
||||
0x0b, 0x53, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x12, 0x2e, 0x0a, 0x07,
|
||||
0x6d, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e,
|
||||
0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x45, 0x6e,
|
||||
0x74, 0x72, 0x79, 0x52, 0x07, 0x6d, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x0a, 0x0a,
|
||||
0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x0a, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x0c,
|
||||
0x6d, 0x61, 0x70, 0x42, 0x79, 0x74, 0x65, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x03,
|
||||
0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x42, 0x79, 0x74,
|
||||
0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x6d, 0x61, 0x70, 0x42, 0x79, 0x74, 0x65,
|
||||
0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x34, 0x0a, 0x0a, 0x42, 0x79, 0x74, 0x65, 0x73, 0x45, 0x6e,
|
||||
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x35, 0x0a, 0x0b, 0x43,
|
||||
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
|
||||
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x42, 0x14, 0x5a, 0x12, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
|
||||
0x3b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
|
||||
}
|
||||
|
||||
var (
|
||||
file_pb_channel_GuildChannelBase_proto_rawDescOnce sync.Once
|
||||
file_pb_channel_GuildChannelBase_proto_rawDescData = file_pb_channel_GuildChannelBase_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_pb_channel_GuildChannelBase_proto_rawDescGZIP() []byte {
|
||||
file_pb_channel_GuildChannelBase_proto_rawDescOnce.Do(func() {
|
||||
file_pb_channel_GuildChannelBase_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_channel_GuildChannelBase_proto_rawDescData)
|
||||
})
|
||||
return file_pb_channel_GuildChannelBase_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_pb_channel_GuildChannelBase_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
||||
var file_pb_channel_GuildChannelBase_proto_goTypes = []interface{}{
|
||||
(*ChannelUserInfo)(nil), // 0: channel.ChannelUserInfo
|
||||
(*ChannelUserPermission)(nil), // 1: channel.ChannelUserPermission
|
||||
(*ClientIdentity)(nil), // 2: channel.ClientIdentity
|
||||
(*BaseGuildInfo)(nil), // 3: channel.BaseGuildInfo
|
||||
(*BaseRoleGroupInfo)(nil), // 4: channel.BaseRoleGroupInfo
|
||||
(*StChannelInfo)(nil), // 5: channel.StChannelInfo
|
||||
(*StChannelSign)(nil), // 6: channel.StChannelSign
|
||||
(*StCommonExt)(nil), // 7: channel.StCommonExt
|
||||
(*BytesEntry)(nil), // 8: channel.BytesEntry
|
||||
(*CommonEntry)(nil), // 9: channel.CommonEntry
|
||||
}
|
||||
var file_pb_channel_GuildChannelBase_proto_depIdxs = []int32{
|
||||
2, // 0: channel.ChannelUserInfo.clientIdentity:type_name -> channel.ClientIdentity
|
||||
1, // 1: channel.ChannelUserInfo.permission:type_name -> channel.ChannelUserPermission
|
||||
4, // 2: channel.ChannelUserInfo.roleGroups:type_name -> channel.BaseRoleGroupInfo
|
||||
6, // 3: channel.StChannelInfo.sign:type_name -> channel.StChannelSign
|
||||
9, // 4: channel.StCommonExt.mapInfo:type_name -> channel.CommonEntry
|
||||
8, // 5: channel.StCommonExt.mapBytesInfo:type_name -> channel.BytesEntry
|
||||
6, // [6:6] is the sub-list for method output_type
|
||||
6, // [6:6] is the sub-list for method input_type
|
||||
6, // [6:6] is the sub-list for extension type_name
|
||||
6, // [6:6] is the sub-list for extension extendee
|
||||
0, // [0:6] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_pb_channel_GuildChannelBase_proto_init() }
|
||||
func file_pb_channel_GuildChannelBase_proto_init() {
|
||||
if File_pb_channel_GuildChannelBase_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_pb_channel_GuildChannelBase_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ChannelUserInfo); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_channel_GuildChannelBase_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ChannelUserPermission); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_channel_GuildChannelBase_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ClientIdentity); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_channel_GuildChannelBase_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*BaseGuildInfo); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_channel_GuildChannelBase_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*BaseRoleGroupInfo); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_channel_GuildChannelBase_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*StChannelInfo); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_channel_GuildChannelBase_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*StChannelSign); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_channel_GuildChannelBase_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*StCommonExt); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_channel_GuildChannelBase_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*BytesEntry); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_channel_GuildChannelBase_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CommonEntry); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_pb_channel_GuildChannelBase_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 10,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_pb_channel_GuildChannelBase_proto_goTypes,
|
||||
DependencyIndexes: file_pb_channel_GuildChannelBase_proto_depIdxs,
|
||||
MessageInfos: file_pb_channel_GuildChannelBase_proto_msgTypes,
|
||||
}.Build()
|
||||
File_pb_channel_GuildChannelBase_proto = out.File
|
||||
file_pb_channel_GuildChannelBase_proto_rawDesc = nil
|
||||
file_pb_channel_GuildChannelBase_proto_goTypes = nil
|
||||
file_pb_channel_GuildChannelBase_proto_depIdxs = nil
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,63 +1,10 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.27.1
|
||||
// protoc v3.14.0
|
||||
// Code generated by protoc-gen-golite. DO NOT EDIT.
|
||||
// source: pb/channel/MsgResponsesSvr.proto
|
||||
|
||||
package channel
|
||||
|
||||
import (
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
type BatchGetMsgRspCountReq struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
GuildMsgList []*GuildMsg `protobuf:"bytes,1,rep,name=guildMsgList" json:"guildMsgList,omitempty"`
|
||||
}
|
||||
|
||||
func (x *BatchGetMsgRspCountReq) Reset() {
|
||||
*x = BatchGetMsgRspCountReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *BatchGetMsgRspCountReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*BatchGetMsgRspCountReq) ProtoMessage() {}
|
||||
|
||||
func (x *BatchGetMsgRspCountReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use BatchGetMsgRspCountReq.ProtoReflect.Descriptor instead.
|
||||
func (*BatchGetMsgRspCountReq) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{0}
|
||||
GuildMsgList []*GuildMsg `protobuf:"bytes,1,rep"`
|
||||
}
|
||||
|
||||
func (x *BatchGetMsgRspCountReq) GetGuildMsgList() []*GuildMsg {
|
||||
@ -68,43 +15,7 @@ func (x *BatchGetMsgRspCountReq) GetGuildMsgList() []*GuildMsg {
|
||||
}
|
||||
|
||||
type BatchGetMsgRspCountRsp struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
GuildMsgInfoList []*GuildMsgInfo `protobuf:"bytes,1,rep,name=guildMsgInfoList" json:"guildMsgInfoList,omitempty"`
|
||||
}
|
||||
|
||||
func (x *BatchGetMsgRspCountRsp) Reset() {
|
||||
*x = BatchGetMsgRspCountRsp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *BatchGetMsgRspCountRsp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*BatchGetMsgRspCountRsp) ProtoMessage() {}
|
||||
|
||||
func (x *BatchGetMsgRspCountRsp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use BatchGetMsgRspCountRsp.ProtoReflect.Descriptor instead.
|
||||
func (*BatchGetMsgRspCountRsp) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{1}
|
||||
GuildMsgInfoList []*GuildMsgInfo `protobuf:"bytes,1,rep"`
|
||||
}
|
||||
|
||||
func (x *BatchGetMsgRspCountRsp) GetGuildMsgInfoList() []*GuildMsgInfo {
|
||||
@ -115,44 +26,8 @@ func (x *BatchGetMsgRspCountRsp) GetGuildMsgInfoList() []*GuildMsgInfo {
|
||||
}
|
||||
|
||||
type SvrChannelMsg struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ChannelId *uint64 `protobuf:"varint,1,opt,name=channelId" json:"channelId,omitempty"`
|
||||
Id []*MsgId `protobuf:"bytes,2,rep,name=id" json:"id,omitempty"`
|
||||
}
|
||||
|
||||
func (x *SvrChannelMsg) Reset() {
|
||||
*x = SvrChannelMsg{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *SvrChannelMsg) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SvrChannelMsg) ProtoMessage() {}
|
||||
|
||||
func (x *SvrChannelMsg) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use SvrChannelMsg.ProtoReflect.Descriptor instead.
|
||||
func (*SvrChannelMsg) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{2}
|
||||
ChannelId *uint64 `protobuf:"varint,1,opt"`
|
||||
Id []*MsgId `protobuf:"bytes,2,rep"`
|
||||
}
|
||||
|
||||
func (x *SvrChannelMsg) GetChannelId() uint64 {
|
||||
@ -170,44 +45,8 @@ func (x *SvrChannelMsg) GetId() []*MsgId {
|
||||
}
|
||||
|
||||
type ChannelMsgInfo struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ChannelId *uint64 `protobuf:"varint,1,opt,name=channelId" json:"channelId,omitempty"`
|
||||
RespData []*MsgRespData `protobuf:"bytes,2,rep,name=respData" json:"respData,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ChannelMsgInfo) Reset() {
|
||||
*x = ChannelMsgInfo{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ChannelMsgInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ChannelMsgInfo) ProtoMessage() {}
|
||||
|
||||
func (x *ChannelMsgInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use ChannelMsgInfo.ProtoReflect.Descriptor instead.
|
||||
func (*ChannelMsgInfo) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{3}
|
||||
ChannelId *uint64 `protobuf:"varint,1,opt"`
|
||||
RespData []*MsgRespData `protobuf:"bytes,2,rep"`
|
||||
}
|
||||
|
||||
func (x *ChannelMsgInfo) GetChannelId() uint64 {
|
||||
@ -225,47 +64,11 @@ func (x *ChannelMsgInfo) GetRespData() []*MsgRespData {
|
||||
}
|
||||
|
||||
type EmojiReaction struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
EmojiId *string `protobuf:"bytes,1,opt,name=emojiId" json:"emojiId,omitempty"`
|
||||
EmojiType *uint64 `protobuf:"varint,2,opt,name=emojiType" json:"emojiType,omitempty"`
|
||||
Cnt *uint64 `protobuf:"varint,3,opt,name=cnt" json:"cnt,omitempty"`
|
||||
IsClicked *bool `protobuf:"varint,4,opt,name=isClicked" json:"isClicked,omitempty"`
|
||||
IsDefaultEmoji *bool `protobuf:"varint,10001,opt,name=isDefaultEmoji" json:"isDefaultEmoji,omitempty"`
|
||||
}
|
||||
|
||||
func (x *EmojiReaction) Reset() {
|
||||
*x = EmojiReaction{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *EmojiReaction) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*EmojiReaction) ProtoMessage() {}
|
||||
|
||||
func (x *EmojiReaction) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use EmojiReaction.ProtoReflect.Descriptor instead.
|
||||
func (*EmojiReaction) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{4}
|
||||
EmojiId *string `protobuf:"bytes,1,opt"`
|
||||
EmojiType *uint64 `protobuf:"varint,2,opt"`
|
||||
Cnt *uint64 `protobuf:"varint,3,opt"`
|
||||
IsClicked *bool `protobuf:"varint,4,opt"`
|
||||
IsDefaultEmoji *bool `protobuf:"varint,10001,opt"`
|
||||
}
|
||||
|
||||
func (x *EmojiReaction) GetEmojiId() string {
|
||||
@ -304,44 +107,8 @@ func (x *EmojiReaction) GetIsDefaultEmoji() bool {
|
||||
}
|
||||
|
||||
type GuildMsg struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"`
|
||||
ChannelMsgList []*SvrChannelMsg `protobuf:"bytes,2,rep,name=channelMsgList" json:"channelMsgList,omitempty"`
|
||||
}
|
||||
|
||||
func (x *GuildMsg) Reset() {
|
||||
*x = GuildMsg{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *GuildMsg) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*GuildMsg) ProtoMessage() {}
|
||||
|
||||
func (x *GuildMsg) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use GuildMsg.ProtoReflect.Descriptor instead.
|
||||
func (*GuildMsg) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{5}
|
||||
GuildId *uint64 `protobuf:"varint,1,opt"`
|
||||
ChannelMsgList []*SvrChannelMsg `protobuf:"bytes,2,rep"`
|
||||
}
|
||||
|
||||
func (x *GuildMsg) GetGuildId() uint64 {
|
||||
@ -359,44 +126,8 @@ func (x *GuildMsg) GetChannelMsgList() []*SvrChannelMsg {
|
||||
}
|
||||
|
||||
type GuildMsgInfo struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
GuildId *uint64 `protobuf:"varint,1,opt,name=guildId" json:"guildId,omitempty"`
|
||||
ChannelMsgInfoList []*ChannelMsgInfo `protobuf:"bytes,2,rep,name=channelMsgInfoList" json:"channelMsgInfoList,omitempty"`
|
||||
}
|
||||
|
||||
func (x *GuildMsgInfo) Reset() {
|
||||
*x = GuildMsgInfo{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *GuildMsgInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*GuildMsgInfo) ProtoMessage() {}
|
||||
|
||||
func (x *GuildMsgInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use GuildMsgInfo.ProtoReflect.Descriptor instead.
|
||||
func (*GuildMsgInfo) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{6}
|
||||
GuildId *uint64 `protobuf:"varint,1,opt"`
|
||||
ChannelMsgInfoList []*ChannelMsgInfo `protobuf:"bytes,2,rep"`
|
||||
}
|
||||
|
||||
func (x *GuildMsgInfo) GetGuildId() uint64 {
|
||||
@ -414,44 +145,8 @@ func (x *GuildMsgInfo) GetChannelMsgInfoList() []*ChannelMsgInfo {
|
||||
}
|
||||
|
||||
type MsgCnt struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id *MsgId `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
||||
EmojiReaction []*EmojiReaction `protobuf:"bytes,2,rep,name=emojiReaction" json:"emojiReaction,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MsgCnt) Reset() {
|
||||
*x = MsgCnt{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MsgCnt) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MsgCnt) ProtoMessage() {}
|
||||
|
||||
func (x *MsgCnt) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use MsgCnt.ProtoReflect.Descriptor instead.
|
||||
func (*MsgCnt) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{7}
|
||||
Id *MsgId `protobuf:"bytes,1,opt"`
|
||||
EmojiReaction []*EmojiReaction `protobuf:"bytes,2,rep"`
|
||||
}
|
||||
|
||||
func (x *MsgCnt) GetId() *MsgId {
|
||||
@ -469,44 +164,8 @@ func (x *MsgCnt) GetEmojiReaction() []*EmojiReaction {
|
||||
}
|
||||
|
||||
type MsgId struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Version *uint64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
|
||||
Seq *uint64 `protobuf:"varint,2,opt,name=seq" json:"seq,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MsgId) Reset() {
|
||||
*x = MsgId{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MsgId) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MsgId) ProtoMessage() {}
|
||||
|
||||
func (x *MsgId) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[8]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use MsgId.ProtoReflect.Descriptor instead.
|
||||
func (*MsgId) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{8}
|
||||
Version *uint64 `protobuf:"varint,1,opt"`
|
||||
Seq *uint64 `protobuf:"varint,2,opt"`
|
||||
}
|
||||
|
||||
func (x *MsgId) GetVersion() uint64 {
|
||||
@ -524,44 +183,8 @@ func (x *MsgId) GetSeq() uint64 {
|
||||
}
|
||||
|
||||
type MsgRespData struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id *MsgId `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
||||
Cnt []byte `protobuf:"bytes,2,opt,name=cnt" json:"cnt,omitempty"`
|
||||
}
|
||||
|
||||
func (x *MsgRespData) Reset() {
|
||||
*x = MsgRespData{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *MsgRespData) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*MsgRespData) ProtoMessage() {}
|
||||
|
||||
func (x *MsgRespData) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_pb_channel_MsgResponsesSvr_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use MsgRespData.ProtoReflect.Descriptor instead.
|
||||
func (*MsgRespData) Descriptor() ([]byte, []int) {
|
||||
return file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP(), []int{9}
|
||||
Id *MsgId `protobuf:"bytes,1,opt"`
|
||||
Cnt []byte `protobuf:"bytes,2,opt"`
|
||||
}
|
||||
|
||||
func (x *MsgRespData) GetId() *MsgId {
|
||||
@ -577,256 +200,3 @@ func (x *MsgRespData) GetCnt() []byte {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_pb_channel_MsgResponsesSvr_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_pb_channel_MsgResponsesSvr_proto_rawDesc = []byte{
|
||||
0x0a, 0x20, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x53, 0x76, 0x72, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x22, 0x47, 0x0a, 0x16, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x4d, 0x73,
|
||||
0x67, 0x52, 0x73, 0x70, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x2d, 0x0a, 0x0c,
|
||||
0x67, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03,
|
||||
0x28, 0x0b, 0x32, 0x09, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x0c, 0x67,
|
||||
0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x53, 0x0a, 0x16, 0x42,
|
||||
0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x52, 0x73, 0x70, 0x43, 0x6f, 0x75,
|
||||
0x6e, 0x74, 0x52, 0x73, 0x70, 0x12, 0x39, 0x0a, 0x10, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73,
|
||||
0x67, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||
0x0d, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10,
|
||||
0x67, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74,
|
||||
0x22, 0x45, 0x0a, 0x0d, 0x53, 0x76, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73,
|
||||
0x67, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12,
|
||||
0x16, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x4d, 0x73,
|
||||
0x67, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x22, 0x58, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x6e, 0x6e,
|
||||
0x65, 0x6c, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61,
|
||||
0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x68,
|
||||
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x44,
|
||||
0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x4d, 0x73, 0x67, 0x52,
|
||||
0x65, 0x73, 0x70, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x44, 0x61, 0x74,
|
||||
0x61, 0x22, 0xa0, 0x01, 0x0a, 0x0d, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x52, 0x65, 0x61, 0x63, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x49, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x49, 0x64, 0x12, 0x1c, 0x0a,
|
||||
0x09, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04,
|
||||
0x52, 0x09, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x63,
|
||||
0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x63, 0x6e, 0x74, 0x12, 0x1c, 0x0a,
|
||||
0x09, 0x69, 0x73, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08,
|
||||
0x52, 0x09, 0x69, 0x73, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x27, 0x0a, 0x0e, 0x69,
|
||||
0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x18, 0x91, 0x4e,
|
||||
0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45,
|
||||
0x6d, 0x6f, 0x6a, 0x69, 0x22, 0x5c, 0x0a, 0x08, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73, 0x67,
|
||||
0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x0e, 0x63, 0x68,
|
||||
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03,
|
||||
0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x53, 0x76, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d,
|
||||
0x73, 0x67, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x4c, 0x69,
|
||||
0x73, 0x74, 0x22, 0x69, 0x0a, 0x0c, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x73, 0x67, 0x49, 0x6e,
|
||||
0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x12,
|
||||
0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69,
|
||||
0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e,
|
||||
0x65, 0x6c, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x63, 0x68, 0x61, 0x6e, 0x6e,
|
||||
0x65, 0x6c, 0x4d, 0x73, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x56, 0x0a,
|
||||
0x06, 0x4d, 0x73, 0x67, 0x43, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12,
|
||||
0x34, 0x0a, 0x0d, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x45, 0x6d, 0x6f, 0x6a, 0x69, 0x52, 0x65,
|
||||
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x65, 0x6d, 0x6f, 0x6a, 0x69, 0x52, 0x65, 0x61,
|
||||
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x33, 0x0a, 0x05, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x12, 0x18,
|
||||
0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52,
|
||||
0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x73, 0x65, 0x71, 0x22, 0x37, 0x0a, 0x0b, 0x4d, 0x73,
|
||||
0x67, 0x52, 0x65, 0x73, 0x70, 0x44, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x52, 0x02, 0x69,
|
||||
0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03,
|
||||
0x63, 0x6e, 0x74, 0x42, 0x14, 0x5a, 0x12, 0x70, 0x62, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
||||
0x6c, 0x3b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
|
||||
}
|
||||
|
||||
var (
|
||||
file_pb_channel_MsgResponsesSvr_proto_rawDescOnce sync.Once
|
||||
file_pb_channel_MsgResponsesSvr_proto_rawDescData = file_pb_channel_MsgResponsesSvr_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_pb_channel_MsgResponsesSvr_proto_rawDescGZIP() []byte {
|
||||
file_pb_channel_MsgResponsesSvr_proto_rawDescOnce.Do(func() {
|
||||
file_pb_channel_MsgResponsesSvr_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_channel_MsgResponsesSvr_proto_rawDescData)
|
||||
})
|
||||
return file_pb_channel_MsgResponsesSvr_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_pb_channel_MsgResponsesSvr_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
||||
var file_pb_channel_MsgResponsesSvr_proto_goTypes = []interface{}{
|
||||
(*BatchGetMsgRspCountReq)(nil), // 0: BatchGetMsgRspCountReq
|
||||
(*BatchGetMsgRspCountRsp)(nil), // 1: BatchGetMsgRspCountRsp
|
||||
(*SvrChannelMsg)(nil), // 2: SvrChannelMsg
|
||||
(*ChannelMsgInfo)(nil), // 3: ChannelMsgInfo
|
||||
(*EmojiReaction)(nil), // 4: EmojiReaction
|
||||
(*GuildMsg)(nil), // 5: GuildMsg
|
||||
(*GuildMsgInfo)(nil), // 6: GuildMsgInfo
|
||||
(*MsgCnt)(nil), // 7: MsgCnt
|
||||
(*MsgId)(nil), // 8: MsgId
|
||||
(*MsgRespData)(nil), // 9: MsgRespData
|
||||
}
|
||||
var file_pb_channel_MsgResponsesSvr_proto_depIdxs = []int32{
|
||||
5, // 0: BatchGetMsgRspCountReq.guildMsgList:type_name -> GuildMsg
|
||||
6, // 1: BatchGetMsgRspCountRsp.guildMsgInfoList:type_name -> GuildMsgInfo
|
||||
8, // 2: SvrChannelMsg.id:type_name -> MsgId
|
||||
9, // 3: ChannelMsgInfo.respData:type_name -> MsgRespData
|
||||
2, // 4: GuildMsg.channelMsgList:type_name -> SvrChannelMsg
|
||||
3, // 5: GuildMsgInfo.channelMsgInfoList:type_name -> ChannelMsgInfo
|
||||
8, // 6: MsgCnt.id:type_name -> MsgId
|
||||
4, // 7: MsgCnt.emojiReaction:type_name -> EmojiReaction
|
||||
8, // 8: MsgRespData.id:type_name -> MsgId
|
||||
9, // [9:9] is the sub-list for method output_type
|
||||
9, // [9:9] is the sub-list for method input_type
|
||||
9, // [9:9] is the sub-list for extension type_name
|
||||
9, // [9:9] is the sub-list for extension extendee
|
||||
0, // [0:9] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_pb_channel_MsgResponsesSvr_proto_init() }
|
||||
func file_pb_channel_MsgResponsesSvr_proto_init() {
|
||||
if File_pb_channel_MsgResponsesSvr_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_pb_channel_MsgResponsesSvr_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*BatchGetMsgRspCountReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_channel_MsgResponsesSvr_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*BatchGetMsgRspCountRsp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_channel_MsgResponsesSvr_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*SvrChannelMsg); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_channel_MsgResponsesSvr_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ChannelMsgInfo); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_channel_MsgResponsesSvr_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*EmojiReaction); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_channel_MsgResponsesSvr_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*GuildMsg); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_channel_MsgResponsesSvr_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*GuildMsgInfo); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_channel_MsgResponsesSvr_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*MsgCnt); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_channel_MsgResponsesSvr_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*MsgId); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_pb_channel_MsgResponsesSvr_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*MsgRespData); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_pb_channel_MsgResponsesSvr_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 10,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_pb_channel_MsgResponsesSvr_proto_goTypes,
|
||||
DependencyIndexes: file_pb_channel_MsgResponsesSvr_proto_depIdxs,
|
||||
MessageInfos: file_pb_channel_MsgResponsesSvr_proto_msgTypes,
|
||||
}.Build()
|
||||
File_pb_channel_MsgResponsesSvr_proto = out.File
|
||||
file_pb_channel_MsgResponsesSvr_proto_rawDesc = nil
|
||||
file_pb_channel_MsgResponsesSvr_proto_goTypes = nil
|
||||
file_pb_channel_MsgResponsesSvr_proto_depIdxs = nil
|
||||
}
|
||||
|
@ -1,73 +1,20 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.27.1
|
||||
// protoc v3.14.0
|
||||
// Code generated by protoc-gen-golite. DO NOT EDIT.
|
||||
// source: protocol.proto
|
||||
|
||||
package qweb
|
||||
|
||||
import (
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
// Verify that this generated code is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||
)
|
||||
|
||||
type QWebReq struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Seq *int64 `protobuf:"varint,1,opt,name=seq" json:"seq,omitempty"`
|
||||
Qua *string `protobuf:"bytes,2,opt,name=qua" json:"qua,omitempty"`
|
||||
DeviceInfo *string `protobuf:"bytes,3,opt,name=deviceInfo" json:"deviceInfo,omitempty"`
|
||||
BusiBuff []byte `protobuf:"bytes,4,opt,name=busiBuff" json:"busiBuff,omitempty"`
|
||||
TraceId *string `protobuf:"bytes,5,opt,name=traceId" json:"traceId,omitempty"`
|
||||
Module *string `protobuf:"bytes,6,opt,name=Module" json:"Module,omitempty"`
|
||||
Cmdname *string `protobuf:"bytes,7,opt,name=Cmdname" json:"Cmdname,omitempty"`
|
||||
LoginSig *StAuthInfo `protobuf:"bytes,8,opt,name=loginSig" json:"loginSig,omitempty"`
|
||||
Crypto *StEncryption `protobuf:"bytes,9,opt,name=Crypto" json:"Crypto,omitempty"`
|
||||
Extinfo []*COMMEntry `protobuf:"bytes,10,rep,name=Extinfo" json:"Extinfo,omitempty"`
|
||||
ContentType *uint32 `protobuf:"varint,11,opt,name=contentType" json:"contentType,omitempty"`
|
||||
}
|
||||
|
||||
func (x *QWebReq) Reset() {
|
||||
*x = QWebReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_protocol_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *QWebReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*QWebReq) ProtoMessage() {}
|
||||
|
||||
func (x *QWebReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_protocol_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use QWebReq.ProtoReflect.Descriptor instead.
|
||||
func (*QWebReq) Descriptor() ([]byte, []int) {
|
||||
return file_protocol_proto_rawDescGZIP(), []int{0}
|
||||
Seq *int64 `protobuf:"varint,1,opt"`
|
||||
Qua *string `protobuf:"bytes,2,opt"`
|
||||
DeviceInfo *string `protobuf:"bytes,3,opt"`
|
||||
BusiBuff []byte `protobuf:"bytes,4,opt"`
|
||||
TraceId *string `protobuf:"bytes,5,opt"`
|
||||
Module *string `protobuf:"bytes,6,opt"`
|
||||
Cmdname *string `protobuf:"bytes,7,opt"`
|
||||
LoginSig *StAuthInfo `protobuf:"bytes,8,opt"`
|
||||
Crypto *StEncryption `protobuf:"bytes,9,opt"`
|
||||
Extinfo []*COMMEntry `protobuf:"bytes,10,rep"`
|
||||
ContentType *uint32 `protobuf:"varint,11,opt"`
|
||||
}
|
||||
|
||||
func (x *QWebReq) GetSeq() int64 {
|
||||
@ -148,47 +95,11 @@ func (x *QWebReq) GetContentType() uint32 {
|
||||
}
|
||||
|
||||
type QWebRsp struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Seq *int64 `protobuf:"varint,1,opt,name=seq" json:"seq,omitempty"`
|
||||
RetCode *int64 `protobuf:"varint,2,opt,name=retCode" json:"retCode,omitempty"`
|
||||
ErrMsg *string `protobuf:"bytes,3,opt,name=errMsg" json:"errMsg,omitempty"`
|
||||
BusiBuff []byte `protobuf:"bytes,4,opt,name=busiBuff" json:"busiBuff,omitempty"`
|
||||
Traceid *string `protobuf:"bytes,5,opt,name=traceid" json:"traceid,omitempty"`
|
||||
}
|
||||
|
||||
func (x *QWebRsp) Reset() {
|
||||
*x = QWebRsp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_protocol_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *QWebRsp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*QWebRsp) ProtoMessage() {}
|
||||
|
||||
func (x *QWebRsp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_protocol_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use QWebRsp.ProtoReflect.Descriptor instead.
|
||||
func (*QWebRsp) Descriptor() ([]byte, []int) {
|
||||
return file_protocol_proto_rawDescGZIP(), []int{1}
|
||||
Seq *int64 `protobuf:"varint,1,opt"`
|
||||
RetCode *int64 `protobuf:"varint,2,opt"`
|
||||
ErrMsg *string `protobuf:"bytes,3,opt"`
|
||||
BusiBuff []byte `protobuf:"bytes,4,opt"`
|
||||
Traceid *string `protobuf:"bytes,5,opt"`
|
||||
}
|
||||
|
||||
func (x *QWebRsp) GetSeq() int64 {
|
||||
@ -227,50 +138,14 @@ func (x *QWebRsp) GetTraceid() string {
|
||||
}
|
||||
|
||||
type StAuthInfo struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Uin *string `protobuf:"bytes,1,opt,name=uin" json:"uin,omitempty"`
|
||||
Sig []byte `protobuf:"bytes,2,opt,name=sig" json:"sig,omitempty"`
|
||||
Platform *string `protobuf:"bytes,3,opt,name=platform" json:"platform,omitempty"`
|
||||
Type *uint32 `protobuf:"varint,4,opt,name=type" json:"type,omitempty"`
|
||||
Appid *string `protobuf:"bytes,5,opt,name=appid" json:"appid,omitempty"`
|
||||
Openid *string `protobuf:"bytes,6,opt,name=openid" json:"openid,omitempty"`
|
||||
Sessionkey []byte `protobuf:"bytes,7,opt,name=sessionkey" json:"sessionkey,omitempty"`
|
||||
Extinfo []*COMMEntry `protobuf:"bytes,8,rep,name=Extinfo" json:"Extinfo,omitempty"`
|
||||
}
|
||||
|
||||
func (x *StAuthInfo) Reset() {
|
||||
*x = StAuthInfo{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_protocol_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *StAuthInfo) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StAuthInfo) ProtoMessage() {}
|
||||
|
||||
func (x *StAuthInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_protocol_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use StAuthInfo.ProtoReflect.Descriptor instead.
|
||||
func (*StAuthInfo) Descriptor() ([]byte, []int) {
|
||||
return file_protocol_proto_rawDescGZIP(), []int{2}
|
||||
Uin *string `protobuf:"bytes,1,opt"`
|
||||
Sig []byte `protobuf:"bytes,2,opt"`
|
||||
Platform *string `protobuf:"bytes,3,opt"`
|
||||
Type *uint32 `protobuf:"varint,4,opt"`
|
||||
Appid *string `protobuf:"bytes,5,opt"`
|
||||
Openid *string `protobuf:"bytes,6,opt"`
|
||||
Sessionkey []byte `protobuf:"bytes,7,opt"`
|
||||
Extinfo []*COMMEntry `protobuf:"bytes,8,rep"`
|
||||
}
|
||||
|
||||
func (x *StAuthInfo) GetUin() string {
|
||||
@ -330,44 +205,8 @@ func (x *StAuthInfo) GetExtinfo() []*COMMEntry {
|
||||
}
|
||||
|
||||
type StEncryption struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Method *uint32 `protobuf:"varint,1,opt,name=method" json:"method,omitempty"`
|
||||
Iv *string `protobuf:"bytes,2,opt,name=iv" json:"iv,omitempty"`
|
||||
}
|
||||
|
||||
func (x *StEncryption) Reset() {
|
||||
*x = StEncryption{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_protocol_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *StEncryption) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StEncryption) ProtoMessage() {}
|
||||
|
||||
func (x *StEncryption) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_protocol_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use StEncryption.ProtoReflect.Descriptor instead.
|
||||
func (*StEncryption) Descriptor() ([]byte, []int) {
|
||||
return file_protocol_proto_rawDescGZIP(), []int{3}
|
||||
Method *uint32 `protobuf:"varint,1,opt"`
|
||||
Iv *string `protobuf:"bytes,2,opt"`
|
||||
}
|
||||
|
||||
func (x *StEncryption) GetMethod() uint32 {
|
||||
@ -385,44 +224,8 @@ func (x *StEncryption) GetIv() string {
|
||||
}
|
||||
|
||||
type COMMEntry struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
|
||||
Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
|
||||
}
|
||||
|
||||
func (x *COMMEntry) Reset() {
|
||||
*x = COMMEntry{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_protocol_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *COMMEntry) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*COMMEntry) ProtoMessage() {}
|
||||
|
||||
func (x *COMMEntry) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_protocol_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use COMMEntry.ProtoReflect.Descriptor instead.
|
||||
func (*COMMEntry) Descriptor() ([]byte, []int) {
|
||||
return file_protocol_proto_rawDescGZIP(), []int{4}
|
||||
Key *string `protobuf:"bytes,1,opt"`
|
||||
Value *string `protobuf:"bytes,2,opt"`
|
||||
}
|
||||
|
||||
func (x *COMMEntry) GetKey() string {
|
||||
@ -438,179 +241,3 @@ func (x *COMMEntry) GetValue() string {
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_protocol_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_protocol_proto_rawDesc = []byte{
|
||||
0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x22, 0xcd, 0x02, 0x0a, 0x07, 0x51, 0x57, 0x65, 0x62, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03,
|
||||
0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x12, 0x10,
|
||||
0x0a, 0x03, 0x71, 0x75, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x71, 0x75, 0x61,
|
||||
0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f,
|
||||
0x12, 0x1a, 0x0a, 0x08, 0x62, 0x75, 0x73, 0x69, 0x42, 0x75, 0x66, 0x66, 0x18, 0x04, 0x20, 0x01,
|
||||
0x28, 0x0c, 0x52, 0x08, 0x62, 0x75, 0x73, 0x69, 0x42, 0x75, 0x66, 0x66, 0x12, 0x18, 0x0a, 0x07,
|
||||
0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74,
|
||||
0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
|
||||
0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x18,
|
||||
0x0a, 0x07, 0x43, 0x6d, 0x64, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x07, 0x43, 0x6d, 0x64, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x69,
|
||||
0x6e, 0x53, 0x69, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x53, 0x74, 0x41,
|
||||
0x75, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x69,
|
||||
0x67, 0x12, 0x25, 0x0a, 0x06, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x0d, 0x2e, 0x53, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x52, 0x06, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x12, 0x24, 0x0a, 0x07, 0x45, 0x78, 0x74, 0x69,
|
||||
0x6e, 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x43, 0x4f, 0x4d, 0x4d,
|
||||
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x45, 0x78, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x20,
|
||||
0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20,
|
||||
0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65,
|
||||
0x22, 0x83, 0x01, 0x0a, 0x07, 0x51, 0x57, 0x65, 0x62, 0x52, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03,
|
||||
0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x12, 0x18,
|
||||
0x0a, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x4d,
|
||||
0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67,
|
||||
0x12, 0x1a, 0x0a, 0x08, 0x62, 0x75, 0x73, 0x69, 0x42, 0x75, 0x66, 0x66, 0x18, 0x04, 0x20, 0x01,
|
||||
0x28, 0x0c, 0x52, 0x08, 0x62, 0x75, 0x73, 0x69, 0x42, 0x75, 0x66, 0x66, 0x12, 0x18, 0x0a, 0x07,
|
||||
0x74, 0x72, 0x61, 0x63, 0x65, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74,
|
||||
0x72, 0x61, 0x63, 0x65, 0x69, 0x64, 0x22, 0xd4, 0x01, 0x0a, 0x0a, 0x53, 0x74, 0x41, 0x75, 0x74,
|
||||
0x68, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x69, 0x67, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x73, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61,
|
||||
0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61,
|
||||
0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20,
|
||||
0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70,
|
||||
0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12,
|
||||
0x16, 0x0a, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x06, 0x6f, 0x70, 0x65, 0x6e, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69,
|
||||
0x6f, 0x6e, 0x6b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x65, 0x73,
|
||||
0x73, 0x69, 0x6f, 0x6e, 0x6b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x07, 0x45, 0x78, 0x74, 0x69, 0x6e,
|
||||
0x66, 0x6f, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x43, 0x4f, 0x4d, 0x4d, 0x45,
|
||||
0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x45, 0x78, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x36, 0x0a,
|
||||
0x0c, 0x53, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a,
|
||||
0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6d,
|
||||
0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x76, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x02, 0x69, 0x76, 0x22, 0x33, 0x0a, 0x09, 0x43, 0x4f, 0x4d, 0x4d, 0x45, 0x6e, 0x74,
|
||||
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x2f,
|
||||
0x3b, 0x71, 0x77, 0x65, 0x62,
|
||||
}
|
||||
|
||||
var (
|
||||
file_protocol_proto_rawDescOnce sync.Once
|
||||
file_protocol_proto_rawDescData = file_protocol_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_protocol_proto_rawDescGZIP() []byte {
|
||||
file_protocol_proto_rawDescOnce.Do(func() {
|
||||
file_protocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_protocol_proto_rawDescData)
|
||||
})
|
||||
return file_protocol_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_protocol_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
||||
var file_protocol_proto_goTypes = []interface{}{
|
||||
(*QWebReq)(nil), // 0: QWebReq
|
||||
(*QWebRsp)(nil), // 1: QWebRsp
|
||||
(*StAuthInfo)(nil), // 2: StAuthInfo
|
||||
(*StEncryption)(nil), // 3: StEncryption
|
||||
(*COMMEntry)(nil), // 4: COMMEntry
|
||||
}
|
||||
var file_protocol_proto_depIdxs = []int32{
|
||||
2, // 0: QWebReq.loginSig:type_name -> StAuthInfo
|
||||
3, // 1: QWebReq.Crypto:type_name -> StEncryption
|
||||
4, // 2: QWebReq.Extinfo:type_name -> COMMEntry
|
||||
4, // 3: StAuthInfo.Extinfo:type_name -> COMMEntry
|
||||
4, // [4:4] is the sub-list for method output_type
|
||||
4, // [4:4] is the sub-list for method input_type
|
||||
4, // [4:4] is the sub-list for extension type_name
|
||||
4, // [4:4] is the sub-list for extension extendee
|
||||
0, // [0:4] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_protocol_proto_init() }
|
||||
func file_protocol_proto_init() {
|
||||
if File_protocol_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_protocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*QWebReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_protocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*QWebRsp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_protocol_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*StAuthInfo); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_protocol_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*StEncryption); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_protocol_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*COMMEntry); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_protocol_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 5,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_protocol_proto_goTypes,
|
||||
DependencyIndexes: file_protocol_proto_depIdxs,
|
||||
MessageInfos: file_protocol_proto_msgTypes,
|
||||
}.Build()
|
||||
File_protocol_proto = out.File
|
||||
file_protocol_proto_rawDesc = nil
|
||||
file_protocol_proto_goTypes = nil
|
||||
file_protocol_proto_depIdxs = nil
|
||||
}
|
||||
|
2
go.mod
2
go.mod
@ -3,7 +3,7 @@ module github.com/Mrs4s/MiraiGo
|
||||
go 1.17
|
||||
|
||||
require (
|
||||
github.com/RomiChan/protobuf v0.0.0-20211125122917-f25ff86662ad
|
||||
github.com/RomiChan/protobuf v0.0.0-20211126015646-ee3d29b19e08
|
||||
github.com/klauspost/compress v1.13.6
|
||||
github.com/pkg/errors v0.9.1
|
||||
github.com/stretchr/testify v1.7.0
|
||||
|
4
go.sum
4
go.sum
@ -1,5 +1,5 @@
|
||||
github.com/RomiChan/protobuf v0.0.0-20211125122917-f25ff86662ad h1:7KqtCQ/wDPVeIvtpI8c82vhjjy17VWUCWaPIrway69Q=
|
||||
github.com/RomiChan/protobuf v0.0.0-20211125122917-f25ff86662ad/go.mod h1:lM1Te2wqdBLPSF7QLaskSn1fGW3Tw2l0iFGsTHTxqIg=
|
||||
github.com/RomiChan/protobuf v0.0.0-20211126015646-ee3d29b19e08 h1:VAR3nNyBAc+oPlLKihkLTP0GXf8bQi085y2pSrNzAF0=
|
||||
github.com/RomiChan/protobuf v0.0.0-20211126015646-ee3d29b19e08/go.mod h1:lM1Te2wqdBLPSF7QLaskSn1fGW3Tw2l0iFGsTHTxqIg=
|
||||
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
|
||||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
|
||||
|
Loading…
x
Reference in New Issue
Block a user