Documentation ¶
Index ¶
- Variables
- type Marked
- type Operation
- type PushMsg
- func (*PushMsg) Descriptor() ([]byte, []int)deprecated
- func (x *PushMsg) GetAppId() string
- func (x *PushMsg) GetFrameType() string
- func (x *PushMsg) GetFromId() string
- func (x *PushMsg) GetKey() string
- func (x *PushMsg) GetMid() int64
- func (x *PushMsg) GetMsg() []byte
- func (x *PushMsg) GetTarget() string
- func (x *PushMsg) GetType() int32
- func (*PushMsg) ProtoMessage()
- func (x *PushMsg) ProtoReflect() protoreflect.Message
- func (x *PushMsg) Reset()
- func (x *PushMsg) String() string
- type RecordDeal
- func (*RecordDeal) Descriptor() ([]byte, []int)deprecated
- func (x *RecordDeal) GetAppId() string
- func (x *RecordDeal) GetFromId() string
- func (x *RecordDeal) GetKey() string
- func (x *RecordDeal) GetMsg() []byte
- func (x *RecordDeal) GetOpt() Operation
- func (*RecordDeal) ProtoMessage()
- func (x *RecordDeal) ProtoReflect() protoreflect.Message
- func (x *RecordDeal) Reset()
- func (x *RecordDeal) String() string
- type Sync
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Operation_name = map[int32]string{ 0: "BatchPush", 1: "MarkRead", 2: "StoreMsg", 3: "SyncMsg", } Operation_value = map[string]int32{ "BatchPush": 0, "MarkRead": 1, "StoreMsg": 2, "SyncMsg": 3, } )
Enum value maps for Operation.
View Source
var File_record_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Marked ¶
type Marked struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Mids []int64 `protobuf:"varint,2,rep,packed,name=mids,proto3" json:"mids,omitempty"` // contains filtered or unexported fields }
Operation=MarkRead
func (*Marked) Descriptor
deprecated
func (*Marked) ProtoMessage ¶
func (*Marked) ProtoMessage()
func (*Marked) ProtoReflect ¶
func (x *Marked) ProtoReflect() protoreflect.Message
type Operation ¶
type Operation int32
func (Operation) Descriptor ¶
func (Operation) Descriptor() protoreflect.EnumDescriptor
func (Operation) EnumDescriptor
deprecated
func (Operation) Number ¶
func (x Operation) Number() protoreflect.EnumNumber
func (Operation) Type ¶
func (Operation) Type() protoreflect.EnumType
type PushMsg ¶
type PushMsg struct { AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"` FromId string `protobuf:"bytes,2,opt,name=fromId,proto3" json:"fromId,omitempty"` Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"` Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` Target string `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"` //推送目标 用户id 或者 群id Msg []byte `protobuf:"bytes,6,opt,name=msg,proto3" json:"msg,omitempty"` Type int32 `protobuf:"varint,7,opt,name=type,proto3" json:"type,omitempty"` FrameType string `protobuf:"bytes,8,opt,name=frameType,proto3" json:"frameType,omitempty"` // contains filtered or unexported fields }
record --> mq
func (*PushMsg) Descriptor
deprecated
func (*PushMsg) GetFrameType ¶
func (*PushMsg) ProtoMessage ¶
func (*PushMsg) ProtoMessage()
func (*PushMsg) ProtoReflect ¶
func (x *PushMsg) ProtoReflect() protoreflect.Message
type RecordDeal ¶
type RecordDeal struct { AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"` FromId string `protobuf:"bytes,2,opt,name=fromId,proto3" json:"fromId,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Opt Operation `protobuf:"varint,4,opt,name=opt,proto3,enum=dtalk.record.Operation" json:"opt,omitempty"` Msg []byte `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
record --> mq
func (*RecordDeal) Descriptor
deprecated
func (*RecordDeal) Descriptor() ([]byte, []int)
Deprecated: Use RecordDeal.ProtoReflect.Descriptor instead.
func (*RecordDeal) GetAppId ¶
func (x *RecordDeal) GetAppId() string
func (*RecordDeal) GetFromId ¶
func (x *RecordDeal) GetFromId() string
func (*RecordDeal) GetKey ¶
func (x *RecordDeal) GetKey() string
func (*RecordDeal) GetMsg ¶
func (x *RecordDeal) GetMsg() []byte
func (*RecordDeal) GetOpt ¶
func (x *RecordDeal) GetOpt() Operation
func (*RecordDeal) ProtoMessage ¶
func (*RecordDeal) ProtoMessage()
func (*RecordDeal) ProtoReflect ¶
func (x *RecordDeal) ProtoReflect() protoreflect.Message
func (*RecordDeal) Reset ¶
func (x *RecordDeal) Reset()
func (*RecordDeal) String ¶
func (x *RecordDeal) String() string
type Sync ¶
type Sync struct { Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"` // contains filtered or unexported fields }
Operation=SyncMsg
func (*Sync) Descriptor
deprecated
func (*Sync) ProtoMessage ¶
func (*Sync) ProtoMessage()
func (*Sync) ProtoReflect ¶
func (x *Sync) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.