Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
client
Commits
b30c152f
Unverified
Commit
b30c152f
authored
Oct 27, 2020
by
Sydney Anne Erickson
Browse files
Options
Downloads
Patches
Plain Diff
User Discovery messages file renames
parent
b719c73b
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
ud/generate.sh
+1
-1
1 addition, 1 deletion
ud/generate.sh
ud/udMessages.pb.go
+79
-79
79 additions, 79 deletions
ud/udMessages.pb.go
ud/udMessages.proto
+4
-4
4 additions, 4 deletions
ud/udMessages.proto
with
84 additions
and
84 deletions
ud/generate.sh
+
1
−
1
View file @
b30c152f
#!/bin/bash
#!/bin/bash
protoc
--go_out
=
.
xchan
ge.proto
protoc
--go_out
=
.
udMessa
ge
s
.proto
This diff is collapsed.
Click to expand it.
ud/
xchan
ge.pb.go
→
ud/
udMessa
ge
s
.pb.go
+
79
−
79
View file @
b30c152f
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
// versions:
// versions:
// protoc-gen-go v1.23.0
// protoc-gen-go v1.23.0
// protoc v3.13.0
// protoc v3.13.0
// source:
xchan
ge.proto
// source:
udMessa
ge
s
.proto
package
ud
package
ud
...
@@ -46,7 +46,7 @@ type HashFact struct {
...
@@ -46,7 +46,7 @@ type HashFact struct {
func
(
x
*
HashFact
)
Reset
()
{
func
(
x
*
HashFact
)
Reset
()
{
*
x
=
HashFact
{}
*
x
=
HashFact
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_
xchan
ge_proto_msgTypes
[
0
]
mi
:=
&
file_
udMessa
ge
s
_proto_msgTypes
[
0
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
ms
.
StoreMessageInfo
(
mi
)
}
}
...
@@ -59,7 +59,7 @@ func (x *HashFact) String() string {
...
@@ -59,7 +59,7 @@ func (x *HashFact) String() string {
func
(
*
HashFact
)
ProtoMessage
()
{}
func
(
*
HashFact
)
ProtoMessage
()
{}
func
(
x
*
HashFact
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
HashFact
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_
xchan
ge_proto_msgTypes
[
0
]
mi
:=
&
file_
udMessa
ge
s
_proto_msgTypes
[
0
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
if
ms
.
LoadMessageInfo
()
==
nil
{
...
@@ -72,7 +72,7 @@ func (x *HashFact) ProtoReflect() protoreflect.Message {
...
@@ -72,7 +72,7 @@ func (x *HashFact) ProtoReflect() protoreflect.Message {
// Deprecated: Use HashFact.ProtoReflect.Descriptor instead.
// Deprecated: Use HashFact.ProtoReflect.Descriptor instead.
func
(
*
HashFact
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
HashFact
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_
xchan
ge_proto_rawDescGZIP
(),
[]
int
{
0
}
return
file_
udMessa
ge
s
_proto_rawDescGZIP
(),
[]
int
{
0
}
}
}
func
(
x
*
HashFact
)
GetHash
()
[]
byte
{
func
(
x
*
HashFact
)
GetHash
()
[]
byte
{
...
@@ -104,7 +104,7 @@ type Contact struct {
...
@@ -104,7 +104,7 @@ type Contact struct {
func
(
x
*
Contact
)
Reset
()
{
func
(
x
*
Contact
)
Reset
()
{
*
x
=
Contact
{}
*
x
=
Contact
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_
xchan
ge_proto_msgTypes
[
1
]
mi
:=
&
file_
udMessa
ge
s
_proto_msgTypes
[
1
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
ms
.
StoreMessageInfo
(
mi
)
}
}
...
@@ -117,7 +117,7 @@ func (x *Contact) String() string {
...
@@ -117,7 +117,7 @@ func (x *Contact) String() string {
func
(
*
Contact
)
ProtoMessage
()
{}
func
(
*
Contact
)
ProtoMessage
()
{}
func
(
x
*
Contact
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
Contact
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_
xchan
ge_proto_msgTypes
[
1
]
mi
:=
&
file_
udMessa
ge
s
_proto_msgTypes
[
1
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
if
ms
.
LoadMessageInfo
()
==
nil
{
...
@@ -130,7 +130,7 @@ func (x *Contact) ProtoReflect() protoreflect.Message {
...
@@ -130,7 +130,7 @@ func (x *Contact) ProtoReflect() protoreflect.Message {
// Deprecated: Use Contact.ProtoReflect.Descriptor instead.
// Deprecated: Use Contact.ProtoReflect.Descriptor instead.
func
(
*
Contact
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
Contact
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_
xchan
ge_proto_rawDescGZIP
(),
[]
int
{
1
}
return
file_
udMessa
ge
s
_proto_rawDescGZIP
(),
[]
int
{
1
}
}
}
func
(
x
*
Contact
)
GetUserID
()
[][]
byte
{
func
(
x
*
Contact
)
GetUserID
()
[][]
byte
{
...
@@ -169,7 +169,7 @@ type SearchSend struct {
...
@@ -169,7 +169,7 @@ type SearchSend struct {
func
(
x
*
SearchSend
)
Reset
()
{
func
(
x
*
SearchSend
)
Reset
()
{
*
x
=
SearchSend
{}
*
x
=
SearchSend
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_
xchan
ge_proto_msgTypes
[
2
]
mi
:=
&
file_
udMessa
ge
s
_proto_msgTypes
[
2
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
ms
.
StoreMessageInfo
(
mi
)
}
}
...
@@ -182,7 +182,7 @@ func (x *SearchSend) String() string {
...
@@ -182,7 +182,7 @@ func (x *SearchSend) String() string {
func
(
*
SearchSend
)
ProtoMessage
()
{}
func
(
*
SearchSend
)
ProtoMessage
()
{}
func
(
x
*
SearchSend
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
SearchSend
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_
xchan
ge_proto_msgTypes
[
2
]
mi
:=
&
file_
udMessa
ge
s
_proto_msgTypes
[
2
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
if
ms
.
LoadMessageInfo
()
==
nil
{
...
@@ -195,7 +195,7 @@ func (x *SearchSend) ProtoReflect() protoreflect.Message {
...
@@ -195,7 +195,7 @@ func (x *SearchSend) ProtoReflect() protoreflect.Message {
// Deprecated: Use SearchSend.ProtoReflect.Descriptor instead.
// Deprecated: Use SearchSend.ProtoReflect.Descriptor instead.
func
(
*
SearchSend
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
SearchSend
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_
xchan
ge_proto_rawDescGZIP
(),
[]
int
{
2
}
return
file_
udMessa
ge
s
_proto_rawDescGZIP
(),
[]
int
{
2
}
}
}
func
(
x
*
SearchSend
)
GetFact
()
[]
*
HashFact
{
func
(
x
*
SearchSend
)
GetFact
()
[]
*
HashFact
{
...
@@ -226,7 +226,7 @@ type SearchResponse struct {
...
@@ -226,7 +226,7 @@ type SearchResponse struct {
func
(
x
*
SearchResponse
)
Reset
()
{
func
(
x
*
SearchResponse
)
Reset
()
{
*
x
=
SearchResponse
{}
*
x
=
SearchResponse
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_
xchan
ge_proto_msgTypes
[
3
]
mi
:=
&
file_
udMessa
ge
s
_proto_msgTypes
[
3
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
ms
.
StoreMessageInfo
(
mi
)
}
}
...
@@ -239,7 +239,7 @@ func (x *SearchResponse) String() string {
...
@@ -239,7 +239,7 @@ func (x *SearchResponse) String() string {
func
(
*
SearchResponse
)
ProtoMessage
()
{}
func
(
*
SearchResponse
)
ProtoMessage
()
{}
func
(
x
*
SearchResponse
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
SearchResponse
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_
xchan
ge_proto_msgTypes
[
3
]
mi
:=
&
file_
udMessa
ge
s
_proto_msgTypes
[
3
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
if
ms
.
LoadMessageInfo
()
==
nil
{
...
@@ -252,7 +252,7 @@ func (x *SearchResponse) ProtoReflect() protoreflect.Message {
...
@@ -252,7 +252,7 @@ func (x *SearchResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.
// Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.
func
(
*
SearchResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
SearchResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_
xchan
ge_proto_rawDescGZIP
(),
[]
int
{
3
}
return
file_
udMessa
ge
s
_proto_rawDescGZIP
(),
[]
int
{
3
}
}
}
func
(
x
*
SearchResponse
)
GetContacts
()
[]
*
Contact
{
func
(
x
*
SearchResponse
)
GetContacts
()
[]
*
Contact
{
...
@@ -282,7 +282,7 @@ type LookupSend struct {
...
@@ -282,7 +282,7 @@ type LookupSend struct {
func
(
x
*
LookupSend
)
Reset
()
{
func
(
x
*
LookupSend
)
Reset
()
{
*
x
=
LookupSend
{}
*
x
=
LookupSend
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_
xchan
ge_proto_msgTypes
[
4
]
mi
:=
&
file_
udMessa
ge
s
_proto_msgTypes
[
4
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
ms
.
StoreMessageInfo
(
mi
)
}
}
...
@@ -295,7 +295,7 @@ func (x *LookupSend) String() string {
...
@@ -295,7 +295,7 @@ func (x *LookupSend) String() string {
func
(
*
LookupSend
)
ProtoMessage
()
{}
func
(
*
LookupSend
)
ProtoMessage
()
{}
func
(
x
*
LookupSend
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
LookupSend
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_
xchan
ge_proto_msgTypes
[
4
]
mi
:=
&
file_
udMessa
ge
s
_proto_msgTypes
[
4
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
if
ms
.
LoadMessageInfo
()
==
nil
{
...
@@ -308,7 +308,7 @@ func (x *LookupSend) ProtoReflect() protoreflect.Message {
...
@@ -308,7 +308,7 @@ func (x *LookupSend) ProtoReflect() protoreflect.Message {
// Deprecated: Use LookupSend.ProtoReflect.Descriptor instead.
// Deprecated: Use LookupSend.ProtoReflect.Descriptor instead.
func
(
*
LookupSend
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
LookupSend
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_
xchan
ge_proto_rawDescGZIP
(),
[]
int
{
4
}
return
file_
udMessa
ge
s
_proto_rawDescGZIP
(),
[]
int
{
4
}
}
}
func
(
x
*
LookupSend
)
GetUserID
()
[][]
byte
{
func
(
x
*
LookupSend
)
GetUserID
()
[][]
byte
{
...
@@ -338,7 +338,7 @@ type LookupResponse struct {
...
@@ -338,7 +338,7 @@ type LookupResponse struct {
func
(
x
*
LookupResponse
)
Reset
()
{
func
(
x
*
LookupResponse
)
Reset
()
{
*
x
=
LookupResponse
{}
*
x
=
LookupResponse
{}
if
protoimpl
.
UnsafeEnabled
{
if
protoimpl
.
UnsafeEnabled
{
mi
:=
&
file_
xchan
ge_proto_msgTypes
[
5
]
mi
:=
&
file_
udMessa
ge
s
_proto_msgTypes
[
5
]
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
.
StoreMessageInfo
(
mi
)
ms
.
StoreMessageInfo
(
mi
)
}
}
...
@@ -351,7 +351,7 @@ func (x *LookupResponse) String() string {
...
@@ -351,7 +351,7 @@ func (x *LookupResponse) String() string {
func
(
*
LookupResponse
)
ProtoMessage
()
{}
func
(
*
LookupResponse
)
ProtoMessage
()
{}
func
(
x
*
LookupResponse
)
ProtoReflect
()
protoreflect
.
Message
{
func
(
x
*
LookupResponse
)
ProtoReflect
()
protoreflect
.
Message
{
mi
:=
&
file_
xchan
ge_proto_msgTypes
[
5
]
mi
:=
&
file_
udMessa
ge
s
_proto_msgTypes
[
5
]
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
if
protoimpl
.
UnsafeEnabled
&&
x
!=
nil
{
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
ms
:=
protoimpl
.
X
.
MessageStateOf
(
protoimpl
.
Pointer
(
x
))
if
ms
.
LoadMessageInfo
()
==
nil
{
if
ms
.
LoadMessageInfo
()
==
nil
{
...
@@ -364,7 +364,7 @@ func (x *LookupResponse) ProtoReflect() protoreflect.Message {
...
@@ -364,7 +364,7 @@ func (x *LookupResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use LookupResponse.ProtoReflect.Descriptor instead.
// Deprecated: Use LookupResponse.ProtoReflect.Descriptor instead.
func
(
*
LookupResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
LookupResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
file_
xchan
ge_proto_rawDescGZIP
(),
[]
int
{
5
}
return
file_
udMessa
ge
s
_proto_rawDescGZIP
(),
[]
int
{
5
}
}
}
func
(
x
*
LookupResponse
)
GetPubKey
()
[][]
byte
{
func
(
x
*
LookupResponse
)
GetPubKey
()
[][]
byte
{
...
@@ -381,56 +381,56 @@ func (x *LookupResponse) GetCommID() int32 {
...
@@ -381,56 +381,56 @@ func (x *LookupResponse) GetCommID() int32 {
return
0
return
0
}
}
var
File_
xchan
ge_proto
protoreflect
.
FileDescriptor
var
File_
udMessa
ge
s
_proto
protoreflect
.
FileDescriptor
var
file_
xchan
ge_proto_rawDesc
=
[]
byte
{
var
file_
udMessa
ge
s
_proto_rawDesc
=
[]
byte
{
0x0a
,
0x0
d
,
0x7
8
,
0x6
3
,
0x
68
,
0x6
1
,
0x
6e
,
0x
6
7
,
0x6
5
,
0x
2e
,
0x
70
,
0x7
2
,
0x
6f
,
0x7
4
,
0x
6f
,
0x
12
,
0x0a
,
0x
1
0
,
0x7
5
,
0x6
4
,
0x
4d
,
0x6
5
,
0x
73
,
0x7
3
,
0x6
1
,
0x
67
,
0x
65
,
0x7
3
,
0x
2e
,
0x7
0
,
0x
72
,
0x
6f
,
0x05
,
0x70
,
0x61
,
0x72
,
0x73
,
0x65
,
0x22
,
0x32
,
0x0a
,
0x08
,
0x48
,
0x61
,
0x73
,
0x68
,
0x46
,
0x61
,
0x74
,
0x6f
,
0x12
,
0x05
,
0x70
,
0x61
,
0x72
,
0x73
,
0x65
,
0x22
,
0x32
,
0x0a
,
0x08
,
0x48
,
0x61
,
0x73
,
0x63
,
0x74
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x68
,
0x61
,
0x73
,
0x68
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x0c
,
0x68
,
0x46
,
0x61
,
0x63
,
0x74
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x68
,
0x61
,
0x73
,
0x68
,
0x18
,
0x01
,
0x20
,
0x52
,
0x04
,
0x68
,
0x61
,
0x73
,
0x68
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x74
,
0x79
,
0x70
,
0x65
,
0x18
,
0x02
,
0x01
,
0x28
,
0x0c
,
0x52
,
0x04
,
0x68
,
0x61
,
0x73
,
0x68
,
0x12
,
0x12
,
0x0a
,
0x04
,
0x74
,
0x79
,
0x70
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x04
,
0x74
,
0x79
,
0x70
,
0x65
,
0x22
,
0x68
,
0x0a
,
0x07
,
0x43
,
0x6f
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x04
,
0x74
,
0x79
,
0x70
,
0x65
,
0x22
,
0x68
,
0x0a
,
0x6e
,
0x74
,
0x61
,
0x63
,
0x74
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x75
,
0x73
,
0x65
,
0x72
,
0x49
,
0x44
,
0x18
,
0x07
,
0x43
,
0x6f
,
0x6e
,
0x74
,
0x61
,
0x63
,
0x74
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x75
,
0x73
,
0x65
,
0x72
,
0x01
,
0x20
,
0x03
,
0x28
,
0x0c
,
0x52
,
0x06
,
0x75
,
0x73
,
0x65
,
0x72
,
0x49
,
0x44
,
0x12
,
0x16
,
0x0a
,
0x49
,
0x44
,
0x18
,
0x01
,
0x20
,
0x03
,
0x28
,
0x0c
,
0x52
,
0x06
,
0x75
,
0x73
,
0x65
,
0x72
,
0x49
,
0x44
,
0x06
,
0x70
,
0x75
,
0x62
,
0x4b
,
0x65
,
0x79
,
0x18
,
0x02
,
0x20
,
0x03
,
0x28
,
0x0c
,
0x52
,
0x06
,
0x70
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x70
,
0x75
,
0x62
,
0x4b
,
0x65
,
0x79
,
0x18
,
0x02
,
0x20
,
0x03
,
0x28
,
0x0c
,
0x75
,
0x62
,
0x4b
,
0x65
,
0x79
,
0x12
,
0x2d
,
0x0a
,
0x09
,
0x74
,
0x72
,
0x69
,
0x67
,
0x46
,
0x61
,
0x63
,
0x52
,
0x06
,
0x70
,
0x75
,
0x62
,
0x4b
,
0x65
,
0x79
,
0x12
,
0x2d
,
0x0a
,
0x09
,
0x74
,
0x72
,
0x69
,
0x67
,
0x74
,
0x73
,
0x18
,
0x03
,
0x20
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x0f
,
0x2e
,
0x70
,
0x61
,
0x72
,
0x73
,
0x65
,
0x46
,
0x61
,
0x63
,
0x74
,
0x73
,
0x18
,
0x03
,
0x20
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x0f
,
0x2e
,
0x70
,
0x61
,
0x2e
,
0x48
,
0x61
,
0x73
,
0x68
,
0x46
,
0x61
,
0x63
,
0x74
,
0x52
,
0x09
,
0x74
,
0x72
,
0x69
,
0x67
,
0x46
,
0x72
,
0x73
,
0x65
,
0x2e
,
0x48
,
0x61
,
0x73
,
0x68
,
0x46
,
0x61
,
0x63
,
0x74
,
0x52
,
0x09
,
0x74
,
0x72
,
0x61
,
0x63
,
0x74
,
0x73
,
0x22
,
0x49
,
0x0a
,
0x0a
,
0x53
,
0x65
,
0x61
,
0x72
,
0x63
,
0x68
,
0x53
,
0x65
,
0x69
,
0x67
,
0x46
,
0x61
,
0x63
,
0x74
,
0x73
,
0x22
,
0x49
,
0x0a
,
0x0a
,
0x53
,
0x65
,
0x61
,
0x72
,
0x63
,
0x6e
,
0x64
,
0x12
,
0x23
,
0x0a
,
0x04
,
0x66
,
0x61
,
0x63
,
0x74
,
0x18
,
0x01
,
0x20
,
0x03
,
0x28
,
0x0b
,
0x68
,
0x53
,
0x65
,
0x6e
,
0x64
,
0x12
,
0x23
,
0x0a
,
0x04
,
0x66
,
0x61
,
0x63
,
0x74
,
0x18
,
0x01
,
0x20
,
0x32
,
0x0f
,
0x2e
,
0x70
,
0x61
,
0x72
,
0x73
,
0x65
,
0x2e
,
0x48
,
0x61
,
0x73
,
0x68
,
0x46
,
0x61
,
0x63
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x0f
,
0x2e
,
0x70
,
0x61
,
0x72
,
0x73
,
0x65
,
0x2e
,
0x48
,
0x61
,
0x73
,
0x68
,
0x74
,
0x52
,
0x04
,
0x66
,
0x61
,
0x63
,
0x74
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x49
,
0x46
,
0x61
,
0x63
,
0x74
,
0x52
,
0x04
,
0x66
,
0x61
,
0x63
,
0x74
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x63
,
0x6f
,
0x44
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x06
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x49
,
0x44
,
0x22
,
0x6d
,
0x6d
,
0x49
,
0x44
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x06
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x54
,
0x0a
,
0x0e
,
0x53
,
0x65
,
0x61
,
0x72
,
0x63
,
0x68
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x49
,
0x44
,
0x22
,
0x54
,
0x0a
,
0x0e
,
0x53
,
0x65
,
0x61
,
0x72
,
0x63
,
0x68
,
0x52
,
0x65
,
0x73
,
0x70
,
0x65
,
0x12
,
0x2a
,
0x0a
,
0x08
,
0x63
,
0x6f
,
0x6e
,
0x74
,
0x61
,
0x63
,
0x74
,
0x73
,
0x18
,
0x01
,
0x20
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x2a
,
0x0a
,
0x08
,
0x63
,
0x6f
,
0x6e
,
0x74
,
0x61
,
0x63
,
0x74
,
0x73
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x0e
,
0x2e
,
0x70
,
0x61
,
0x72
,
0x73
,
0x65
,
0x2e
,
0x43
,
0x6f
,
0x6e
,
0x74
,
0x18
,
0x01
,
0x20
,
0x03
,
0x28
,
0x0b
,
0x32
,
0x0e
,
0x2e
,
0x70
,
0x61
,
0x72
,
0x73
,
0x65
,
0x2e
,
0x43
,
0x61
,
0x63
,
0x74
,
0x52
,
0x08
,
0x63
,
0x6f
,
0x6e
,
0x74
,
0x61
,
0x63
,
0x74
,
0x73
,
0x12
,
0x16
,
0x0a
,
0x6f
,
0x6e
,
0x74
,
0x61
,
0x63
,
0x74
,
0x52
,
0x08
,
0x63
,
0x6f
,
0x6e
,
0x74
,
0x61
,
0x63
,
0x74
,
0x73
,
0x06
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x49
,
0x44
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x06
,
0x63
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x49
,
0x44
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x05
,
0x6f
,
0x6d
,
0x6d
,
0x49
,
0x44
,
0x22
,
0x3c
,
0x0a
,
0x0a
,
0x4c
,
0x6f
,
0x6f
,
0x6b
,
0x75
,
0x70
,
0x53
,
0x52
,
0x06
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x49
,
0x44
,
0x22
,
0x3c
,
0x0a
,
0x0a
,
0x4c
,
0x6f
,
0x6f
,
0x6b
,
0x65
,
0x6e
,
0x64
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x75
,
0x73
,
0x65
,
0x72
,
0x49
,
0x44
,
0x18
,
0x01
,
0x20
,
0x75
,
0x70
,
0x53
,
0x65
,
0x6e
,
0x64
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x75
,
0x73
,
0x65
,
0x72
,
0x49
,
0x44
,
0x03
,
0x28
,
0x0c
,
0x52
,
0x06
,
0x75
,
0x73
,
0x65
,
0x72
,
0x49
,
0x44
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x63
,
0x18
,
0x01
,
0x20
,
0x03
,
0x28
,
0x0c
,
0x52
,
0x06
,
0x75
,
0x73
,
0x65
,
0x72
,
0x49
,
0x44
,
0x12
,
0x16
,
0x6f
,
0x6d
,
0x6d
,
0x49
,
0x44
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x06
,
0x63
,
0x6f
,
0x6d
,
0x0a
,
0x06
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x49
,
0x44
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x06
,
0x6d
,
0x49
,
0x44
,
0x22
,
0x40
,
0x0a
,
0x0e
,
0x4c
,
0x6f
,
0x6f
,
0x6b
,
0x75
,
0x70
,
0x52
,
0x65
,
0x73
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x49
,
0x44
,
0x22
,
0x40
,
0x0a
,
0x0e
,
0x4c
,
0x6f
,
0x6f
,
0x6b
,
0x75
,
0x70
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x70
,
0x75
,
0x62
,
0x4b
,
0x65
,
0x79
,
0x18
,
0x52
,
0x65
,
0x73
,
0x70
,
0x6f
,
0x6e
,
0x73
,
0x65
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x70
,
0x75
,
0x62
,
0x4b
,
0x01
,
0x20
,
0x03
,
0x28
,
0x0c
,
0x52
,
0x06
,
0x70
,
0x75
,
0x62
,
0x4b
,
0x65
,
0x79
,
0x12
,
0x16
,
0x0a
,
0x65
,
0x79
,
0x18
,
0x01
,
0x20
,
0x03
,
0x28
,
0x0c
,
0x52
,
0x06
,
0x70
,
0x75
,
0x62
,
0x4b
,
0x65
,
0x79
,
0x06
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x49
,
0x44
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x06
,
0x63
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x49
,
0x44
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x05
,
0x6f
,
0x6d
,
0x6d
,
0x49
,
0x44
,
0x42
,
0x04
,
0x5a
,
0x02
,
0x75
,
0x64
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x52
,
0x06
,
0x63
,
0x6f
,
0x6d
,
0x6d
,
0x49
,
0x44
,
0x42
,
0x04
,
0x5a
,
0x02
,
0x75
,
0x64
,
0x62
,
0x06
,
0x74
,
0x6f
,
0x33
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
}
}
var
(
var
(
file_
xchan
ge_proto_rawDescOnce
sync
.
Once
file_
udMessa
ge
s
_proto_rawDescOnce
sync
.
Once
file_
xchan
ge_proto_rawDescData
=
file_
xchan
ge_proto_rawDesc
file_
udMessa
ge
s
_proto_rawDescData
=
file_
udMessa
ge
s
_proto_rawDesc
)
)
func
file_
xchan
ge_proto_rawDescGZIP
()
[]
byte
{
func
file_
udMessa
ge
s
_proto_rawDescGZIP
()
[]
byte
{
file_
xchan
ge_proto_rawDescOnce
.
Do
(
func
()
{
file_
udMessa
ge
s
_proto_rawDescOnce
.
Do
(
func
()
{
file_
xchan
ge_proto_rawDescData
=
protoimpl
.
X
.
CompressGZIP
(
file_
xchan
ge_proto_rawDescData
)
file_
udMessa
ge
s
_proto_rawDescData
=
protoimpl
.
X
.
CompressGZIP
(
file_
udMessa
ge
s
_proto_rawDescData
)
})
})
return
file_
xchan
ge_proto_rawDescData
return
file_
udMessa
ge
s
_proto_rawDescData
}
}
var
file_
xchan
ge_proto_msgTypes
=
make
([]
protoimpl
.
MessageInfo
,
6
)
var
file_
udMessa
ge
s
_proto_msgTypes
=
make
([]
protoimpl
.
MessageInfo
,
6
)
var
file_
xchan
ge_proto_goTypes
=
[]
interface
{}{
var
file_
udMessa
ge
s
_proto_goTypes
=
[]
interface
{}{
(
*
HashFact
)(
nil
),
// 0: parse.HashFact
(
*
HashFact
)(
nil
),
// 0: parse.HashFact
(
*
Contact
)(
nil
),
// 1: parse.Contact
(
*
Contact
)(
nil
),
// 1: parse.Contact
(
*
SearchSend
)(
nil
),
// 2: parse.SearchSend
(
*
SearchSend
)(
nil
),
// 2: parse.SearchSend
...
@@ -438,7 +438,7 @@ var file_xchange_proto_goTypes = []interface{}{
...
@@ -438,7 +438,7 @@ var file_xchange_proto_goTypes = []interface{}{
(
*
LookupSend
)(
nil
),
// 4: parse.LookupSend
(
*
LookupSend
)(
nil
),
// 4: parse.LookupSend
(
*
LookupResponse
)(
nil
),
// 5: parse.LookupResponse
(
*
LookupResponse
)(
nil
),
// 5: parse.LookupResponse
}
}
var
file_
xchan
ge_proto_depIdxs
=
[]
int32
{
var
file_
udMessa
ge
s
_proto_depIdxs
=
[]
int32
{
0
,
// 0: parse.Contact.trigFacts:type_name -> parse.HashFact
0
,
// 0: parse.Contact.trigFacts:type_name -> parse.HashFact
0
,
// 1: parse.SearchSend.fact:type_name -> parse.HashFact
0
,
// 1: parse.SearchSend.fact:type_name -> parse.HashFact
1
,
// 2: parse.SearchResponse.contacts:type_name -> parse.Contact
1
,
// 2: parse.SearchResponse.contacts:type_name -> parse.Contact
...
@@ -449,13 +449,13 @@ var file_xchange_proto_depIdxs = []int32{
...
@@ -449,13 +449,13 @@ var file_xchange_proto_depIdxs = []int32{
0
,
// [0:3] is the sub-list for field type_name
0
,
// [0:3] is the sub-list for field type_name
}
}
func
init
()
{
file_
xchan
ge_proto_init
()
}
func
init
()
{
file_
udMessa
ge
s
_proto_init
()
}
func
file_
xchan
ge_proto_init
()
{
func
file_
udMessa
ge
s
_proto_init
()
{
if
File_
xchan
ge_proto
!=
nil
{
if
File_
udMessa
ge
s
_proto
!=
nil
{
return
return
}
}
if
!
protoimpl
.
UnsafeEnabled
{
if
!
protoimpl
.
UnsafeEnabled
{
file_
xchan
ge_proto_msgTypes
[
0
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_
udMessa
ge
s
_proto_msgTypes
[
0
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
HashFact
);
i
{
switch
v
:=
v
.
(
*
HashFact
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
...
@@ -467,7 +467,7 @@ func file_xchange_proto_init() {
...
@@ -467,7 +467,7 @@ func file_xchange_proto_init() {
return
nil
return
nil
}
}
}
}
file_
xchan
ge_proto_msgTypes
[
1
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_
udMessa
ge
s
_proto_msgTypes
[
1
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
Contact
);
i
{
switch
v
:=
v
.
(
*
Contact
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
...
@@ -479,7 +479,7 @@ func file_xchange_proto_init() {
...
@@ -479,7 +479,7 @@ func file_xchange_proto_init() {
return
nil
return
nil
}
}
}
}
file_
xchan
ge_proto_msgTypes
[
2
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_
udMessa
ge
s
_proto_msgTypes
[
2
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
SearchSend
);
i
{
switch
v
:=
v
.
(
*
SearchSend
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
...
@@ -491,7 +491,7 @@ func file_xchange_proto_init() {
...
@@ -491,7 +491,7 @@ func file_xchange_proto_init() {
return
nil
return
nil
}
}
}
}
file_
xchan
ge_proto_msgTypes
[
3
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_
udMessa
ge
s
_proto_msgTypes
[
3
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
SearchResponse
);
i
{
switch
v
:=
v
.
(
*
SearchResponse
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
...
@@ -503,7 +503,7 @@ func file_xchange_proto_init() {
...
@@ -503,7 +503,7 @@ func file_xchange_proto_init() {
return
nil
return
nil
}
}
}
}
file_
xchan
ge_proto_msgTypes
[
4
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_
udMessa
ge
s
_proto_msgTypes
[
4
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
LookupSend
);
i
{
switch
v
:=
v
.
(
*
LookupSend
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
...
@@ -515,7 +515,7 @@ func file_xchange_proto_init() {
...
@@ -515,7 +515,7 @@ func file_xchange_proto_init() {
return
nil
return
nil
}
}
}
}
file_
xchan
ge_proto_msgTypes
[
5
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
file_
udMessa
ge
s
_proto_msgTypes
[
5
]
.
Exporter
=
func
(
v
interface
{},
i
int
)
interface
{}
{
switch
v
:=
v
.
(
*
LookupResponse
);
i
{
switch
v
:=
v
.
(
*
LookupResponse
);
i
{
case
0
:
case
0
:
return
&
v
.
state
return
&
v
.
state
...
@@ -532,18 +532,18 @@ func file_xchange_proto_init() {
...
@@ -532,18 +532,18 @@ func file_xchange_proto_init() {
out
:=
protoimpl
.
TypeBuilder
{
out
:=
protoimpl
.
TypeBuilder
{
File
:
protoimpl
.
DescBuilder
{
File
:
protoimpl
.
DescBuilder
{
GoPackagePath
:
reflect
.
TypeOf
(
x
{})
.
PkgPath
(),
GoPackagePath
:
reflect
.
TypeOf
(
x
{})
.
PkgPath
(),
RawDescriptor
:
file_
xchan
ge_proto_rawDesc
,
RawDescriptor
:
file_
udMessa
ge
s
_proto_rawDesc
,
NumEnums
:
0
,
NumEnums
:
0
,
NumMessages
:
6
,
NumMessages
:
6
,
NumExtensions
:
0
,
NumExtensions
:
0
,
NumServices
:
0
,
NumServices
:
0
,
},
},
GoTypes
:
file_
xchan
ge_proto_goTypes
,
GoTypes
:
file_
udMessa
ge
s
_proto_goTypes
,
DependencyIndexes
:
file_
xchan
ge_proto_depIdxs
,
DependencyIndexes
:
file_
udMessa
ge
s
_proto_depIdxs
,
MessageInfos
:
file_
xchan
ge_proto_msgTypes
,
MessageInfos
:
file_
udMessa
ge
s
_proto_msgTypes
,
}
.
Build
()
}
.
Build
()
File_
xchan
ge_proto
=
out
.
File
File_
udMessa
ge
s
_proto
=
out
.
File
file_
xchan
ge_proto_rawDesc
=
nil
file_
udMessa
ge
s
_proto_rawDesc
=
nil
file_
xchan
ge_proto_goTypes
=
nil
file_
udMessa
ge
s
_proto_goTypes
=
nil
file_
xchan
ge_proto_depIdxs
=
nil
file_
udMessa
ge
s
_proto_depIdxs
=
nil
}
}
This diff is collapsed.
Click to expand it.
ud/
xchan
ge.proto
→
ud/
udMessa
ge
s
.proto
+
4
−
4
View file @
b30c152f
...
@@ -30,24 +30,24 @@ message SearchSend {
...
@@ -30,24 +30,24 @@ message SearchSend {
// PublicKey used in the registration
// PublicKey used in the registration
repeated
HashFact
fact
=
1
;
repeated
HashFact
fact
=
1
;
// ID of the session used to create this session
// ID of the session used to create this session
int
32
commID
=
2
;
int
64
commID
=
2
;
}
}
// Message sent from UDB to client in response to a search
// Message sent from UDB to client in response to a search
message
SearchResponse
{
message
SearchResponse
{
// ID of the session created
// ID of the session created
repeated
Contact
contacts
=
1
;
repeated
Contact
contacts
=
1
;
int
32
commID
=
2
;
int
64
commID
=
2
;
}
}
// Message sent to UDB for looking up a user
// Message sent to UDB for looking up a user
message
LookupSend
{
message
LookupSend
{
repeated
bytes
userID
=
1
;
repeated
bytes
userID
=
1
;
int
32
commID
=
2
;
int
64
commID
=
2
;
}
}
// Message sent from UDB for looking up a user
// Message sent from UDB for looking up a user
message
LookupResponse
{
message
LookupResponse
{
repeated
bytes
pubKey
=
1
;
repeated
bytes
pubKey
=
1
;
int
32
commID
=
2
;
int
64
commID
=
2
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment