mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-01 07:35:58 +08:00
api rpc third
This commit is contained in:
+445
-199
@@ -24,214 +24,384 @@ var _ = math.Inf
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
type ApplySpaceReq struct {
|
||||
type ApplyPutReq struct {
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Size int64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
|
||||
Hash string `protobuf:"bytes,3,opt,name=hash" json:"hash,omitempty"`
|
||||
Purpose uint32 `protobuf:"varint,4,opt,name=purpose" json:"purpose,omitempty"`
|
||||
ContentType string `protobuf:"bytes,5,opt,name=contentType" json:"contentType,omitempty"`
|
||||
FragmentSize int64 `protobuf:"varint,4,opt,name=fragmentSize" json:"fragmentSize,omitempty"`
|
||||
CleanTime int64 `protobuf:"varint,5,opt,name=cleanTime" json:"cleanTime,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ApplySpaceReq) Reset() { *m = ApplySpaceReq{} }
|
||||
func (m *ApplySpaceReq) String() string { return proto.CompactTextString(m) }
|
||||
func (*ApplySpaceReq) ProtoMessage() {}
|
||||
func (*ApplySpaceReq) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_third_de04cb9a0062d654, []int{0}
|
||||
func (m *ApplyPutReq) Reset() { *m = ApplyPutReq{} }
|
||||
func (m *ApplyPutReq) String() string { return proto.CompactTextString(m) }
|
||||
func (*ApplyPutReq) ProtoMessage() {}
|
||||
func (*ApplyPutReq) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_third_1a03a4b056d14713, []int{0}
|
||||
}
|
||||
func (m *ApplySpaceReq) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ApplySpaceReq.Unmarshal(m, b)
|
||||
func (m *ApplyPutReq) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ApplyPutReq.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ApplySpaceReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ApplySpaceReq.Marshal(b, m, deterministic)
|
||||
func (m *ApplyPutReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ApplyPutReq.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ApplySpaceReq) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ApplySpaceReq.Merge(dst, src)
|
||||
func (dst *ApplyPutReq) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ApplyPutReq.Merge(dst, src)
|
||||
}
|
||||
func (m *ApplySpaceReq) XXX_Size() int {
|
||||
return xxx_messageInfo_ApplySpaceReq.Size(m)
|
||||
func (m *ApplyPutReq) XXX_Size() int {
|
||||
return xxx_messageInfo_ApplyPutReq.Size(m)
|
||||
}
|
||||
func (m *ApplySpaceReq) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ApplySpaceReq.DiscardUnknown(m)
|
||||
func (m *ApplyPutReq) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ApplyPutReq.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ApplySpaceReq proto.InternalMessageInfo
|
||||
var xxx_messageInfo_ApplyPutReq proto.InternalMessageInfo
|
||||
|
||||
func (m *ApplySpaceReq) GetName() string {
|
||||
func (m *ApplyPutReq) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ApplySpaceReq) GetSize() int64 {
|
||||
func (m *ApplyPutReq) GetSize() int64 {
|
||||
if m != nil {
|
||||
return m.Size
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ApplySpaceReq) GetHash() string {
|
||||
func (m *ApplyPutReq) GetHash() string {
|
||||
if m != nil {
|
||||
return m.Hash
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ApplySpaceReq) GetPurpose() uint32 {
|
||||
func (m *ApplyPutReq) GetFragmentSize() int64 {
|
||||
if m != nil {
|
||||
return m.Purpose
|
||||
return m.FragmentSize
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ApplySpaceReq) GetContentType() string {
|
||||
func (m *ApplyPutReq) GetCleanTime() int64 {
|
||||
if m != nil {
|
||||
return m.ContentType
|
||||
return m.CleanTime
|
||||
}
|
||||
return ""
|
||||
return 0
|
||||
}
|
||||
|
||||
type ApplySpaceResp struct {
|
||||
type ApplyPutResp struct {
|
||||
Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
|
||||
Size int64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
|
||||
Put []string `protobuf:"bytes,3,rep,name=put" json:"put,omitempty"`
|
||||
ConfirmID string `protobuf:"bytes,4,opt,name=confirmID" json:"confirmID,omitempty"`
|
||||
PutID string `protobuf:"bytes,2,opt,name=putID" json:"putID,omitempty"`
|
||||
FragmentSize int64 `protobuf:"varint,3,opt,name=fragmentSize" json:"fragmentSize,omitempty"`
|
||||
ExpirationTime int64 `protobuf:"varint,4,opt,name=expirationTime" json:"expirationTime,omitempty"`
|
||||
PutURLs []string `protobuf:"bytes,5,rep,name=PutURLs" json:"PutURLs,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ApplySpaceResp) Reset() { *m = ApplySpaceResp{} }
|
||||
func (m *ApplySpaceResp) String() string { return proto.CompactTextString(m) }
|
||||
func (*ApplySpaceResp) ProtoMessage() {}
|
||||
func (*ApplySpaceResp) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_third_de04cb9a0062d654, []int{1}
|
||||
func (m *ApplyPutResp) Reset() { *m = ApplyPutResp{} }
|
||||
func (m *ApplyPutResp) String() string { return proto.CompactTextString(m) }
|
||||
func (*ApplyPutResp) ProtoMessage() {}
|
||||
func (*ApplyPutResp) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_third_1a03a4b056d14713, []int{1}
|
||||
}
|
||||
func (m *ApplySpaceResp) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ApplySpaceResp.Unmarshal(m, b)
|
||||
func (m *ApplyPutResp) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ApplyPutResp.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ApplySpaceResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ApplySpaceResp.Marshal(b, m, deterministic)
|
||||
func (m *ApplyPutResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ApplyPutResp.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ApplySpaceResp) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ApplySpaceResp.Merge(dst, src)
|
||||
func (dst *ApplyPutResp) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ApplyPutResp.Merge(dst, src)
|
||||
}
|
||||
func (m *ApplySpaceResp) XXX_Size() int {
|
||||
return xxx_messageInfo_ApplySpaceResp.Size(m)
|
||||
func (m *ApplyPutResp) XXX_Size() int {
|
||||
return xxx_messageInfo_ApplyPutResp.Size(m)
|
||||
}
|
||||
func (m *ApplySpaceResp) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ApplySpaceResp.DiscardUnknown(m)
|
||||
func (m *ApplyPutResp) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ApplyPutResp.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ApplySpaceResp proto.InternalMessageInfo
|
||||
var xxx_messageInfo_ApplyPutResp proto.InternalMessageInfo
|
||||
|
||||
func (m *ApplySpaceResp) GetUrl() string {
|
||||
func (m *ApplyPutResp) GetUrl() string {
|
||||
if m != nil {
|
||||
return m.Url
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ApplySpaceResp) GetSize() int64 {
|
||||
func (m *ApplyPutResp) GetPutID() string {
|
||||
if m != nil {
|
||||
return m.PutID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ApplyPutResp) GetFragmentSize() int64 {
|
||||
if m != nil {
|
||||
return m.FragmentSize
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ApplyPutResp) GetExpirationTime() int64 {
|
||||
if m != nil {
|
||||
return m.ExpirationTime
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ApplyPutResp) GetPutURLs() []string {
|
||||
if m != nil {
|
||||
return m.PutURLs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type ConfirmPutReq struct {
|
||||
PutID string `protobuf:"bytes,1,opt,name=putID" json:"putID,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ConfirmPutReq) Reset() { *m = ConfirmPutReq{} }
|
||||
func (m *ConfirmPutReq) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConfirmPutReq) ProtoMessage() {}
|
||||
func (*ConfirmPutReq) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_third_1a03a4b056d14713, []int{2}
|
||||
}
|
||||
func (m *ConfirmPutReq) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConfirmPutReq.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConfirmPutReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConfirmPutReq.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ConfirmPutReq) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConfirmPutReq.Merge(dst, src)
|
||||
}
|
||||
func (m *ConfirmPutReq) XXX_Size() int {
|
||||
return xxx_messageInfo_ConfirmPutReq.Size(m)
|
||||
}
|
||||
func (m *ConfirmPutReq) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ConfirmPutReq.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ConfirmPutReq proto.InternalMessageInfo
|
||||
|
||||
func (m *ConfirmPutReq) GetPutID() string {
|
||||
if m != nil {
|
||||
return m.PutID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type ConfirmPutResp struct {
|
||||
Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ConfirmPutResp) Reset() { *m = ConfirmPutResp{} }
|
||||
func (m *ConfirmPutResp) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConfirmPutResp) ProtoMessage() {}
|
||||
func (*ConfirmPutResp) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_third_1a03a4b056d14713, []int{3}
|
||||
}
|
||||
func (m *ConfirmPutResp) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConfirmPutResp.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConfirmPutResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConfirmPutResp.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ConfirmPutResp) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConfirmPutResp.Merge(dst, src)
|
||||
}
|
||||
func (m *ConfirmPutResp) XXX_Size() int {
|
||||
return xxx_messageInfo_ConfirmPutResp.Size(m)
|
||||
}
|
||||
func (m *ConfirmPutResp) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ConfirmPutResp.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ConfirmPutResp proto.InternalMessageInfo
|
||||
|
||||
func (m *ConfirmPutResp) GetUrl() string {
|
||||
if m != nil {
|
||||
return m.Url
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type GetPutReq struct {
|
||||
PutID string `protobuf:"bytes,1,opt,name=putID" json:"putID,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *GetPutReq) Reset() { *m = GetPutReq{} }
|
||||
func (m *GetPutReq) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetPutReq) ProtoMessage() {}
|
||||
func (*GetPutReq) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_third_1a03a4b056d14713, []int{4}
|
||||
}
|
||||
func (m *GetPutReq) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetPutReq.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GetPutReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GetPutReq.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *GetPutReq) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GetPutReq.Merge(dst, src)
|
||||
}
|
||||
func (m *GetPutReq) XXX_Size() int {
|
||||
return xxx_messageInfo_GetPutReq.Size(m)
|
||||
}
|
||||
func (m *GetPutReq) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GetPutReq.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GetPutReq proto.InternalMessageInfo
|
||||
|
||||
func (m *GetPutReq) GetPutID() string {
|
||||
if m != nil {
|
||||
return m.PutID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type GetPutFragment struct {
|
||||
Size int64 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"`
|
||||
Hash string `protobuf:"bytes,2,opt,name=hash" json:"hash,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *GetPutFragment) Reset() { *m = GetPutFragment{} }
|
||||
func (m *GetPutFragment) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetPutFragment) ProtoMessage() {}
|
||||
func (*GetPutFragment) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_third_1a03a4b056d14713, []int{5}
|
||||
}
|
||||
func (m *GetPutFragment) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetPutFragment.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GetPutFragment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GetPutFragment.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *GetPutFragment) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GetPutFragment.Merge(dst, src)
|
||||
}
|
||||
func (m *GetPutFragment) XXX_Size() int {
|
||||
return xxx_messageInfo_GetPutFragment.Size(m)
|
||||
}
|
||||
func (m *GetPutFragment) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GetPutFragment.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GetPutFragment proto.InternalMessageInfo
|
||||
|
||||
func (m *GetPutFragment) GetSize() int64 {
|
||||
if m != nil {
|
||||
return m.Size
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ApplySpaceResp) GetPut() []string {
|
||||
func (m *GetPutFragment) GetHash() string {
|
||||
if m != nil {
|
||||
return m.Put
|
||||
return m.Hash
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type GetPutResp struct {
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
Size int64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
|
||||
Hash string `protobuf:"bytes,3,opt,name=hash" json:"hash,omitempty"`
|
||||
FragmentSize int64 `protobuf:"varint,4,opt,name=fragmentSize" json:"fragmentSize,omitempty"`
|
||||
CleanTime int64 `protobuf:"varint,5,opt,name=cleanTime" json:"cleanTime,omitempty"`
|
||||
Fragments []*GetPutFragment `protobuf:"bytes,6,rep,name=fragments" json:"fragments,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *GetPutResp) Reset() { *m = GetPutResp{} }
|
||||
func (m *GetPutResp) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetPutResp) ProtoMessage() {}
|
||||
func (*GetPutResp) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_third_1a03a4b056d14713, []int{6}
|
||||
}
|
||||
func (m *GetPutResp) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetPutResp.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GetPutResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GetPutResp.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *GetPutResp) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GetPutResp.Merge(dst, src)
|
||||
}
|
||||
func (m *GetPutResp) XXX_Size() int {
|
||||
return xxx_messageInfo_GetPutResp.Size(m)
|
||||
}
|
||||
func (m *GetPutResp) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GetPutResp.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GetPutResp proto.InternalMessageInfo
|
||||
|
||||
func (m *GetPutResp) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *GetPutResp) GetSize() int64 {
|
||||
if m != nil {
|
||||
return m.Size
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *GetPutResp) GetHash() string {
|
||||
if m != nil {
|
||||
return m.Hash
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *GetPutResp) GetFragmentSize() int64 {
|
||||
if m != nil {
|
||||
return m.FragmentSize
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *GetPutResp) GetCleanTime() int64 {
|
||||
if m != nil {
|
||||
return m.CleanTime
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *GetPutResp) GetFragments() []*GetPutFragment {
|
||||
if m != nil {
|
||||
return m.Fragments
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ApplySpaceResp) GetConfirmID() string {
|
||||
if m != nil {
|
||||
return m.ConfirmID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type ConfirmSpaceReq struct {
|
||||
ConfirmID string `protobuf:"bytes,1,opt,name=confirmID" json:"confirmID,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ConfirmSpaceReq) Reset() { *m = ConfirmSpaceReq{} }
|
||||
func (m *ConfirmSpaceReq) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConfirmSpaceReq) ProtoMessage() {}
|
||||
func (*ConfirmSpaceReq) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_third_de04cb9a0062d654, []int{2}
|
||||
}
|
||||
func (m *ConfirmSpaceReq) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConfirmSpaceReq.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConfirmSpaceReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConfirmSpaceReq.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ConfirmSpaceReq) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConfirmSpaceReq.Merge(dst, src)
|
||||
}
|
||||
func (m *ConfirmSpaceReq) XXX_Size() int {
|
||||
return xxx_messageInfo_ConfirmSpaceReq.Size(m)
|
||||
}
|
||||
func (m *ConfirmSpaceReq) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ConfirmSpaceReq.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ConfirmSpaceReq proto.InternalMessageInfo
|
||||
|
||||
func (m *ConfirmSpaceReq) GetConfirmID() string {
|
||||
if m != nil {
|
||||
return m.ConfirmID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type ConfirmSpaceResp struct {
|
||||
ConfirmID string `protobuf:"bytes,1,opt,name=confirmID" json:"confirmID,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ConfirmSpaceResp) Reset() { *m = ConfirmSpaceResp{} }
|
||||
func (m *ConfirmSpaceResp) String() string { return proto.CompactTextString(m) }
|
||||
func (*ConfirmSpaceResp) ProtoMessage() {}
|
||||
func (*ConfirmSpaceResp) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_third_de04cb9a0062d654, []int{3}
|
||||
}
|
||||
func (m *ConfirmSpaceResp) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ConfirmSpaceResp.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ConfirmSpaceResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ConfirmSpaceResp.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *ConfirmSpaceResp) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ConfirmSpaceResp.Merge(dst, src)
|
||||
}
|
||||
func (m *ConfirmSpaceResp) XXX_Size() int {
|
||||
return xxx_messageInfo_ConfirmSpaceResp.Size(m)
|
||||
}
|
||||
func (m *ConfirmSpaceResp) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ConfirmSpaceResp.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ConfirmSpaceResp proto.InternalMessageInfo
|
||||
|
||||
func (m *ConfirmSpaceResp) GetConfirmID() string {
|
||||
if m != nil {
|
||||
return m.ConfirmID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type GetSignalInvitationInfoReq struct {
|
||||
ClientMsgID string `protobuf:"bytes,1,opt,name=ClientMsgID" json:"ClientMsgID,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
@@ -243,7 +413,7 @@ func (m *GetSignalInvitationInfoReq) Reset() { *m = GetSignalInvitationI
|
||||
func (m *GetSignalInvitationInfoReq) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetSignalInvitationInfoReq) ProtoMessage() {}
|
||||
func (*GetSignalInvitationInfoReq) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_third_de04cb9a0062d654, []int{4}
|
||||
return fileDescriptor_third_1a03a4b056d14713, []int{7}
|
||||
}
|
||||
func (m *GetSignalInvitationInfoReq) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetSignalInvitationInfoReq.Unmarshal(m, b)
|
||||
@@ -282,7 +452,7 @@ func (m *GetSignalInvitationInfoResp) Reset() { *m = GetSignalInvitation
|
||||
func (m *GetSignalInvitationInfoResp) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetSignalInvitationInfoResp) ProtoMessage() {}
|
||||
func (*GetSignalInvitationInfoResp) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_third_de04cb9a0062d654, []int{5}
|
||||
return fileDescriptor_third_1a03a4b056d14713, []int{8}
|
||||
}
|
||||
func (m *GetSignalInvitationInfoResp) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetSignalInvitationInfoResp.Unmarshal(m, b)
|
||||
@@ -327,7 +497,7 @@ func (m *GetSignalInvitationInfoStartAppReq) Reset() { *m = GetSignalInv
|
||||
func (m *GetSignalInvitationInfoStartAppReq) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetSignalInvitationInfoStartAppReq) ProtoMessage() {}
|
||||
func (*GetSignalInvitationInfoStartAppReq) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_third_de04cb9a0062d654, []int{6}
|
||||
return fileDescriptor_third_1a03a4b056d14713, []int{9}
|
||||
}
|
||||
func (m *GetSignalInvitationInfoStartAppReq) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetSignalInvitationInfoStartAppReq.Unmarshal(m, b)
|
||||
@@ -366,7 +536,7 @@ func (m *GetSignalInvitationInfoStartAppResp) Reset() { *m = GetSignalIn
|
||||
func (m *GetSignalInvitationInfoStartAppResp) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetSignalInvitationInfoStartAppResp) ProtoMessage() {}
|
||||
func (*GetSignalInvitationInfoStartAppResp) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_third_de04cb9a0062d654, []int{7}
|
||||
return fileDescriptor_third_1a03a4b056d14713, []int{10}
|
||||
}
|
||||
func (m *GetSignalInvitationInfoStartAppResp) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetSignalInvitationInfoStartAppResp.Unmarshal(m, b)
|
||||
@@ -414,7 +584,7 @@ func (m *FcmUpdateTokenReq) Reset() { *m = FcmUpdateTokenReq{} }
|
||||
func (m *FcmUpdateTokenReq) String() string { return proto.CompactTextString(m) }
|
||||
func (*FcmUpdateTokenReq) ProtoMessage() {}
|
||||
func (*FcmUpdateTokenReq) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_third_de04cb9a0062d654, []int{8}
|
||||
return fileDescriptor_third_1a03a4b056d14713, []int{11}
|
||||
}
|
||||
func (m *FcmUpdateTokenReq) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_FcmUpdateTokenReq.Unmarshal(m, b)
|
||||
@@ -472,7 +642,7 @@ func (m *FcmUpdateTokenResp) Reset() { *m = FcmUpdateTokenResp{} }
|
||||
func (m *FcmUpdateTokenResp) String() string { return proto.CompactTextString(m) }
|
||||
func (*FcmUpdateTokenResp) ProtoMessage() {}
|
||||
func (*FcmUpdateTokenResp) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_third_de04cb9a0062d654, []int{9}
|
||||
return fileDescriptor_third_1a03a4b056d14713, []int{12}
|
||||
}
|
||||
func (m *FcmUpdateTokenResp) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_FcmUpdateTokenResp.Unmarshal(m, b)
|
||||
@@ -504,7 +674,7 @@ func (m *SetAppBadgeReq) Reset() { *m = SetAppBadgeReq{} }
|
||||
func (m *SetAppBadgeReq) String() string { return proto.CompactTextString(m) }
|
||||
func (*SetAppBadgeReq) ProtoMessage() {}
|
||||
func (*SetAppBadgeReq) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_third_de04cb9a0062d654, []int{10}
|
||||
return fileDescriptor_third_1a03a4b056d14713, []int{13}
|
||||
}
|
||||
func (m *SetAppBadgeReq) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SetAppBadgeReq.Unmarshal(m, b)
|
||||
@@ -548,7 +718,7 @@ func (m *SetAppBadgeResp) Reset() { *m = SetAppBadgeResp{} }
|
||||
func (m *SetAppBadgeResp) String() string { return proto.CompactTextString(m) }
|
||||
func (*SetAppBadgeResp) ProtoMessage() {}
|
||||
func (*SetAppBadgeResp) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_third_de04cb9a0062d654, []int{11}
|
||||
return fileDescriptor_third_1a03a4b056d14713, []int{14}
|
||||
}
|
||||
func (m *SetAppBadgeResp) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SetAppBadgeResp.Unmarshal(m, b)
|
||||
@@ -569,10 +739,13 @@ func (m *SetAppBadgeResp) XXX_DiscardUnknown() {
|
||||
var xxx_messageInfo_SetAppBadgeResp proto.InternalMessageInfo
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*ApplySpaceReq)(nil), "third.ApplySpaceReq")
|
||||
proto.RegisterType((*ApplySpaceResp)(nil), "third.ApplySpaceResp")
|
||||
proto.RegisterType((*ConfirmSpaceReq)(nil), "third.ConfirmSpaceReq")
|
||||
proto.RegisterType((*ConfirmSpaceResp)(nil), "third.ConfirmSpaceResp")
|
||||
proto.RegisterType((*ApplyPutReq)(nil), "third.ApplyPutReq")
|
||||
proto.RegisterType((*ApplyPutResp)(nil), "third.ApplyPutResp")
|
||||
proto.RegisterType((*ConfirmPutReq)(nil), "third.ConfirmPutReq")
|
||||
proto.RegisterType((*ConfirmPutResp)(nil), "third.ConfirmPutResp")
|
||||
proto.RegisterType((*GetPutReq)(nil), "third.GetPutReq")
|
||||
proto.RegisterType((*GetPutFragment)(nil), "third.GetPutFragment")
|
||||
proto.RegisterType((*GetPutResp)(nil), "third.GetPutResp")
|
||||
proto.RegisterType((*GetSignalInvitationInfoReq)(nil), "third.GetSignalInvitationInfoReq")
|
||||
proto.RegisterType((*GetSignalInvitationInfoResp)(nil), "third.GetSignalInvitationInfoResp")
|
||||
proto.RegisterType((*GetSignalInvitationInfoStartAppReq)(nil), "third.GetSignalInvitationInfoStartAppReq")
|
||||
@@ -594,7 +767,9 @@ const _ = grpc.SupportPackageIsVersion4
|
||||
// Client API for Third service
|
||||
|
||||
type ThirdClient interface {
|
||||
ApplySpace(ctx context.Context, in *ApplySpaceReq, opts ...grpc.CallOption) (*ApplySpaceResp, error)
|
||||
ApplyPut(ctx context.Context, in *ApplyPutReq, opts ...grpc.CallOption) (*ApplyPutResp, error)
|
||||
GetPut(ctx context.Context, in *GetPutReq, opts ...grpc.CallOption) (*GetPutResp, error)
|
||||
ConfirmPut(ctx context.Context, in *ConfirmPutReq, opts ...grpc.CallOption) (*ConfirmPutResp, error)
|
||||
GetSignalInvitationInfo(ctx context.Context, in *GetSignalInvitationInfoReq, opts ...grpc.CallOption) (*GetSignalInvitationInfoResp, error)
|
||||
GetSignalInvitationInfoStartApp(ctx context.Context, in *GetSignalInvitationInfoStartAppReq, opts ...grpc.CallOption) (*GetSignalInvitationInfoStartAppResp, error)
|
||||
FcmUpdateToken(ctx context.Context, in *FcmUpdateTokenReq, opts ...grpc.CallOption) (*FcmUpdateTokenResp, error)
|
||||
@@ -609,9 +784,27 @@ func NewThirdClient(cc *grpc.ClientConn) ThirdClient {
|
||||
return &thirdClient{cc}
|
||||
}
|
||||
|
||||
func (c *thirdClient) ApplySpace(ctx context.Context, in *ApplySpaceReq, opts ...grpc.CallOption) (*ApplySpaceResp, error) {
|
||||
out := new(ApplySpaceResp)
|
||||
err := grpc.Invoke(ctx, "/third.third/ApplySpace", in, out, c.cc, opts...)
|
||||
func (c *thirdClient) ApplyPut(ctx context.Context, in *ApplyPutReq, opts ...grpc.CallOption) (*ApplyPutResp, error) {
|
||||
out := new(ApplyPutResp)
|
||||
err := grpc.Invoke(ctx, "/third.third/ApplyPut", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *thirdClient) GetPut(ctx context.Context, in *GetPutReq, opts ...grpc.CallOption) (*GetPutResp, error) {
|
||||
out := new(GetPutResp)
|
||||
err := grpc.Invoke(ctx, "/third.third/GetPut", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *thirdClient) ConfirmPut(ctx context.Context, in *ConfirmPutReq, opts ...grpc.CallOption) (*ConfirmPutResp, error) {
|
||||
out := new(ConfirmPutResp)
|
||||
err := grpc.Invoke(ctx, "/third.third/ConfirmPut", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -657,7 +850,9 @@ func (c *thirdClient) SetAppBadge(ctx context.Context, in *SetAppBadgeReq, opts
|
||||
// Server API for Third service
|
||||
|
||||
type ThirdServer interface {
|
||||
ApplySpace(context.Context, *ApplySpaceReq) (*ApplySpaceResp, error)
|
||||
ApplyPut(context.Context, *ApplyPutReq) (*ApplyPutResp, error)
|
||||
GetPut(context.Context, *GetPutReq) (*GetPutResp, error)
|
||||
ConfirmPut(context.Context, *ConfirmPutReq) (*ConfirmPutResp, error)
|
||||
GetSignalInvitationInfo(context.Context, *GetSignalInvitationInfoReq) (*GetSignalInvitationInfoResp, error)
|
||||
GetSignalInvitationInfoStartApp(context.Context, *GetSignalInvitationInfoStartAppReq) (*GetSignalInvitationInfoStartAppResp, error)
|
||||
FcmUpdateToken(context.Context, *FcmUpdateTokenReq) (*FcmUpdateTokenResp, error)
|
||||
@@ -668,20 +863,56 @@ func RegisterThirdServer(s *grpc.Server, srv ThirdServer) {
|
||||
s.RegisterService(&_Third_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _Third_ApplySpace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ApplySpaceReq)
|
||||
func _Third_ApplyPut_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ApplyPutReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ThirdServer).ApplySpace(ctx, in)
|
||||
return srv.(ThirdServer).ApplyPut(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/third.third/ApplySpace",
|
||||
FullMethod: "/third.third/ApplyPut",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ThirdServer).ApplySpace(ctx, req.(*ApplySpaceReq))
|
||||
return srv.(ThirdServer).ApplyPut(ctx, req.(*ApplyPutReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Third_GetPut_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetPutReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ThirdServer).GetPut(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/third.third/GetPut",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ThirdServer).GetPut(ctx, req.(*GetPutReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Third_ConfirmPut_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ConfirmPutReq)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(ThirdServer).ConfirmPut(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/third.third/ConfirmPut",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ThirdServer).ConfirmPut(ctx, req.(*ConfirmPutReq))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
@@ -763,8 +994,16 @@ var _Third_serviceDesc = grpc.ServiceDesc{
|
||||
HandlerType: (*ThirdServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "ApplySpace",
|
||||
Handler: _Third_ApplySpace_Handler,
|
||||
MethodName: "ApplyPut",
|
||||
Handler: _Third_ApplyPut_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetPut",
|
||||
Handler: _Third_GetPut_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ConfirmPut",
|
||||
Handler: _Third_ConfirmPut_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetSignalInvitationInfo",
|
||||
@@ -787,46 +1026,53 @@ var _Third_serviceDesc = grpc.ServiceDesc{
|
||||
Metadata: "third/third.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("third/third.proto", fileDescriptor_third_de04cb9a0062d654) }
|
||||
func init() { proto.RegisterFile("third/third.proto", fileDescriptor_third_1a03a4b056d14713) }
|
||||
|
||||
var fileDescriptor_third_de04cb9a0062d654 = []byte{
|
||||
// 608 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x54, 0xcd, 0x6e, 0xd3, 0x40,
|
||||
0x10, 0x96, 0xeb, 0xb6, 0x90, 0x89, 0x9a, 0xb6, 0xab, 0xb6, 0x18, 0x53, 0x15, 0x63, 0x24, 0x28,
|
||||
0x48, 0x8d, 0x51, 0x39, 0x21, 0x0a, 0xa2, 0x2d, 0x14, 0xe5, 0x50, 0x35, 0x72, 0xd2, 0x0b, 0x27,
|
||||
0x8c, 0xb3, 0x4e, 0xac, 0x38, 0xeb, 0xc1, 0xbb, 0xee, 0x0f, 0x2f, 0x80, 0x78, 0x09, 0x2e, 0x48,
|
||||
0x3c, 0x27, 0xda, 0xb5, 0x93, 0xda, 0x26, 0x69, 0x38, 0x72, 0xb1, 0x76, 0x3e, 0x7f, 0xdf, 0xec,
|
||||
0xfc, 0xec, 0x0c, 0xac, 0x8b, 0x41, 0x98, 0xf4, 0x1c, 0xf5, 0x6d, 0x62, 0x12, 0x8b, 0x98, 0x2c,
|
||||
0x29, 0xc3, 0x7c, 0x7a, 0x86, 0x94, 0xed, 0xb5, 0x4e, 0xf7, 0x3a, 0x34, 0xb9, 0xa0, 0x89, 0x83,
|
||||
0xc3, 0xbe, 0xa3, 0x08, 0x0e, 0xef, 0x0d, 0x2f, 0xb9, 0x73, 0xc9, 0x33, 0xbe, 0xfd, 0x5d, 0x83,
|
||||
0x95, 0x43, 0xc4, 0xe8, 0xba, 0x83, 0x9e, 0x4f, 0x5d, 0xfa, 0x95, 0x10, 0x58, 0x64, 0xde, 0x88,
|
||||
0x1a, 0x9a, 0xa5, 0xed, 0xd6, 0x5c, 0x75, 0x96, 0x18, 0x0f, 0xbf, 0x51, 0x63, 0xc1, 0xd2, 0x76,
|
||||
0x75, 0x57, 0x9d, 0x25, 0x36, 0xf0, 0xf8, 0xc0, 0xd0, 0x33, 0x9e, 0x3c, 0x13, 0x03, 0xee, 0x60,
|
||||
0x9a, 0x60, 0xcc, 0xa9, 0xb1, 0x68, 0x69, 0xbb, 0x2b, 0xee, 0xd8, 0x24, 0x16, 0xd4, 0xfd, 0x98,
|
||||
0x09, 0xca, 0x44, 0xf7, 0x1a, 0xa9, 0xb1, 0xa4, 0x44, 0x45, 0xc8, 0x0e, 0xa0, 0x51, 0x0c, 0x84,
|
||||
0x23, 0x59, 0x03, 0x3d, 0x4d, 0xa2, 0x3c, 0x10, 0x79, 0x9c, 0x1a, 0xc7, 0x1a, 0xe8, 0x98, 0x0a,
|
||||
0x43, 0xb7, 0x74, 0xc9, 0xc2, 0x54, 0x90, 0x6d, 0xa8, 0xf9, 0x31, 0x0b, 0xc2, 0x64, 0xd4, 0x7a,
|
||||
0xaf, 0xe2, 0xa8, 0xb9, 0x37, 0x80, 0xed, 0xc0, 0xea, 0x71, 0x66, 0x4c, 0x52, 0x2e, 0x09, 0xb4,
|
||||
0xaa, 0xe0, 0x05, 0xac, 0x95, 0x05, 0x1c, 0xe7, 0x28, 0xde, 0x82, 0xf9, 0x91, 0x8a, 0x4e, 0xd8,
|
||||
0x67, 0x5e, 0xd4, 0x62, 0x17, 0xa1, 0xf0, 0x44, 0x18, 0xb3, 0x16, 0x0b, 0x62, 0x79, 0x9b, 0x05,
|
||||
0xf5, 0xe3, 0x28, 0xa4, 0x4c, 0x9c, 0xf2, 0xfe, 0x44, 0x5d, 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0xb1, 0x0a, 0x60, 0x41, 0x45, 0x5e, 0x41, 0xed,
|
||||
0x75, 0x58, 0x2d, 0x79, 0xe4, 0xb8, 0xff, 0x4b, 0x87, 0x6c, 0xad, 0x90, 0x57, 0x00, 0x37, 0x33,
|
||||
0x4a, 0x36, 0x9a, 0xd9, 0xe6, 0x29, 0xed, 0x0f, 0x73, 0x73, 0x0a, 0xca, 0x91, 0x7c, 0x86, 0x7b,
|
||||
0x33, 0x7a, 0x4e, 0x1e, 0xe5, 0x8a, 0xd9, 0x33, 0x63, 0xda, 0xf3, 0x28, 0x1c, 0xc9, 0x15, 0x3c,
|
||||
0x9c, 0xf3, 0xaa, 0xc8, 0xb3, 0xdb, 0xdd, 0x14, 0x1e, 0xaf, 0xf9, 0xfc, 0x5f, 0xa9, 0x1c, 0xc9,
|
||||
0x07, 0x68, 0x94, 0x7b, 0x43, 0x8c, 0x5c, 0xfd, 0xd7, 0xeb, 0x31, 0xef, 0xcf, 0xf8, 0xc3, 0x91,
|
||||
0x1c, 0x40, 0xbd, 0x50, 0x7a, 0x32, 0x2e, 0x64, 0xb9, 0xc1, 0xe6, 0xd6, 0x34, 0x98, 0xe3, 0xd1,
|
||||
0xce, 0xa7, 0x6d, 0xb9, 0xf4, 0x5b, 0xa7, 0x85, 0x65, 0xaf, 0x98, 0xaf, 0xd5, 0xf7, 0xcb, 0xb2,
|
||||
0x82, 0x5e, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0x74, 0xd3, 0xa9, 0xeb, 0x35, 0x06, 0x00, 0x00,
|
||||
var fileDescriptor_third_1a03a4b056d14713 = []byte{
|
||||
// 712 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x55, 0xdd, 0x4e, 0x13, 0x4f,
|
||||
0x14, 0xcf, 0xb6, 0xb4, 0x7f, 0x7a, 0xca, 0xbf, 0xd0, 0x23, 0xe0, 0xba, 0x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0x51, 0xd6, 0x92, 0x10, 0xf9, 0xa1, 0xc1, 0xdd,
|
||||
0xa9, 0x06, 0x38, 0xc3, 0x17, 0x50, 0xb1, 0x53, 0xa8, 0x32, 0x22, 0x3d, 0x53, 0xf3, 0xb1, 0x95,
|
||||
0x51, 0xc9, 0x90, 0xf1, 0x15, 0x2c, 0xfa, 0xbd, 0x9e, 0x63, 0x7b, 0xb4, 0x15, 0xf2, 0x81, 0xd2,
|
||||
0xcf, 0x29, 0xfd, 0xd5, 0x58, 0xff, 0x24, 0xfd, 0xd7, 0xcc, 0xd2, 0xc9, 0x2e, 0x90, 0x29, 0xfe,
|
||||
0xb5, 0x85, 0x15, 0x88, 0x3d, 0xc6, 0x64, 0xa0, 0xab, 0x50, 0x0c, 0x39, 0x0d, 0x46, 0x31, 0xc6,
|
||||
0x12, 0xf9, 0xa9, 0xc1, 0xfd, 0x99, 0xea, 0xff, 0x42, 0x98, 0x5f, 0x35, 0xa8, 0x1e, 0x76, 0xdc,
|
||||
0x33, 0xd6, 0xb5, 0x04, 0x3d, 0xf5, 0xcf, 0xa9, 0x27, 0xc3, 0x5a, 0x07, 0x68, 0x39, 0x96, 0xe8,
|
||||
0xf9, 0x81, 0x1b, 0x87, 0x56, 0x30, 0x13, 0x08, 0x1a, 0x30, 0x7f, 0xd8, 0x71, 0x15, 0x3d, 0xee,
|
||||
0xeb, 0x91, 0x2c, 0xa7, 0xd3, 0xea, 0x74, 0xfc, 0xd0, 0x13, 0x71, 0x9f, 0x0e, 0x45, 0x69, 0x55,
|
||||
0x4d, 0x32, 0x4d, 0xcc, 0x76, 0x02, 0x21, 0xcb, 0x80, 0x59, 0x57, 0x38, 0x23, 0x2d, 0xa8, 0xb4,
|
||||
0xa9, 0x4c, 0xd8, 0xbe, 0xd5, 0xed, 0xd3, 0x1b, 0x92, 0x2e, 0xf7, 0xc7, 0x1e, 0x63, 0x67, 0x5e,
|
||||
0x40, 0xad, 0xee, 0x81, 0x72, 0x20, 0xa7, 0x3c, 0xcf, 0xa0, 0xa4, 0x0a, 0x8b, 0x29, 0x8b, 0x9c,
|
||||
0x6d, 0x7f, 0x99, 0x83, 0x68, 0x31, 0xe3, 0x0e, 0xcc, 0x0f, 0x17, 0x1c, 0x62, 0x3c, 0x06, 0x89,
|
||||
0xfd, 0x6b, 0xdc, 0xba, 0x86, 0x71, 0x86, 0x9b, 0x50, 0x8c, 0x46, 0x05, 0x97, 0x52, 0x93, 0x23,
|
||||
0x15, 0xaa, 0x19, 0x84, 0x33, 0x7c, 0x06, 0x30, 0xde, 0x3f, 0xb8, 0x1c, 0x13, 0x52, 0x9b, 0xcb,
|
||||
0x58, 0x99, 0x80, 0x72, 0x86, 0xef, 0xe1, 0xf6, 0x94, 0xbe, 0xc2, 0x8d, 0xf1, 0x45, 0x53, 0xe6,
|
||||
0xd2, 0x20, 0xb3, 0x28, 0x9c, 0xe1, 0x15, 0xdc, 0x9b, 0xd1, 0xb9, 0xf8, 0xf8, 0x66, 0x33, 0x89,
|
||||
0x01, 0x31, 0x9e, 0xfc, 0x29, 0x95, 0x33, 0x7c, 0x03, 0x95, 0x74, 0xfd, 0x51, 0x8f, 0xb5, 0xaf,
|
||||
0x75, 0xa8, 0x71, 0x67, 0xca, 0x1f, 0xce, 0x70, 0x17, 0xca, 0x89, 0xf2, 0xe2, 0x30, 0x91, 0xe9,
|
||||
0x26, 0x32, 0x56, 0x27, 0xc1, 0x9c, 0xed, 0xaf, 0xbf, 0x5b, 0x93, 0x4f, 0x73, 0xf3, 0x38, 0xf1,
|
||||
0x24, 0x2b, 0xe6, 0x73, 0xf5, 0xfd, 0x50, 0x54, 0xd0, 0xce, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff,
|
||||
0xda, 0x49, 0x1e, 0x93, 0xdb, 0x07, 0x00, 0x00,
|
||||
}
|
||||
|
||||
+46
-25
@@ -3,28 +3,46 @@ import "Open-IM-Server/pkg/proto/sdkws/ws.proto";
|
||||
option go_package = "OpenIM/pkg/proto/third;third";
|
||||
package third;
|
||||
|
||||
|
||||
message ApplySpaceReq {
|
||||
string name = 1; // 文件名字
|
||||
int64 size = 2; // 大小
|
||||
string hash = 3; // md5
|
||||
uint32 purpose = 4; // 用途
|
||||
string contentType = 5;
|
||||
message ApplyPutReq {
|
||||
string name = 1;
|
||||
int64 size = 2;
|
||||
string hash = 3;
|
||||
int64 fragmentSize = 4;
|
||||
int64 cleanTime = 5;
|
||||
}
|
||||
|
||||
message ApplySpaceResp {
|
||||
string url = 1; // 不为空表示已存在
|
||||
int64 size = 2; // 分片大小
|
||||
repeated string put = 3;// put地址
|
||||
string confirmID = 4; // 确认ID
|
||||
message ApplyPutResp {
|
||||
string url = 1;
|
||||
string putID = 2;
|
||||
int64 fragmentSize = 3;
|
||||
// int64 expirationTime = 4;
|
||||
repeated string PutURLs = 5;
|
||||
}
|
||||
|
||||
message ConfirmSpaceReq {
|
||||
string confirmID = 1; // 确认ID
|
||||
message ConfirmPutReq {
|
||||
string putID = 1;
|
||||
}
|
||||
|
||||
message ConfirmSpaceResp {
|
||||
string confirmID = 1;
|
||||
message ConfirmPutResp {
|
||||
string url = 1;
|
||||
}
|
||||
|
||||
message GetPutReq {
|
||||
string putID = 1;
|
||||
}
|
||||
|
||||
message GetPutFragment{
|
||||
int64 size = 1;
|
||||
string hash = 2;
|
||||
}
|
||||
|
||||
message GetPutResp {
|
||||
string name = 1;
|
||||
int64 size = 2;
|
||||
string hash = 3;
|
||||
int64 fragmentSize = 4;
|
||||
int64 cleanTime = 5;
|
||||
repeated GetPutFragment fragments = 6;
|
||||
}
|
||||
|
||||
message GetSignalInvitationInfoReq {
|
||||
@@ -32,8 +50,8 @@ message GetSignalInvitationInfoReq {
|
||||
}
|
||||
|
||||
message GetSignalInvitationInfoResp {
|
||||
sdkws.InvitationInfo invitationInfo = 1;
|
||||
sdkws.OfflinePushInfo offlinePushInfo = 2;
|
||||
sdkws.InvitationInfo invitationInfo = 1;
|
||||
sdkws.OfflinePushInfo offlinePushInfo = 2;
|
||||
}
|
||||
|
||||
message GetSignalInvitationInfoStartAppReq {
|
||||
@@ -41,15 +59,15 @@ message GetSignalInvitationInfoStartAppReq {
|
||||
}
|
||||
|
||||
message GetSignalInvitationInfoStartAppResp {
|
||||
sdkws.InvitationInfo invitationInfo = 1;
|
||||
sdkws.OfflinePushInfo offlinePushInfo = 2;
|
||||
sdkws.InvitationInfo invitationInfo = 1;
|
||||
sdkws.OfflinePushInfo offlinePushInfo = 2;
|
||||
}
|
||||
|
||||
message FcmUpdateTokenReq {
|
||||
int32 PlatformID = 1;
|
||||
string FcmToken = 2;
|
||||
string account = 3;
|
||||
int64 expireTime = 4;
|
||||
int32 PlatformID = 1;
|
||||
string FcmToken = 2;
|
||||
string account = 3;
|
||||
int64 expireTime = 4;
|
||||
}
|
||||
|
||||
message FcmUpdateTokenResp {
|
||||
@@ -64,7 +82,10 @@ message SetAppBadgeResp {
|
||||
}
|
||||
|
||||
service third {
|
||||
rpc ApplySpace(ApplySpaceReq) returns(ApplySpaceResp);
|
||||
rpc ApplyPut(ApplyPutReq) returns(ApplyPutResp);
|
||||
rpc GetPut(GetPutReq) returns(GetPutResp);
|
||||
rpc ConfirmPut(ConfirmPutReq) returns(ConfirmPutResp);
|
||||
|
||||
rpc GetSignalInvitationInfo(GetSignalInvitationInfoReq) returns(GetSignalInvitationInfoResp);
|
||||
rpc GetSignalInvitationInfoStartApp(GetSignalInvitationInfoStartAppReq) returns(GetSignalInvitationInfoStartAppResp);
|
||||
rpc FcmUpdateToken(FcmUpdateTokenReq) returns(FcmUpdateTokenResp);
|
||||
|
||||
Reference in New Issue
Block a user