Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mybee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
mybee
Commits
4caa5965
Unverified
Commit
4caa5965
authored
May 11, 2020
by
Janoš Guljaš
Committed by
GitHub
May 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set explicit protobuf package names (#173)
parent
5bf20562
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
107 additions
and
86 deletions
+107
-86
hive.pb.go
pkg/hive/pb/hive.pb.go
+12
-12
hive.proto
pkg/hive/pb/hive.proto
+8
-1
handshake.pb.go
pkg/p2p/libp2p/internal/handshake/pb/handshake.pb.go
+16
-16
handshake.proto
pkg/p2p/libp2p/internal/handshake/pb/handshake.proto
+4
-1
headers.pb.go
pkg/p2p/libp2p/internal/headers/pb/headers.pb.go
+12
-12
headers.proto
pkg/p2p/libp2p/internal/headers/pb/headers.proto
+3
-1
test.pb.go
pkg/p2p/protobuf/internal/pb/test.pb.go
+8
-8
test.proto
pkg/p2p/protobuf/internal/pb/test.proto
+3
-1
pingpong.pb.go
pkg/pingpong/pb/pingpong.pb.go
+10
-10
pingpong.proto
pkg/pingpong/pb/pingpong.proto
+3
-1
pushsync.pb.go
pkg/pushsync/pb/pushsync.pb.go
+11
-11
pushsync.proto
pkg/pushsync/pb/pushsync.proto
+3
-1
retrieval.pb.go
pkg/retrieval/pb/retrieval.pb.go
+11
-10
retrieval.proto
pkg/retrieval/pb/retrieval.proto
+3
-1
No files found.
pkg/hive/pb/hive.pb.go
View file @
4caa5965
...
...
@@ -119,24 +119,24 @@ func (m *BzzAddress) GetUnderlay() string {
}
func
init
()
{
proto
.
RegisterType
((
*
Peers
)(
nil
),
"
pb
.Peers"
)
proto
.
RegisterType
((
*
BzzAddress
)(
nil
),
"
pb
.BzzAddress"
)
proto
.
RegisterType
((
*
Peers
)(
nil
),
"
hive
.Peers"
)
proto
.
RegisterType
((
*
BzzAddress
)(
nil
),
"
hive
.BzzAddress"
)
}
func
init
()
{
proto
.
RegisterFile
(
"hive.proto"
,
fileDescriptor_d635d1ead41ba02c
)
}
var
fileDescriptor_d635d1ead41ba02c
=
[]
byte
{
// 15
6
bytes of a gzipped FileDescriptorProto
// 15
8
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe2
,
0xe2
,
0xca
,
0xc8
,
0x2c
,
0x4b
,
0xd5
,
0x2b
,
0x28
,
0xca
,
0x2f
,
0xc9
,
0x17
,
0x62
,
0x
2a
,
0x48
,
0x52
,
0xd2
,
0xe5
,
0x62
,
0x0d
,
0x48
,
0x
4d
,
0x2d
,
0x2a
,
0x16
,
0x52
,
0xe1
,
0x62
,
0x2d
,
0x00
,
0x31
,
0x24
,
0x18
,
0x15
,
0x98
,
0x35
,
0xb8
,
0x
8d
,
0xf8
,
0xf4
,
0x0a
,
0x92
,
0xf4
,
0x9c
,
0xaa
,
0xaa
,
0x1c
,
0x53
,
0x52
,
0x8a
,
0x52
,
0x8b
,
0x8b
,
0x8
3
,
0x20
,
0x92
,
0x4a
,
0x4e
,
0x5c
,
0x5c
,
0x08
,
0x41
,
0x21
,
0x09
,
0x2e
,
0x76
,
0xff
,
0xb2
,
0xd4
,
0x
a2
,
0x9c
,
0xc4
,
0x4a
,
0x09
,
0x46
,
0x05
,
0x46
,
0x0d
,
0x9e
,
0x20
,
0x18
,
0x57
,
0x48
,
0x8a
,
0x8b
,
0x
23
,
0x34
,
0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0x78
,
0x24
,
0xc7
,
0xf8
,
0xe0
,
0x91
,
0x1c
,
0xe3
,
0x84
,
0xc7
,
0x72
,
0x0c
,
0x17
,
0x
1e
,
0xcb
,
0x31
,
0xdc
,
0x78
,
0x2c
,
0xc7
,
0x10
,
0xc5
,
0x54
,
0x90
,
0x94
,
0xc4
,
0x06
,
0x76
,
0x9f
,
0x
31
,
0x20
,
0x00
,
0x00
,
0xff
,
0xff
,
0xed
,
0x0e
,
0xc1
,
0x96
,
0xad
,
0x00
,
0x00
,
0x00
,
}
func
(
m
*
Peers
)
Marshal
()
(
dAtA
[]
byte
,
err
error
)
{
...
...
pkg/hive/pb/hive.proto
View file @
4caa5965
// Copyright 2020 The Swarm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
syntax
=
"proto3"
;
package
pb
;
package
hive
;
option
go_package
=
"pb"
;
message
Peers
{
repeated
BzzAddress
peers
=
1
;
...
...
pkg/p2p/libp2p/internal/handshake/pb/handshake.pb.go
View file @
4caa5965
...
...
@@ -179,28 +179,28 @@ func (m *Ack) GetAddress() []byte {
}
func
init
()
{
proto
.
RegisterType
((
*
Syn
)(
nil
),
"
pb
.Syn"
)
proto
.
RegisterType
((
*
SynAck
)(
nil
),
"
pb
.SynAck"
)
proto
.
RegisterType
((
*
Ack
)(
nil
),
"
pb
.Ack"
)
proto
.
RegisterType
((
*
Syn
)(
nil
),
"
handshake
.Syn"
)
proto
.
RegisterType
((
*
SynAck
)(
nil
),
"
handshake
.SynAck"
)
proto
.
RegisterType
((
*
Ack
)(
nil
),
"
handshake
.Ack"
)
}
func
init
()
{
proto
.
RegisterFile
(
"handshake.proto"
,
fileDescriptor_a77305914d5d202f
)
}
var
fileDescriptor_a77305914d5d202f
=
[]
byte
{
// 19
6
bytes of a gzipped FileDescriptorProto
// 19
9
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,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
,
0x
07
,
0xab
,
0xc0
,
0xed
,
0x44
,
0x27
,
0x99
,
0x13
,
0x8f
,
0xe4
,
0x18
,
0x2f
,
0x3c
,
0x92
,
0x63
,
0x7c
,
0x
f0
,
0x48
,
0x8e
,
0x71
,
0xc2
,
0x63
,
0x39
,
0x86
,
0x0b
,
0x8f
,
0xe5
,
0x18
,
0x6e
,
0x3c
,
0x96
,
0x63
,
0x8
8
,
0x62
,
0x2a
,
0x48
,
0x4a
,
0x62
,
0x03
,
0xfb
,
0xd9
,
0x18
,
0x10
,
0x00
,
0x00
,
0xff
,
0xff
,
0x53
,
0x
fe
,
0x4c
,
0x62
,
0x06
,
0x01
,
0x00
,
0x00
,
}
func
(
m
*
Syn
)
Marshal
()
(
dAtA
[]
byte
,
err
error
)
{
...
...
pkg/p2p/libp2p/internal/handshake/pb/handshake.proto
View file @
4caa5965
// Copyright 2020 The Swarm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
syntax
=
"proto3"
;
package
pb
;
package
handshake
;
option
go_package
=
"pb"
;
message
Syn
{
bytes
Address
=
1
;
...
...
pkg/p2p/libp2p/internal/headers/pb/headers.pb.go
View file @
4caa5965
...
...
@@ -119,24 +119,24 @@ func (m *Header) GetValue() []byte {
}
func
init
()
{
proto
.
RegisterType
((
*
Headers
)(
nil
),
"
pb
.Headers"
)
proto
.
RegisterType
((
*
Header
)(
nil
),
"
pb
.Header"
)
proto
.
RegisterType
((
*
Headers
)(
nil
),
"
headers
.Headers"
)
proto
.
RegisterType
((
*
Header
)(
nil
),
"
headers
.Header"
)
}
func
init
()
{
proto
.
RegisterFile
(
"headers.proto"
,
fileDescriptor_9cec2a7af668f07b
)
}
var
fileDescriptor_9cec2a7af668f07b
=
[]
byte
{
// 14
5
bytes of a gzipped FileDescriptorProto
// 14
6
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x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
0x2e
,
0x98
,
0xa8
,
0x04
,
0xa3
,
0x02
,
0xb3
,
0x06
,
0xb7
,
0x11
,
0x
bf
,
0x1e
,
0x4c
,
0x13
,
0x44
,
0x49
,
0x10
,
0x5c
,
0x97
,
0x01
,
0x17
,
0x1b
,
0x44
,
0x48
,
0x48
,
0x80
,
0x
8b
,
0x39
,
0x3b
,
0xb5
,
0x52
,
0x82
,
0x51
,
0x81
,
0x51
,
0x83
,
0x33
,
0x08
,
0xc4
,
0x14
,
0x12
,
0xe1
,
0x
62
,
0x2d
,
0x4b
,
0xcc
,
0x29
,
0x4d
,
0x95
,
0x60
,
0x52
,
0x60
,
0xd4
,
0xe0
,
0x09
,
0x82
,
0x70
,
0x9c
,
0x
64
,
0x4e
,
0x3c
,
0x92
,
0x63
,
0xbc
,
0xf0
,
0x48
,
0x8e
,
0xf1
,
0xc1
,
0x23
,
0x39
,
0xc6
,
0x09
,
0x8f
,
0x
e5
,
0x18
,
0x2e
,
0x3c
,
0x96
,
0x63
,
0xb8
,
0xf1
,
0x58
,
0x8e
,
0x21
,
0x8a
,
0xa9
,
0x20
,
0x29
,
0x89
,
0x
0d
,
0xec
,
0x2a
,
0x63
,
0x40
,
0x00
,
0x00
,
0x00
,
0xff
,
0xff
,
0x00
,
0x8f
,
0xd4
,
0x36
,
0xa6
,
0x00
,
0x00
,
0x00
,
}
func
(
m
*
Headers
)
Marshal
()
(
dAtA
[]
byte
,
err
error
)
{
...
...
pkg/p2p/libp2p/internal/headers/pb/headers.proto
View file @
4caa5965
...
...
@@ -4,7 +4,9 @@
syntax
=
"proto3"
;
package
pb
;
package
headers
;
option
go_package
=
"pb"
;
message
Headers
{
repeated
Header
headers
=
1
;
...
...
pkg/p2p/protobuf/internal/pb/test.pb.go
View file @
4caa5965
...
...
@@ -67,20 +67,20 @@ func (m *Message) GetText() string {
}
func
init
()
{
proto
.
RegisterType
((
*
Message
)(
nil
),
"
pb
.Message"
)
proto
.
RegisterType
((
*
Message
)(
nil
),
"
test
.Message"
)
}
func
init
()
{
proto
.
RegisterFile
(
"test.proto"
,
fileDescriptor_c161fcfdc0c3ff1e
)
}
var
fileDescriptor_c161fcfdc0c3ff1e
=
[]
byte
{
// 10
0
bytes of a gzipped FileDescriptorProto
// 10
4
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe2
,
0xe2
,
0x2a
,
0x49
,
0x2d
,
0x2e
,
0xd1
,
0x2b
,
0x28
,
0xca
,
0x2f
,
0xc9
,
0x17
,
0x62
,
0x
2a
,
0x48
,
0x52
,
0x92
,
0xe5
,
0x62
,
0xf7
,
0x4d
,
0x
2d
,
0x2e
,
0x4e
,
0x4c
,
0x4f
,
0x15
,
0x12
,
0xe2
,
0x62
,
0x09
,
0x49
,
0xad
,
0x28
,
0x91
,
0x60
,
0x54
,
0x
60
,
0xd4
,
0xe0
,
0x0c
,
0x02
,
0xb3
,
0x9d
,
0x24
,
0x4e
,
0x3c
,
0x92
,
0x63
,
0xbc
,
0xf0
,
0x48
,
0x8e
,
0x
f1
,
0xc1
,
0x23
,
0x39
,
0xc6
,
0x09
,
0x8f
,
0xe5
,
0x18
,
0x2e
,
0x3c
,
0x96
,
0x63
,
0xb8
,
0xf1
,
0x58
,
0x
8e
,
0x21
,
0x89
,
0x0d
,
0x6c
,
0x86
,
0x31
,
0x20
,
0x00
,
0x00
,
0xff
,
0xff
,
0xaa
,
0xbb
,
0x60
,
0xa9
,
0x
51
,
0x00
,
0x00
,
0x00
,
0xd1
,
0x2b
,
0x28
,
0xca
,
0x2f
,
0xc9
,
0x17
,
0x62
,
0x
01
,
0xb1
,
0x95
,
0x64
,
0xb9
,
0xd8
,
0x7d
,
0x53
,
0x
8b
,
0x8b
,
0x13
,
0xd3
,
0x53
,
0x85
,
0x84
,
0xb8
,
0x58
,
0x42
,
0x52
,
0x2b
,
0x4a
,
0x24
,
0x18
,
0x15
,
0x
18
,
0x35
,
0x38
,
0x83
,
0xc0
,
0x6c
,
0x27
,
0x99
,
0x13
,
0x8f
,
0xe4
,
0x18
,
0x2f
,
0x3c
,
0x92
,
0x63
,
0x
7c
,
0xf0
,
0x48
,
0x8e
,
0x71
,
0xc2
,
0x63
,
0x39
,
0x86
,
0x0b
,
0x8f
,
0xe5
,
0x18
,
0x6e
,
0x3c
,
0x96
,
0x
63
,
0x88
,
0x62
,
0x2a
,
0x48
,
0x4a
,
0x62
,
0x03
,
0x9b
,
0x64
,
0x0c
,
0x08
,
0x00
,
0x00
,
0xff
,
0xff
,
0x
e2
,
0x4b
,
0x1d
,
0x71
,
0x57
,
0x00
,
0x00
,
0x00
,
}
func
(
m
*
Message
)
Marshal
()
(
dAtA
[]
byte
,
err
error
)
{
...
...
pkg/p2p/protobuf/internal/pb/test.proto
View file @
4caa5965
...
...
@@ -4,7 +4,9 @@
syntax
=
"proto3"
;
package
pb
;
package
test
;
option
go_package
=
"pb"
;
message
Message
{
string
Text
=
1
;
...
...
pkg/pingpong/pb/pingpong.pb.go
View file @
4caa5965
...
...
@@ -111,22 +111,22 @@ func (m *Pong) GetResponse() string {
}
func
init
()
{
proto
.
RegisterType
((
*
Ping
)(
nil
),
"p
b
.Ping"
)
proto
.
RegisterType
((
*
Pong
)(
nil
),
"p
b
.Pong"
)
proto
.
RegisterType
((
*
Ping
)(
nil
),
"p
ingpong
.Ping"
)
proto
.
RegisterType
((
*
Pong
)(
nil
),
"p
ingpong
.Pong"
)
}
func
init
()
{
proto
.
RegisterFile
(
"pingpong.proto"
,
fileDescriptor_1cfbf639ab46154b
)
}
var
fileDescriptor_1cfbf639ab46154b
=
[]
byte
{
// 12
2
bytes of a gzipped FileDescriptorProto
// 12
6
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe2
,
0xe2
,
0x2b
,
0xc8
,
0xcc
,
0x4b
,
0x2f
,
0xc8
,
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
,
0x82
,
0xfc
,
0xbc
,
0xe2
,
0x54
,
0x98
,
0x1a
,
0x18
,
0xdf
,
0x49
,
0xe6
,
0xc4
,
0x23
,
0x
39
,
0xc6
,
0x0b
,
0x8f
,
0xe4
,
0x18
,
0x1f
,
0x3c
,
0x92
,
0x63
,
0x9c
,
0xf0
,
0x58
,
0x8e
,
0xe1
,
0xc2
,
0x
63
,
0x39
,
0x86
,
0x1b
,
0x8f
,
0xe5
,
0x18
,
0xa2
,
0x98
,
0x0a
,
0x92
,
0x92
,
0xd8
,
0xc0
,
0xd6
,
0x1a
,
0x
03
,
0x02
,
0x00
,
0x00
,
0xff
,
0xff
,
0x08
,
0xee
,
0x5c
,
0x58
,
0x88
,
0x00
,
0x00
,
0x00
,
}
func
(
m
*
Ping
)
Marshal
()
(
dAtA
[]
byte
,
err
error
)
{
...
...
pkg/pingpong/pb/pingpong.proto
View file @
4caa5965
...
...
@@ -4,7 +4,9 @@
syntax
=
"proto3"
;
package
pb
;
package
pingpong
;
option
go_package
=
"pb"
;
message
Ping
{
string
Greeting
=
1
;
...
...
pkg/pushsync/pb/pushsync.pb.go
View file @
4caa5965
...
...
@@ -119,23 +119,23 @@ func (m *Receipt) GetAddress() []byte {
}
func
init
()
{
proto
.
RegisterType
((
*
Delivery
)(
nil
),
"p
b
.Delivery"
)
proto
.
RegisterType
((
*
Receipt
)(
nil
),
"p
b
.Receipt"
)
proto
.
RegisterType
((
*
Delivery
)(
nil
),
"p
ushsync
.Delivery"
)
proto
.
RegisterType
((
*
Receipt
)(
nil
),
"p
ushsync
.Receipt"
)
}
func
init
()
{
proto
.
RegisterFile
(
"pushsync.proto"
,
fileDescriptor_723cf31bfc02bfd6
)
}
var
fileDescriptor_723cf31bfc02bfd6
=
[]
byte
{
// 13
5
bytes of a gzipped FileDescriptorProto
// 13
9
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe2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x
52
,
0x8a
,
0x52
,
0x8b
,
0x8b
,
0x25
,
0x18
,
0x15
,
0x18
,
0x35
,
0x78
,
0x82
,
0x60
,
0x5c
,
0x21
,
0x21
,
0x
2e
,
0x16
,
0x97
,
0xc4
,
0x92
,
0x44
,
0x09
,
0x26
,
0xb0
,
0x30
,
0x98
,
0xad
,
0xa4
,
0xcc
,
0xc5
,
0x1e
,
0x
94
,
0x9a
,
0x9c
,
0x9a
,
0x59
,
0x50
,
0x82
,
0x5b
,
0xa3
,
0x93
,
0xcc
,
0x89
,
0x47
,
0x72
,
0x8c
,
0x17
,
0x
1e
,
0xc9
,
0x31
,
0x3e
,
0x78
,
0x24
,
0xc7
,
0x38
,
0xe1
,
0xb1
,
0x1c
,
0xc3
,
0x85
,
0xc7
,
0x72
,
0x0c
,
0x
37
,
0x1e
,
0xcb
,
0x31
,
0x44
,
0x31
,
0x15
,
0x24
,
0x25
,
0xb1
,
0x81
,
0x5d
,
0x63
,
0x0c
,
0x08
,
0x00
,
0x
00
,
0xff
,
0xff
,
0x1b
,
0x63
,
0x50
,
0x4a
,
0x9f
,
0x00
,
0x00
,
0x00
,
}
func
(
m
*
Delivery
)
Marshal
()
(
dAtA
[]
byte
,
err
error
)
{
...
...
pkg/pushsync/pb/pushsync.proto
View file @
4caa5965
...
...
@@ -4,7 +4,9 @@
syntax
=
"proto3"
;
package
pb
;
package
pushsync
;
option
go_package
=
"pb"
;
message
Delivery
{
bytes
Address
=
1
;
...
...
pkg/retrieval/pb/retrieval.pb.go
View file @
4caa5965
...
...
@@ -111,22 +111,23 @@ func (m *Delivery) GetData() []byte {
}
func
init
()
{
proto
.
RegisterType
((
*
Request
)(
nil
),
"
pb
.Request"
)
proto
.
RegisterType
((
*
Delivery
)(
nil
),
"
pb
.Delivery"
)
proto
.
RegisterType
((
*
Request
)(
nil
),
"
retieval
.Request"
)
proto
.
RegisterType
((
*
Delivery
)(
nil
),
"
retieval
.Delivery"
)
}
func
init
()
{
proto
.
RegisterFile
(
"retrieval.proto"
,
fileDescriptor_fcade0a564e5dcd4
)
}
var
fileDescriptor_fcade0a564e5dcd4
=
[]
byte
{
// 1
27
bytes of a gzipped FileDescriptorProto
// 1
34
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe2
,
0xe2
,
0x2f
,
0x4a
,
0x2d
,
0x29
,
0xca
,
0x4c
,
0x2d
,
0x4b
,
0xcc
,
0xd1
,
0x2b
,
0x28
,
0xca
,
0x2f
,
0xc9
,
0x17
,
0x62
,
0x2a
,
0x48
,
0x52
,
0x92
,
0xe5
,
0x62
,
0x0f
,
0x4a
,
0x2d
,
0x2c
,
0x4d
,
0x2d
,
0x2e
,
0x11
,
0x12
,
0xe2
,
0x62
,
0x71
,
0x4c
,
0x49
,
0x29
,
0x92
,
0x60
,
0x54
,
0x60
,
0xd4
,
0xe0
,
0x09
,
0x02
,
0xb3
,
0x95
,
0xe4
,
0xb8
,
0x38
,
0x5c
,
0x52
,
0x73
,
0x32
,
0xcb
,
0x52
,
0x8b
,
0x2a
,
0x41
,
0xf2
,
0x2e
,
0x89
,
0x25
,
0x89
,
0x30
,
0x79
,
0x10
,
0xdb
,
0x49
,
0xe2
,
0xc4
,
0x23
,
0x39
,
0xc6
,
0x0b
,
0x8f
,
0xe4
,
0x18
,
0x1f
,
0x3c
,
0x92
,
0x63
,
0x9c
,
0xf0
,
0x58
,
0x8e
,
0xe1
,
0xc2
,
0x63
,
0x39
,
0x86
,
0x1b
,
0x8f
,
0xe5
,
0x18
,
0x92
,
0xd8
,
0xc0
,
0x76
,
0x18
,
0x03
,
0x02
,
0x00
,
0x00
,
0xff
,
0xff
,
0x4f
,
0xfc
,
0x90
,
0x25
,
0x76
,
0x00
,
0x00
,
0x00
,
0xca
,
0x4c
,
0x2d
,
0x4b
,
0xcc
,
0xd1
,
0x2b
,
0x28
,
0xca
,
0x2f
,
0xc9
,
0x17
,
0xe2
,
0x28
,
0x4a
,
0x2d
,
0x01
,
0xf3
,
0x95
,
0x64
,
0xb9
,
0xd8
,
0x83
,
0x52
,
0x0b
,
0x4b
,
0x53
,
0x8b
,
0x4b
,
0x84
,
0x84
,
0xb8
,
0x58
,
0x1c
,
0x53
,
0x52
,
0x8a
,
0x24
,
0x18
,
0x15
,
0x18
,
0x35
,
0x78
,
0x82
,
0xc0
,
0x6c
,
0x25
,
0x39
,
0x2e
,
0x0e
,
0x97
,
0xd4
,
0x9c
,
0xcc
,
0xb2
,
0xd4
,
0xa2
,
0x4a
,
0x90
,
0xbc
,
0x4b
,
0x62
,
0x49
,
0x22
,
0x4c
,
0x1e
,
0xc4
,
0x76
,
0x92
,
0x39
,
0xf1
,
0x48
,
0x8e
,
0xf1
,
0xc2
,
0x23
,
0x39
,
0xc6
,
0x07
,
0x8f
,
0xe4
,
0x18
,
0x27
,
0x3c
,
0x96
,
0x63
,
0xb8
,
0xf0
,
0x58
,
0x8e
,
0xe1
,
0xc6
,
0x63
,
0x39
,
0x86
,
0x28
,
0xa6
,
0x82
,
0xa4
,
0x24
,
0x36
,
0xb0
,
0x6d
,
0xc6
,
0x80
,
0x00
,
0x00
,
0x00
,
0xff
,
0xff
,
0xe5
,
0x88
,
0xb0
,
0x44
,
0x80
,
0x00
,
0x00
,
0x00
,
}
func
(
m
*
Request
)
Marshal
()
(
dAtA
[]
byte
,
err
error
)
{
...
...
pkg/retrieval/pb/retrieval.proto
View file @
4caa5965
...
...
@@ -4,7 +4,9 @@
syntax
=
"proto3"
;
package
pb
;
package
retieval
;
option
go_package
=
"pb"
;
message
Request
{
bytes
Addr
=
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment