| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.30.0-devel
- // protoc v4.22.3
- // source: websocket.proto
- package websocket
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- emptypb "google.golang.org/protobuf/types/known/emptypb"
- 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 FindOnlineCanMatchingPersonReply struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- List []*FindOnlineCanMatchingPersonInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
- }
- func (x *FindOnlineCanMatchingPersonReply) Reset() {
- *x = FindOnlineCanMatchingPersonReply{}
- if protoimpl.UnsafeEnabled {
- mi := &file_websocket_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *FindOnlineCanMatchingPersonReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FindOnlineCanMatchingPersonReply) ProtoMessage() {}
- func (x *FindOnlineCanMatchingPersonReply) ProtoReflect() protoreflect.Message {
- mi := &file_websocket_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 FindOnlineCanMatchingPersonReply.ProtoReflect.Descriptor instead.
- func (*FindOnlineCanMatchingPersonReply) Descriptor() ([]byte, []int) {
- return file_websocket_proto_rawDescGZIP(), []int{0}
- }
- func (x *FindOnlineCanMatchingPersonReply) GetList() []*FindOnlineCanMatchingPersonInfo {
- if x != nil {
- return x.List
- }
- return make([]*FindOnlineCanMatchingPersonInfo, 0)
- }
- type FindOnlineCanMatchingPersonInfo struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- TodayMatchedNum int64 `protobuf:"varint,1,opt,name=todayMatchedNum,proto3" json:"todayMatchedNum"` // 今日被匹配数
- PersonId string `protobuf:"bytes,2,opt,name=personId,proto3" json:"personId"`
- Weight int64 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight"` // 权重
- WorkingStatus string `protobuf:"bytes,4,opt,name=workingStatus,proto3" json:"workingStatus"` // 工作状态
- Sex int64 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"` // 性别
- Age int64 `protobuf:"varint,6,opt,name=age,proto3" json:"age"` // 年龄
- Province string `protobuf:"bytes,7,opt,name=province,proto3" json:"province"` // 省
- City string `protobuf:"bytes,8,opt,name=city,proto3" json:"city"` // 市
- LastLoginTime string `protobuf:"bytes,9,opt,name=lastLoginTime,proto3" json:"lastLoginTime"`
- ConnectTime int64 `protobuf:"varint,10,opt,name=connectTime,proto3" json:"connectTime"`
- }
- func (x *FindOnlineCanMatchingPersonInfo) Reset() {
- *x = FindOnlineCanMatchingPersonInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_websocket_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *FindOnlineCanMatchingPersonInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FindOnlineCanMatchingPersonInfo) ProtoMessage() {}
- func (x *FindOnlineCanMatchingPersonInfo) ProtoReflect() protoreflect.Message {
- mi := &file_websocket_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 FindOnlineCanMatchingPersonInfo.ProtoReflect.Descriptor instead.
- func (*FindOnlineCanMatchingPersonInfo) Descriptor() ([]byte, []int) {
- return file_websocket_proto_rawDescGZIP(), []int{1}
- }
- func (x *FindOnlineCanMatchingPersonInfo) GetTodayMatchedNum() int64 {
- if x != nil {
- return x.TodayMatchedNum
- }
- return 0
- }
- func (x *FindOnlineCanMatchingPersonInfo) GetPersonId() string {
- if x != nil {
- return x.PersonId
- }
- return ""
- }
- func (x *FindOnlineCanMatchingPersonInfo) GetWeight() int64 {
- if x != nil {
- return x.Weight
- }
- return 0
- }
- func (x *FindOnlineCanMatchingPersonInfo) GetWorkingStatus() string {
- if x != nil {
- return x.WorkingStatus
- }
- return ""
- }
- func (x *FindOnlineCanMatchingPersonInfo) GetSex() int64 {
- if x != nil {
- return x.Sex
- }
- return 0
- }
- func (x *FindOnlineCanMatchingPersonInfo) GetAge() int64 {
- if x != nil {
- return x.Age
- }
- return 0
- }
- func (x *FindOnlineCanMatchingPersonInfo) GetProvince() string {
- if x != nil {
- return x.Province
- }
- return ""
- }
- func (x *FindOnlineCanMatchingPersonInfo) GetCity() string {
- if x != nil {
- return x.City
- }
- return ""
- }
- func (x *FindOnlineCanMatchingPersonInfo) GetLastLoginTime() string {
- if x != nil {
- return x.LastLoginTime
- }
- return ""
- }
- func (x *FindOnlineCanMatchingPersonInfo) GetConnectTime() int64 {
- if x != nil {
- return x.ConnectTime
- }
- return 0
- }
- type OnlinePersonReply struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- UserManNum int64 `protobuf:"varint,1,opt,name=userManNum,proto3" json:"userManNum"` // 男用户在线数
- UserWomanNum int64 `protobuf:"varint,2,opt,name=userWomanNum,proto3" json:"userWomanNum"` // 女用户在线数
- UserOtherNum int64 `protobuf:"varint,3,opt,name=userOtherNum,proto3" json:"userOtherNum"` // 未填写性别的用户在线数
- }
- func (x *OnlinePersonReply) Reset() {
- *x = OnlinePersonReply{}
- if protoimpl.UnsafeEnabled {
- mi := &file_websocket_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *OnlinePersonReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*OnlinePersonReply) ProtoMessage() {}
- func (x *OnlinePersonReply) ProtoReflect() protoreflect.Message {
- mi := &file_websocket_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 OnlinePersonReply.ProtoReflect.Descriptor instead.
- func (*OnlinePersonReply) Descriptor() ([]byte, []int) {
- return file_websocket_proto_rawDescGZIP(), []int{2}
- }
- func (x *OnlinePersonReply) GetUserManNum() int64 {
- if x != nil {
- return x.UserManNum
- }
- return 0
- }
- func (x *OnlinePersonReply) GetUserWomanNum() int64 {
- if x != nil {
- return x.UserWomanNum
- }
- return 0
- }
- func (x *OnlinePersonReply) GetUserOtherNum() int64 {
- if x != nil {
- return x.UserOtherNum
- }
- return 0
- }
- type CheckIsOnlineRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId"` // 身份ID
- }
- func (x *CheckIsOnlineRequest) Reset() {
- *x = CheckIsOnlineRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_websocket_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CheckIsOnlineRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CheckIsOnlineRequest) ProtoMessage() {}
- func (x *CheckIsOnlineRequest) ProtoReflect() protoreflect.Message {
- mi := &file_websocket_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 CheckIsOnlineRequest.ProtoReflect.Descriptor instead.
- func (*CheckIsOnlineRequest) Descriptor() ([]byte, []int) {
- return file_websocket_proto_rawDescGZIP(), []int{3}
- }
- func (x *CheckIsOnlineRequest) GetUserId() string {
- if x != nil {
- return x.UserId
- }
- return ""
- }
- type CheckIsOnlineByIDsParam struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- UserIds []string `protobuf:"bytes,1,rep,name=userIds,proto3" json:"userIds"` // 身份ID
- }
- func (x *CheckIsOnlineByIDsParam) Reset() {
- *x = CheckIsOnlineByIDsParam{}
- if protoimpl.UnsafeEnabled {
- mi := &file_websocket_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CheckIsOnlineByIDsParam) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CheckIsOnlineByIDsParam) ProtoMessage() {}
- func (x *CheckIsOnlineByIDsParam) ProtoReflect() protoreflect.Message {
- mi := &file_websocket_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 CheckIsOnlineByIDsParam.ProtoReflect.Descriptor instead.
- func (*CheckIsOnlineByIDsParam) Descriptor() ([]byte, []int) {
- return file_websocket_proto_rawDescGZIP(), []int{4}
- }
- func (x *CheckIsOnlineByIDsParam) GetUserIds() []string {
- if x != nil {
- return x.UserIds
- }
- return make([]string, 0)
- }
- type CheckIsOnlineReply struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- IsOnline bool `protobuf:"varint,1,opt,name=isOnline,proto3" json:"isOnline"` // 是否在线
- }
- func (x *CheckIsOnlineReply) Reset() {
- *x = CheckIsOnlineReply{}
- if protoimpl.UnsafeEnabled {
- mi := &file_websocket_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CheckIsOnlineReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CheckIsOnlineReply) ProtoMessage() {}
- func (x *CheckIsOnlineReply) ProtoReflect() protoreflect.Message {
- mi := &file_websocket_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 CheckIsOnlineReply.ProtoReflect.Descriptor instead.
- func (*CheckIsOnlineReply) Descriptor() ([]byte, []int) {
- return file_websocket_proto_rawDescGZIP(), []int{5}
- }
- func (x *CheckIsOnlineReply) GetIsOnline() bool {
- if x != nil {
- return x.IsOnline
- }
- return false
- }
- type UpdateWorkingStatusRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
- WorkingStatus string `protobuf:"bytes,2,opt,name=workingStatus,proto3" json:"workingStatus"`
- }
- func (x *UpdateWorkingStatusRequest) Reset() {
- *x = UpdateWorkingStatusRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_websocket_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UpdateWorkingStatusRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UpdateWorkingStatusRequest) ProtoMessage() {}
- func (x *UpdateWorkingStatusRequest) ProtoReflect() protoreflect.Message {
- mi := &file_websocket_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 UpdateWorkingStatusRequest.ProtoReflect.Descriptor instead.
- func (*UpdateWorkingStatusRequest) Descriptor() ([]byte, []int) {
- return file_websocket_proto_rawDescGZIP(), []int{6}
- }
- func (x *UpdateWorkingStatusRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *UpdateWorkingStatusRequest) GetWorkingStatus() string {
- if x != nil {
- return x.WorkingStatus
- }
- return ""
- }
- type UpdateWeightRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
- Weight int64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight"`
- }
- func (x *UpdateWeightRequest) Reset() {
- *x = UpdateWeightRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_websocket_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UpdateWeightRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UpdateWeightRequest) ProtoMessage() {}
- func (x *UpdateWeightRequest) ProtoReflect() protoreflect.Message {
- mi := &file_websocket_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 UpdateWeightRequest.ProtoReflect.Descriptor instead.
- func (*UpdateWeightRequest) Descriptor() ([]byte, []int) {
- return file_websocket_proto_rawDescGZIP(), []int{7}
- }
- func (x *UpdateWeightRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *UpdateWeightRequest) GetWeight() int64 {
- if x != nil {
- return x.Weight
- }
- return 0
- }
- type UpdateTodayMatchedNumRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
- TodayMatchedNum int64 `protobuf:"varint,2,opt,name=todayMatchedNum,proto3" json:"todayMatchedNum"`
- }
- func (x *UpdateTodayMatchedNumRequest) Reset() {
- *x = UpdateTodayMatchedNumRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_websocket_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UpdateTodayMatchedNumRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UpdateTodayMatchedNumRequest) ProtoMessage() {}
- func (x *UpdateTodayMatchedNumRequest) ProtoReflect() protoreflect.Message {
- mi := &file_websocket_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 UpdateTodayMatchedNumRequest.ProtoReflect.Descriptor instead.
- func (*UpdateTodayMatchedNumRequest) Descriptor() ([]byte, []int) {
- return file_websocket_proto_rawDescGZIP(), []int{8}
- }
- func (x *UpdateTodayMatchedNumRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *UpdateTodayMatchedNumRequest) GetTodayMatchedNum() int64 {
- if x != nil {
- return x.TodayMatchedNum
- }
- return 0
- }
- type MessageInfo struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId"` // 房间ID
- Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message"` // 发送的消息
- MsgType string `protobuf:"bytes,3,opt,name=msgType,proto3" json:"msgType"` // 消息类型
- }
- func (x *MessageInfo) Reset() {
- *x = MessageInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_websocket_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *MessageInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MessageInfo) ProtoMessage() {}
- func (x *MessageInfo) ProtoReflect() protoreflect.Message {
- mi := &file_websocket_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 MessageInfo.ProtoReflect.Descriptor instead.
- func (*MessageInfo) Descriptor() ([]byte, []int) {
- return file_websocket_proto_rawDescGZIP(), []int{9}
- }
- func (x *MessageInfo) GetRoomId() int64 {
- if x != nil {
- return x.RoomId
- }
- return 0
- }
- func (x *MessageInfo) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
- }
- func (x *MessageInfo) GetMsgType() string {
- if x != nil {
- return x.MsgType
- }
- return ""
- }
- type SendMsgRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
- Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method"`
- Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data"`
- Code int32 `protobuf:"varint,4,opt,name=code,proto3" json:"code"`
- Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message"`
- WebsocketTag string `protobuf:"bytes,6,opt,name=websocketTag,proto3" json:"websocketTag"`
- IsSelf bool `protobuf:"varint,7,opt,name=isSelf,proto3" json:"isSelf"` // 是否是给自己发送的
- MessageId int64 `protobuf:"varint,8,opt,name=messageId,proto3" json:"messageId"` // 消息id
- }
- func (x *SendMsgRequest) Reset() {
- *x = SendMsgRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_websocket_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SendMsgRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SendMsgRequest) ProtoMessage() {}
- func (x *SendMsgRequest) ProtoReflect() protoreflect.Message {
- mi := &file_websocket_proto_msgTypes[10]
- 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 SendMsgRequest.ProtoReflect.Descriptor instead.
- func (*SendMsgRequest) Descriptor() ([]byte, []int) {
- return file_websocket_proto_rawDescGZIP(), []int{10}
- }
- func (x *SendMsgRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *SendMsgRequest) GetMethod() string {
- if x != nil {
- return x.Method
- }
- return ""
- }
- func (x *SendMsgRequest) GetData() []byte {
- if x != nil {
- return x.Data
- }
- return make([]byte, 0)
- }
- func (x *SendMsgRequest) GetCode() int32 {
- if x != nil {
- return x.Code
- }
- return 0
- }
- func (x *SendMsgRequest) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
- }
- func (x *SendMsgRequest) GetWebsocketTag() string {
- if x != nil {
- return x.WebsocketTag
- }
- return ""
- }
- func (x *SendMsgRequest) GetIsSelf() bool {
- if x != nil {
- return x.IsSelf
- }
- return false
- }
- func (x *SendMsgRequest) GetMessageId() int64 {
- if x != nil {
- return x.MessageId
- }
- return 0
- }
- type SendMsgReply struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *SendMsgReply) Reset() {
- *x = SendMsgReply{}
- if protoimpl.UnsafeEnabled {
- mi := &file_websocket_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SendMsgReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SendMsgReply) ProtoMessage() {}
- func (x *SendMsgReply) ProtoReflect() protoreflect.Message {
- mi := &file_websocket_proto_msgTypes[11]
- 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 SendMsgReply.ProtoReflect.Descriptor instead.
- func (*SendMsgReply) Descriptor() ([]byte, []int) {
- return file_websocket_proto_rawDescGZIP(), []int{11}
- }
- type FindOnlinePersonReply struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- List []*OnlinePersonInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
- }
- func (x *FindOnlinePersonReply) Reset() {
- *x = FindOnlinePersonReply{}
- if protoimpl.UnsafeEnabled {
- mi := &file_websocket_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *FindOnlinePersonReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FindOnlinePersonReply) ProtoMessage() {}
- func (x *FindOnlinePersonReply) ProtoReflect() protoreflect.Message {
- mi := &file_websocket_proto_msgTypes[12]
- 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 FindOnlinePersonReply.ProtoReflect.Descriptor instead.
- func (*FindOnlinePersonReply) Descriptor() ([]byte, []int) {
- return file_websocket_proto_rawDescGZIP(), []int{12}
- }
- func (x *FindOnlinePersonReply) GetList() []*OnlinePersonInfo {
- if x != nil {
- return x.List
- }
- return make([]*OnlinePersonInfo, 0)
- }
- type OnlinePersonInfo struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- PersonId string `protobuf:"bytes,2,opt,name=personId,proto3" json:"personId"`
- Weight int64 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight"` // 权重
- WorkingStatus string `protobuf:"bytes,4,opt,name=workingStatus,proto3" json:"workingStatus"` // 工作状态
- Sex int64 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"` // 性别
- LastLoginTime string `protobuf:"bytes,6,opt,name=lastLoginTime,proto3" json:"lastLoginTime"`
- ConnectTime int64 `protobuf:"varint,7,opt,name=connectTime,proto3" json:"connectTime"`
- }
- func (x *OnlinePersonInfo) Reset() {
- *x = OnlinePersonInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_websocket_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *OnlinePersonInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*OnlinePersonInfo) ProtoMessage() {}
- func (x *OnlinePersonInfo) ProtoReflect() protoreflect.Message {
- mi := &file_websocket_proto_msgTypes[13]
- 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 OnlinePersonInfo.ProtoReflect.Descriptor instead.
- func (*OnlinePersonInfo) Descriptor() ([]byte, []int) {
- return file_websocket_proto_rawDescGZIP(), []int{13}
- }
- func (x *OnlinePersonInfo) GetPersonId() string {
- if x != nil {
- return x.PersonId
- }
- return ""
- }
- func (x *OnlinePersonInfo) GetWeight() int64 {
- if x != nil {
- return x.Weight
- }
- return 0
- }
- func (x *OnlinePersonInfo) GetWorkingStatus() string {
- if x != nil {
- return x.WorkingStatus
- }
- return ""
- }
- func (x *OnlinePersonInfo) GetSex() int64 {
- if x != nil {
- return x.Sex
- }
- return 0
- }
- func (x *OnlinePersonInfo) GetLastLoginTime() string {
- if x != nil {
- return x.LastLoginTime
- }
- return ""
- }
- func (x *OnlinePersonInfo) GetConnectTime() int64 {
- if x != nil {
- return x.ConnectTime
- }
- return 0
- }
- var File_websocket_proto protoreflect.FileDescriptor
- var file_websocket_proto_rawDesc = []byte{
- 0x0a, 0x0f, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x12, 0x0d, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74,
- 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x66, 0x0a,
- 0x20, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x61, 0x6e, 0x4d, 0x61,
- 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c,
- 0x79, 0x12, 0x42, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x2e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e,
- 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x61, 0x6e, 0x4d, 0x61, 0x74,
- 0x63, 0x68, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52,
- 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0xc1, 0x02, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e,
- 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x61, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x50,
- 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x0f, 0x74, 0x6f, 0x64,
- 0x61, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x03, 0x52, 0x0f, 0x74, 0x6f, 0x64, 0x61, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64,
- 0x4e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12,
- 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x69,
- 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
- 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a,
- 0x03, 0x73, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12,
- 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x67,
- 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a,
- 0x04, 0x63, 0x69, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x69, 0x74,
- 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x69,
- 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x4c, 0x6f,
- 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
- 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x6f,
- 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x7b, 0x0a, 0x11, 0x4f, 0x6e, 0x6c,
- 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1e,
- 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x4d, 0x61, 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x03, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x4d, 0x61, 0x6e, 0x4e, 0x75, 0x6d, 0x12, 0x22,
- 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x57, 0x6f, 0x6d, 0x61, 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x57, 0x6f, 0x6d, 0x61, 0x6e, 0x4e,
- 0x75, 0x6d, 0x12, 0x22, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x4e,
- 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x4f, 0x74,
- 0x68, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x22, 0x2e, 0x0a, 0x14, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49,
- 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16,
- 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
- 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x33, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49,
- 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x42, 0x79, 0x49, 0x44, 0x73, 0x50, 0x61, 0x72, 0x61,
- 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03,
- 0x28, 0x09, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x30, 0x0a, 0x12, 0x43,
- 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x70, 0x6c,
- 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x22, 0x52, 0x0a,
- 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74,
- 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x77,
- 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75,
- 0x73, 0x22, 0x3d, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x69, 0x67, 0x68,
- 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67,
- 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74,
- 0x22, 0x58, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x64, 0x61, 0x79, 0x4d,
- 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
- 0x12, 0x28, 0x0a, 0x0f, 0x74, 0x6f, 0x64, 0x61, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64,
- 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x74, 0x6f, 0x64, 0x61, 0x79,
- 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x22, 0x59, 0x0a, 0x0b, 0x4d, 0x65,
- 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f,
- 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x49,
- 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d,
- 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x73,
- 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0xd4, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73,
- 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68,
- 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64,
- 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04,
- 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73,
- 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x54,
- 0x61, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63,
- 0x6b, 0x65, 0x74, 0x54, 0x61, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x53, 0x65, 0x6c, 0x66,
- 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x53, 0x65, 0x6c, 0x66, 0x12, 0x1c,
- 0x0a, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28,
- 0x03, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x22, 0x0e, 0x0a, 0x0c,
- 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x4c, 0x0a, 0x15,
- 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e,
- 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x33, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63,
- 0x6b, 0x65, 0x74, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e,
- 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0xc6, 0x01, 0x0a, 0x10, 0x4f,
- 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12,
- 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x77,
- 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x77, 0x65, 0x69,
- 0x67, 0x68, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74,
- 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x77, 0x6f, 0x72, 0x6b,
- 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78,
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x24, 0x0a, 0x0d, 0x6c,
- 0x61, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d,
- 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65,
- 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54,
- 0x69, 0x6d, 0x65, 0x32, 0xc9, 0x07, 0x0a, 0x09, 0x57, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65,
- 0x74, 0x12, 0x50, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50,
- 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x24, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x46, 0x69,
- 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65,
- 0x70, 0x6c, 0x79, 0x12, 0x53, 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e,
- 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,
- 0x74, 0x79, 0x1a, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b,
- 0x65, 0x74, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72,
- 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x66, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x64,
- 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x61, 0x6e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e,
- 0x67, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a,
- 0x2f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e,
- 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x61, 0x6e, 0x4d, 0x61, 0x74,
- 0x63, 0x68, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79,
- 0x12, 0x47, 0x0a, 0x07, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x12, 0x1d, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x53, 0x65, 0x6e, 0x64,
- 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d,
- 0x73, 0x67, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x13, 0x55, 0x70, 0x64,
- 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x12, 0x29, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74,
- 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74,
- 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
- 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57,
- 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73,
- 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x69, 0x67,
- 0x68, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
- 0x79, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x64,
- 0x61, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x12, 0x2b, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x55, 0x70, 0x64,
- 0x61, 0x74, 0x65, 0x54, 0x6f, 0x64, 0x61, 0x79, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x4e,
- 0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
- 0x79, 0x22, 0x00, 0x12, 0x59, 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e,
- 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x23, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f,
- 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69,
- 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49,
- 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x66,
- 0x0a, 0x12, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x42,
- 0x79, 0x49, 0x44, 0x73, 0x12, 0x26, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f,
- 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69,
- 0x6e, 0x65, 0x42, 0x79, 0x49, 0x44, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x26, 0x2e, 0x61,
- 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x43, 0x68, 0x65,
- 0x63, 0x6b, 0x49, 0x73, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x42, 0x79, 0x49, 0x44, 0x73, 0x50,
- 0x61, 0x72, 0x61, 0x6d, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x64, 0x4f, 0x6e,
- 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x20, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73,
- 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x65, 0x72, 0x73,
- 0x6f, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x46, 0x0a, 0x14, 0x43, 0x72, 0x6f, 0x6e, 0x43,
- 0x68, 0x65, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12,
- 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42,
- 0x4c, 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74,
- 0x50, 0x01, 0x5a, 0x39, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63,
- 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63,
- 0x6b, 0x65, 0x74, 0x3b, 0x77, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x62, 0x06, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_websocket_proto_rawDescOnce sync.Once
- file_websocket_proto_rawDescData = file_websocket_proto_rawDesc
- )
- func file_websocket_proto_rawDescGZIP() []byte {
- file_websocket_proto_rawDescOnce.Do(func() {
- file_websocket_proto_rawDescData = protoimpl.X.CompressGZIP(file_websocket_proto_rawDescData)
- })
- return file_websocket_proto_rawDescData
- }
- var file_websocket_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
- var file_websocket_proto_goTypes = []interface{}{
- (*FindOnlineCanMatchingPersonReply)(nil), // 0: api.websocket.FindOnlineCanMatchingPersonReply
- (*FindOnlineCanMatchingPersonInfo)(nil), // 1: api.websocket.FindOnlineCanMatchingPersonInfo
- (*OnlinePersonReply)(nil), // 2: api.websocket.OnlinePersonReply
- (*CheckIsOnlineRequest)(nil), // 3: api.websocket.CheckIsOnlineRequest
- (*CheckIsOnlineByIDsParam)(nil), // 4: api.websocket.CheckIsOnlineByIDsParam
- (*CheckIsOnlineReply)(nil), // 5: api.websocket.CheckIsOnlineReply
- (*UpdateWorkingStatusRequest)(nil), // 6: api.websocket.UpdateWorkingStatusRequest
- (*UpdateWeightRequest)(nil), // 7: api.websocket.UpdateWeightRequest
- (*UpdateTodayMatchedNumRequest)(nil), // 8: api.websocket.UpdateTodayMatchedNumRequest
- (*MessageInfo)(nil), // 9: api.websocket.MessageInfo
- (*SendMsgRequest)(nil), // 10: api.websocket.SendMsgRequest
- (*SendMsgReply)(nil), // 11: api.websocket.SendMsgReply
- (*FindOnlinePersonReply)(nil), // 12: api.websocket.FindOnlinePersonReply
- (*OnlinePersonInfo)(nil), // 13: api.websocket.OnlinePersonInfo
- (*emptypb.Empty)(nil), // 14: google.protobuf.Empty
- }
- var file_websocket_proto_depIdxs = []int32{
- 1, // 0: api.websocket.FindOnlineCanMatchingPersonReply.list:type_name -> api.websocket.FindOnlineCanMatchingPersonInfo
- 13, // 1: api.websocket.FindOnlinePersonReply.list:type_name -> api.websocket.OnlinePersonInfo
- 14, // 2: api.websocket.Websocket.FindOnlinePerson:input_type -> google.protobuf.Empty
- 14, // 3: api.websocket.Websocket.FindOnlinePersonAll:input_type -> google.protobuf.Empty
- 14, // 4: api.websocket.Websocket.FindOnlineCanMatchingPerson:input_type -> google.protobuf.Empty
- 10, // 5: api.websocket.Websocket.SendMsg:input_type -> api.websocket.SendMsgRequest
- 6, // 6: api.websocket.Websocket.UpdateWorkingStatus:input_type -> api.websocket.UpdateWorkingStatusRequest
- 7, // 7: api.websocket.Websocket.UpdateWeight:input_type -> api.websocket.UpdateWeightRequest
- 8, // 8: api.websocket.Websocket.UpdateTodayMatchedNum:input_type -> api.websocket.UpdateTodayMatchedNumRequest
- 3, // 9: api.websocket.Websocket.CheckIsOnline:input_type -> api.websocket.CheckIsOnlineRequest
- 4, // 10: api.websocket.Websocket.CheckIsOnlineByIDs:input_type -> api.websocket.CheckIsOnlineByIDsParam
- 14, // 11: api.websocket.Websocket.FindOnlinePersonNum:input_type -> google.protobuf.Empty
- 14, // 12: api.websocket.Websocket.CronCheckConnectTime:input_type -> google.protobuf.Empty
- 12, // 13: api.websocket.Websocket.FindOnlinePerson:output_type -> api.websocket.FindOnlinePersonReply
- 12, // 14: api.websocket.Websocket.FindOnlinePersonAll:output_type -> api.websocket.FindOnlinePersonReply
- 0, // 15: api.websocket.Websocket.FindOnlineCanMatchingPerson:output_type -> api.websocket.FindOnlineCanMatchingPersonReply
- 11, // 16: api.websocket.Websocket.SendMsg:output_type -> api.websocket.SendMsgReply
- 14, // 17: api.websocket.Websocket.UpdateWorkingStatus:output_type -> google.protobuf.Empty
- 14, // 18: api.websocket.Websocket.UpdateWeight:output_type -> google.protobuf.Empty
- 14, // 19: api.websocket.Websocket.UpdateTodayMatchedNum:output_type -> google.protobuf.Empty
- 5, // 20: api.websocket.Websocket.CheckIsOnline:output_type -> api.websocket.CheckIsOnlineReply
- 4, // 21: api.websocket.Websocket.CheckIsOnlineByIDs:output_type -> api.websocket.CheckIsOnlineByIDsParam
- 2, // 22: api.websocket.Websocket.FindOnlinePersonNum:output_type -> api.websocket.OnlinePersonReply
- 14, // 23: api.websocket.Websocket.CronCheckConnectTime:output_type -> google.protobuf.Empty
- 13, // [13:24] is the sub-list for method output_type
- 2, // [2:13] is the sub-list for method input_type
- 2, // [2:2] is the sub-list for extension type_name
- 2, // [2:2] is the sub-list for extension extendee
- 0, // [0:2] is the sub-list for field type_name
- }
- func init() { file_websocket_proto_init() }
- func file_websocket_proto_init() {
- if File_websocket_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_websocket_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FindOnlineCanMatchingPersonReply); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_websocket_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FindOnlineCanMatchingPersonInfo); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_websocket_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OnlinePersonReply); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_websocket_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CheckIsOnlineRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_websocket_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CheckIsOnlineByIDsParam); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_websocket_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CheckIsOnlineReply); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_websocket_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpdateWorkingStatusRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_websocket_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpdateWeightRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_websocket_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpdateTodayMatchedNumRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_websocket_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MessageInfo); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_websocket_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SendMsgRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_websocket_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SendMsgReply); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_websocket_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FindOnlinePersonReply); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_websocket_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OnlinePersonInfo); 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_websocket_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 14,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_websocket_proto_goTypes,
- DependencyIndexes: file_websocket_proto_depIdxs,
- MessageInfos: file_websocket_proto_msgTypes,
- }.Build()
- File_websocket_proto = out.File
- file_websocket_proto_rawDesc = nil
- file_websocket_proto_goTypes = nil
- file_websocket_proto_depIdxs = nil
- }
|