@latticexyz/services 1.2.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/ecs-relay +0 -0
- package/bin/ecs-snapshot +0 -0
- package/bin/ecs-stream +0 -0
- package/bin/faucet +0 -0
- package/package.json +2 -2
- package/protobuf/go/ecs-relay/ecs-relay.pb.go +301 -146
- package/protobuf/go/ecs-relay/ecs-relay_grpc.pb.go +63 -23
- package/protobuf/go/faucet/faucet.pb.go +196 -128
- package/protobuf/go/faucet/faucet_grpc.pb.go +50 -14
- package/protobuf/ts/ecs-relay/ecs-relay.client.ts +43 -21
- package/protobuf/ts/ecs-relay/ecs-relay.ts +178 -45
- package/protobuf/ts/faucet/faucet.client.ts +27 -11
- package/protobuf/ts/faucet/faucet.ts +85 -24
|
@@ -68,21 +68,70 @@ func (x *Identity) GetName() string {
|
|
|
68
68
|
return ""
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
// Signature that a client must provide to prove ownership of identity.
|
|
72
|
+
type Signature struct {
|
|
73
|
+
state protoimpl.MessageState
|
|
74
|
+
sizeCache protoimpl.SizeCache
|
|
75
|
+
unknownFields protoimpl.UnknownFields
|
|
76
|
+
|
|
77
|
+
Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
func (x *Signature) Reset() {
|
|
81
|
+
*x = Signature{}
|
|
82
|
+
if protoimpl.UnsafeEnabled {
|
|
83
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[1]
|
|
84
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
85
|
+
ms.StoreMessageInfo(mi)
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
func (x *Signature) String() string {
|
|
90
|
+
return protoimpl.X.MessageStringOf(x)
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
func (*Signature) ProtoMessage() {}
|
|
94
|
+
|
|
95
|
+
func (x *Signature) ProtoReflect() protoreflect.Message {
|
|
96
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[1]
|
|
97
|
+
if protoimpl.UnsafeEnabled && x != nil {
|
|
98
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
99
|
+
if ms.LoadMessageInfo() == nil {
|
|
100
|
+
ms.StoreMessageInfo(mi)
|
|
101
|
+
}
|
|
102
|
+
return ms
|
|
103
|
+
}
|
|
104
|
+
return mi.MessageOf(x)
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// Deprecated: Use Signature.ProtoReflect.Descriptor instead.
|
|
108
|
+
func (*Signature) Descriptor() ([]byte, []int) {
|
|
109
|
+
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{1}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
func (x *Signature) GetSignature() string {
|
|
113
|
+
if x != nil {
|
|
114
|
+
return x.Signature
|
|
115
|
+
}
|
|
116
|
+
return ""
|
|
117
|
+
}
|
|
118
|
+
|
|
71
119
|
type Message struct {
|
|
72
120
|
state protoimpl.MessageState
|
|
73
121
|
sizeCache protoimpl.SizeCache
|
|
74
122
|
unknownFields protoimpl.UnknownFields
|
|
75
123
|
|
|
76
124
|
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
125
|
+
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
126
|
+
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
|
127
|
+
Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
128
|
+
Signature string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
|
|
80
129
|
}
|
|
81
130
|
|
|
82
131
|
func (x *Message) Reset() {
|
|
83
132
|
*x = Message{}
|
|
84
133
|
if protoimpl.UnsafeEnabled {
|
|
85
|
-
mi := &file_proto_ecs_relay_proto_msgTypes[
|
|
134
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[2]
|
|
86
135
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
87
136
|
ms.StoreMessageInfo(mi)
|
|
88
137
|
}
|
|
@@ -95,7 +144,7 @@ func (x *Message) String() string {
|
|
|
95
144
|
func (*Message) ProtoMessage() {}
|
|
96
145
|
|
|
97
146
|
func (x *Message) ProtoReflect() protoreflect.Message {
|
|
98
|
-
mi := &file_proto_ecs_relay_proto_msgTypes[
|
|
147
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[2]
|
|
99
148
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
100
149
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
101
150
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -108,7 +157,7 @@ func (x *Message) ProtoReflect() protoreflect.Message {
|
|
|
108
157
|
|
|
109
158
|
// Deprecated: Use Message.ProtoReflect.Descriptor instead.
|
|
110
159
|
func (*Message) Descriptor() ([]byte, []int) {
|
|
111
|
-
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{
|
|
160
|
+
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{2}
|
|
112
161
|
}
|
|
113
162
|
|
|
114
163
|
func (x *Message) GetVersion() uint32 {
|
|
@@ -118,6 +167,13 @@ func (x *Message) GetVersion() uint32 {
|
|
|
118
167
|
return 0
|
|
119
168
|
}
|
|
120
169
|
|
|
170
|
+
func (x *Message) GetId() string {
|
|
171
|
+
if x != nil {
|
|
172
|
+
return x.Id
|
|
173
|
+
}
|
|
174
|
+
return ""
|
|
175
|
+
}
|
|
176
|
+
|
|
121
177
|
func (x *Message) GetData() []byte {
|
|
122
178
|
if x != nil {
|
|
123
179
|
return x.Data
|
|
@@ -132,9 +188,9 @@ func (x *Message) GetTimestamp() int64 {
|
|
|
132
188
|
return 0
|
|
133
189
|
}
|
|
134
190
|
|
|
135
|
-
func (x *Message)
|
|
191
|
+
func (x *Message) GetSignature() string {
|
|
136
192
|
if x != nil {
|
|
137
|
-
return x.
|
|
193
|
+
return x.Signature
|
|
138
194
|
}
|
|
139
195
|
return ""
|
|
140
196
|
}
|
|
@@ -144,14 +200,14 @@ type SubscriptionRequest struct {
|
|
|
144
200
|
sizeCache protoimpl.SizeCache
|
|
145
201
|
unknownFields protoimpl.UnknownFields
|
|
146
202
|
|
|
147
|
-
|
|
203
|
+
Signature *Signature `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
|
|
148
204
|
Subscription *Subscription `protobuf:"bytes,2,opt,name=subscription,proto3" json:"subscription,omitempty"`
|
|
149
205
|
}
|
|
150
206
|
|
|
151
207
|
func (x *SubscriptionRequest) Reset() {
|
|
152
208
|
*x = SubscriptionRequest{}
|
|
153
209
|
if protoimpl.UnsafeEnabled {
|
|
154
|
-
mi := &file_proto_ecs_relay_proto_msgTypes[
|
|
210
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[3]
|
|
155
211
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
156
212
|
ms.StoreMessageInfo(mi)
|
|
157
213
|
}
|
|
@@ -164,7 +220,7 @@ func (x *SubscriptionRequest) String() string {
|
|
|
164
220
|
func (*SubscriptionRequest) ProtoMessage() {}
|
|
165
221
|
|
|
166
222
|
func (x *SubscriptionRequest) ProtoReflect() protoreflect.Message {
|
|
167
|
-
mi := &file_proto_ecs_relay_proto_msgTypes[
|
|
223
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[3]
|
|
168
224
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
169
225
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
170
226
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -177,12 +233,12 @@ func (x *SubscriptionRequest) ProtoReflect() protoreflect.Message {
|
|
|
177
233
|
|
|
178
234
|
// Deprecated: Use SubscriptionRequest.ProtoReflect.Descriptor instead.
|
|
179
235
|
func (*SubscriptionRequest) Descriptor() ([]byte, []int) {
|
|
180
|
-
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{
|
|
236
|
+
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{3}
|
|
181
237
|
}
|
|
182
238
|
|
|
183
|
-
func (x *SubscriptionRequest)
|
|
239
|
+
func (x *SubscriptionRequest) GetSignature() *Signature {
|
|
184
240
|
if x != nil {
|
|
185
|
-
return x.
|
|
241
|
+
return x.Signature
|
|
186
242
|
}
|
|
187
243
|
return nil
|
|
188
244
|
}
|
|
@@ -205,7 +261,7 @@ type Subscription struct {
|
|
|
205
261
|
func (x *Subscription) Reset() {
|
|
206
262
|
*x = Subscription{}
|
|
207
263
|
if protoimpl.UnsafeEnabled {
|
|
208
|
-
mi := &file_proto_ecs_relay_proto_msgTypes[
|
|
264
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[4]
|
|
209
265
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
210
266
|
ms.StoreMessageInfo(mi)
|
|
211
267
|
}
|
|
@@ -218,7 +274,7 @@ func (x *Subscription) String() string {
|
|
|
218
274
|
func (*Subscription) ProtoMessage() {}
|
|
219
275
|
|
|
220
276
|
func (x *Subscription) ProtoReflect() protoreflect.Message {
|
|
221
|
-
mi := &file_proto_ecs_relay_proto_msgTypes[
|
|
277
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[4]
|
|
222
278
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
223
279
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
224
280
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -231,7 +287,7 @@ func (x *Subscription) ProtoReflect() protoreflect.Message {
|
|
|
231
287
|
|
|
232
288
|
// Deprecated: Use Subscription.ProtoReflect.Descriptor instead.
|
|
233
289
|
func (*Subscription) Descriptor() ([]byte, []int) {
|
|
234
|
-
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{
|
|
290
|
+
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{4}
|
|
235
291
|
}
|
|
236
292
|
|
|
237
293
|
func (x *Subscription) GetLabel() string {
|
|
@@ -246,15 +302,14 @@ type PushRequest struct {
|
|
|
246
302
|
sizeCache protoimpl.SizeCache
|
|
247
303
|
unknownFields protoimpl.UnknownFields
|
|
248
304
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
Messages []*Message `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
305
|
+
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
|
|
306
|
+
Message *Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
|
252
307
|
}
|
|
253
308
|
|
|
254
309
|
func (x *PushRequest) Reset() {
|
|
255
310
|
*x = PushRequest{}
|
|
256
311
|
if protoimpl.UnsafeEnabled {
|
|
257
|
-
mi := &file_proto_ecs_relay_proto_msgTypes[
|
|
312
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[5]
|
|
258
313
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
259
314
|
ms.StoreMessageInfo(mi)
|
|
260
315
|
}
|
|
@@ -267,7 +322,7 @@ func (x *PushRequest) String() string {
|
|
|
267
322
|
func (*PushRequest) ProtoMessage() {}
|
|
268
323
|
|
|
269
324
|
func (x *PushRequest) ProtoReflect() protoreflect.Message {
|
|
270
|
-
mi := &file_proto_ecs_relay_proto_msgTypes[
|
|
325
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[5]
|
|
271
326
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
272
327
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
273
328
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -280,24 +335,80 @@ func (x *PushRequest) ProtoReflect() protoreflect.Message {
|
|
|
280
335
|
|
|
281
336
|
// Deprecated: Use PushRequest.ProtoReflect.Descriptor instead.
|
|
282
337
|
func (*PushRequest) Descriptor() ([]byte, []int) {
|
|
283
|
-
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{
|
|
338
|
+
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{5}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
func (x *PushRequest) GetLabel() string {
|
|
342
|
+
if x != nil {
|
|
343
|
+
return x.Label
|
|
344
|
+
}
|
|
345
|
+
return ""
|
|
284
346
|
}
|
|
285
347
|
|
|
286
|
-
func (x *PushRequest)
|
|
348
|
+
func (x *PushRequest) GetMessage() *Message {
|
|
287
349
|
if x != nil {
|
|
288
|
-
return x.
|
|
350
|
+
return x.Message
|
|
289
351
|
}
|
|
290
352
|
return nil
|
|
291
353
|
}
|
|
292
354
|
|
|
293
|
-
|
|
355
|
+
type PushManyRequest struct {
|
|
356
|
+
state protoimpl.MessageState
|
|
357
|
+
sizeCache protoimpl.SizeCache
|
|
358
|
+
unknownFields protoimpl.UnknownFields
|
|
359
|
+
|
|
360
|
+
Signature *Signature `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
|
|
361
|
+
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
|
|
362
|
+
Messages []*Message `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
func (x *PushManyRequest) Reset() {
|
|
366
|
+
*x = PushManyRequest{}
|
|
367
|
+
if protoimpl.UnsafeEnabled {
|
|
368
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[6]
|
|
369
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
370
|
+
ms.StoreMessageInfo(mi)
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
func (x *PushManyRequest) String() string {
|
|
375
|
+
return protoimpl.X.MessageStringOf(x)
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
func (*PushManyRequest) ProtoMessage() {}
|
|
379
|
+
|
|
380
|
+
func (x *PushManyRequest) ProtoReflect() protoreflect.Message {
|
|
381
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[6]
|
|
382
|
+
if protoimpl.UnsafeEnabled && x != nil {
|
|
383
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
384
|
+
if ms.LoadMessageInfo() == nil {
|
|
385
|
+
ms.StoreMessageInfo(mi)
|
|
386
|
+
}
|
|
387
|
+
return ms
|
|
388
|
+
}
|
|
389
|
+
return mi.MessageOf(x)
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
// Deprecated: Use PushManyRequest.ProtoReflect.Descriptor instead.
|
|
393
|
+
func (*PushManyRequest) Descriptor() ([]byte, []int) {
|
|
394
|
+
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{6}
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
func (x *PushManyRequest) GetSignature() *Signature {
|
|
398
|
+
if x != nil {
|
|
399
|
+
return x.Signature
|
|
400
|
+
}
|
|
401
|
+
return nil
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
func (x *PushManyRequest) GetLabel() string {
|
|
294
405
|
if x != nil {
|
|
295
406
|
return x.Label
|
|
296
407
|
}
|
|
297
408
|
return ""
|
|
298
409
|
}
|
|
299
410
|
|
|
300
|
-
func (x *
|
|
411
|
+
func (x *PushManyRequest) GetMessages() []*Message {
|
|
301
412
|
if x != nil {
|
|
302
413
|
return x.Messages
|
|
303
414
|
}
|
|
@@ -313,7 +424,7 @@ type PushResponse struct {
|
|
|
313
424
|
func (x *PushResponse) Reset() {
|
|
314
425
|
*x = PushResponse{}
|
|
315
426
|
if protoimpl.UnsafeEnabled {
|
|
316
|
-
mi := &file_proto_ecs_relay_proto_msgTypes[
|
|
427
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[7]
|
|
317
428
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
318
429
|
ms.StoreMessageInfo(mi)
|
|
319
430
|
}
|
|
@@ -326,7 +437,7 @@ func (x *PushResponse) String() string {
|
|
|
326
437
|
func (*PushResponse) ProtoMessage() {}
|
|
327
438
|
|
|
328
439
|
func (x *PushResponse) ProtoReflect() protoreflect.Message {
|
|
329
|
-
mi := &file_proto_ecs_relay_proto_msgTypes[
|
|
440
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[7]
|
|
330
441
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
331
442
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
332
443
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -339,7 +450,7 @@ func (x *PushResponse) ProtoReflect() protoreflect.Message {
|
|
|
339
450
|
|
|
340
451
|
// Deprecated: Use PushResponse.ProtoReflect.Descriptor instead.
|
|
341
452
|
func (*PushResponse) Descriptor() ([]byte, []int) {
|
|
342
|
-
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{
|
|
453
|
+
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{7}
|
|
343
454
|
}
|
|
344
455
|
|
|
345
456
|
type CountIdentitiesRequest struct {
|
|
@@ -351,7 +462,7 @@ type CountIdentitiesRequest struct {
|
|
|
351
462
|
func (x *CountIdentitiesRequest) Reset() {
|
|
352
463
|
*x = CountIdentitiesRequest{}
|
|
353
464
|
if protoimpl.UnsafeEnabled {
|
|
354
|
-
mi := &file_proto_ecs_relay_proto_msgTypes[
|
|
465
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[8]
|
|
355
466
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
356
467
|
ms.StoreMessageInfo(mi)
|
|
357
468
|
}
|
|
@@ -364,7 +475,7 @@ func (x *CountIdentitiesRequest) String() string {
|
|
|
364
475
|
func (*CountIdentitiesRequest) ProtoMessage() {}
|
|
365
476
|
|
|
366
477
|
func (x *CountIdentitiesRequest) ProtoReflect() protoreflect.Message {
|
|
367
|
-
mi := &file_proto_ecs_relay_proto_msgTypes[
|
|
478
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[8]
|
|
368
479
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
369
480
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
370
481
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -377,7 +488,7 @@ func (x *CountIdentitiesRequest) ProtoReflect() protoreflect.Message {
|
|
|
377
488
|
|
|
378
489
|
// Deprecated: Use CountIdentitiesRequest.ProtoReflect.Descriptor instead.
|
|
379
490
|
func (*CountIdentitiesRequest) Descriptor() ([]byte, []int) {
|
|
380
|
-
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{
|
|
491
|
+
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{8}
|
|
381
492
|
}
|
|
382
493
|
|
|
383
494
|
type CountIdentitiesResponse struct {
|
|
@@ -391,7 +502,7 @@ type CountIdentitiesResponse struct {
|
|
|
391
502
|
func (x *CountIdentitiesResponse) Reset() {
|
|
392
503
|
*x = CountIdentitiesResponse{}
|
|
393
504
|
if protoimpl.UnsafeEnabled {
|
|
394
|
-
mi := &file_proto_ecs_relay_proto_msgTypes[
|
|
505
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[9]
|
|
395
506
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
396
507
|
ms.StoreMessageInfo(mi)
|
|
397
508
|
}
|
|
@@ -404,7 +515,7 @@ func (x *CountIdentitiesResponse) String() string {
|
|
|
404
515
|
func (*CountIdentitiesResponse) ProtoMessage() {}
|
|
405
516
|
|
|
406
517
|
func (x *CountIdentitiesResponse) ProtoReflect() protoreflect.Message {
|
|
407
|
-
mi := &file_proto_ecs_relay_proto_msgTypes[
|
|
518
|
+
mi := &file_proto_ecs_relay_proto_msgTypes[9]
|
|
408
519
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
409
520
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
410
521
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -417,7 +528,7 @@ func (x *CountIdentitiesResponse) ProtoReflect() protoreflect.Message {
|
|
|
417
528
|
|
|
418
529
|
// Deprecated: Use CountIdentitiesResponse.ProtoReflect.Descriptor instead.
|
|
419
530
|
func (*CountIdentitiesResponse) Descriptor() ([]byte, []int) {
|
|
420
|
-
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{
|
|
531
|
+
return file_proto_ecs_relay_proto_rawDescGZIP(), []int{9}
|
|
421
532
|
}
|
|
422
533
|
|
|
423
534
|
func (x *CountIdentitiesResponse) GetCount() uint32 {
|
|
@@ -434,78 +545,93 @@ var file_proto_ecs_relay_proto_rawDesc = []byte{
|
|
|
434
545
|
0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61,
|
|
435
546
|
0x79, 0x22, 0x1e, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a,
|
|
436
547
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
|
|
437
|
-
0x65, 0x22,
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
0x65,
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65,
|
|
481
|
-
0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e,
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
548
|
+
0x65, 0x22, 0x29, 0x0a, 0x09, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1c,
|
|
549
|
+
0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
550
|
+
0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x83, 0x01, 0x0a,
|
|
551
|
+
0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73,
|
|
552
|
+
0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
|
|
553
|
+
0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
|
|
554
|
+
0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c,
|
|
555
|
+
0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
|
|
556
|
+
0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73,
|
|
557
|
+
0x74, 0x61, 0x6d, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72,
|
|
558
|
+
0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75,
|
|
559
|
+
0x72, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x13, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
|
|
560
|
+
0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x09, 0x73, 0x69,
|
|
561
|
+
0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e,
|
|
562
|
+
0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75,
|
|
563
|
+
0x72, 0x65, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x3a, 0x0a,
|
|
564
|
+
0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
|
|
565
|
+
0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x53,
|
|
566
|
+
0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x73, 0x75, 0x62,
|
|
567
|
+
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x24, 0x0a, 0x0c, 0x53, 0x75, 0x62,
|
|
568
|
+
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62,
|
|
569
|
+
0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x22,
|
|
570
|
+
0x50, 0x0a, 0x0b, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14,
|
|
571
|
+
0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c,
|
|
572
|
+
0x61, 0x62, 0x65, 0x6c, 0x12, 0x2b, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18,
|
|
573
|
+
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79,
|
|
574
|
+
0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
575
|
+
0x65, 0x22, 0x89, 0x01, 0x0a, 0x0f, 0x50, 0x75, 0x73, 0x68, 0x4d, 0x61, 0x6e, 0x79, 0x52, 0x65,
|
|
576
|
+
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75,
|
|
577
|
+
0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65,
|
|
578
|
+
0x6c, 0x61, 0x79, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x09, 0x73,
|
|
579
|
+
0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65,
|
|
580
|
+
0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x2d,
|
|
581
|
+
0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
|
|
582
|
+
0x32, 0x11, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x4d, 0x65, 0x73, 0x73,
|
|
583
|
+
0x61, 0x67, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x0e, 0x0a,
|
|
584
|
+
0x0c, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0x0a,
|
|
585
|
+
0x16, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73,
|
|
586
|
+
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2f, 0x0a, 0x17, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
|
587
|
+
0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
588
|
+
0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
589
|
+
0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0xac, 0x05, 0x0a, 0x0f, 0x45, 0x43, 0x53,
|
|
590
|
+
0x52, 0x65, 0x6c, 0x61, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x0c,
|
|
591
|
+
0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x13, 0x2e, 0x65,
|
|
592
|
+
0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72,
|
|
593
|
+
0x65, 0x1a, 0x12, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x49, 0x64, 0x65,
|
|
594
|
+
0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x00, 0x12, 0x33, 0x0a, 0x06, 0x52, 0x65, 0x76, 0x6f, 0x6b,
|
|
595
|
+
0x65, 0x12, 0x13, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x53, 0x69, 0x67,
|
|
596
|
+
0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x12, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61,
|
|
597
|
+
0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x00, 0x12, 0x31, 0x0a, 0x04,
|
|
598
|
+
0x50, 0x69, 0x6e, 0x67, 0x12, 0x13, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e,
|
|
599
|
+
0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x12, 0x2e, 0x65, 0x63, 0x73, 0x72,
|
|
600
|
+
0x65, 0x6c, 0x61, 0x79, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x00, 0x12,
|
|
601
|
+
0x5b, 0x0a, 0x12, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69,
|
|
602
|
+
0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x20, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79,
|
|
487
603
|
0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73,
|
|
488
604
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c,
|
|
489
605
|
0x61, 0x79, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69,
|
|
490
|
-
0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
|
|
491
|
-
|
|
606
|
+
0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x0e,
|
|
607
|
+
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x20,
|
|
608
|
+
0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x49,
|
|
609
|
+
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
610
|
+
0x1a, 0x21, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x75, 0x6e,
|
|
611
|
+
0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
612
|
+
0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x44, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
|
|
613
|
+
0x62, 0x65, 0x12, 0x1d, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x53, 0x75,
|
|
614
|
+
0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
615
|
+
0x74, 0x1a, 0x16, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x53, 0x75, 0x62,
|
|
616
|
+
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x0b, 0x55,
|
|
617
|
+
0x6e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x1d, 0x2e, 0x65, 0x63, 0x73,
|
|
618
|
+
0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
|
|
619
|
+
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x65, 0x63, 0x73, 0x72,
|
|
492
620
|
0x65, 0x6c, 0x61, 0x79, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
|
493
|
-
0x6e,
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
0x63,
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x63, 0x73, 0x2d,
|
|
508
|
-
0x72, 0x65, 0x6c, 0x61, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
621
|
+
0x6e, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x0a, 0x4f, 0x70, 0x65, 0x6e, 0x53, 0x74, 0x72, 0x65, 0x61,
|
|
622
|
+
0x6d, 0x12, 0x13, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x53, 0x69, 0x67,
|
|
623
|
+
0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x11, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61,
|
|
624
|
+
0x79, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x37, 0x0a,
|
|
625
|
+
0x04, 0x50, 0x75, 0x73, 0x68, 0x12, 0x15, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79,
|
|
626
|
+
0x2e, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x65,
|
|
627
|
+
0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70,
|
|
628
|
+
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x08, 0x50, 0x75, 0x73, 0x68, 0x4d, 0x61,
|
|
629
|
+
0x6e, 0x79, 0x12, 0x19, 0x2e, 0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x50, 0x75,
|
|
630
|
+
0x73, 0x68, 0x4d, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
|
|
631
|
+
0x65, 0x63, 0x73, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x73,
|
|
632
|
+
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x17, 0x5a, 0x15, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
633
|
+
0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x63, 0x73, 0x2d, 0x72, 0x65, 0x6c, 0x61, 0x79,
|
|
634
|
+
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
509
635
|
}
|
|
510
636
|
|
|
511
637
|
var (
|
|
@@ -520,45 +646,50 @@ func file_proto_ecs_relay_proto_rawDescGZIP() []byte {
|
|
|
520
646
|
return file_proto_ecs_relay_proto_rawDescData
|
|
521
647
|
}
|
|
522
648
|
|
|
523
|
-
var file_proto_ecs_relay_proto_msgTypes = make([]protoimpl.MessageInfo,
|
|
649
|
+
var file_proto_ecs_relay_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
524
650
|
var file_proto_ecs_relay_proto_goTypes = []interface{}{
|
|
525
651
|
(*Identity)(nil), // 0: ecsrelay.Identity
|
|
526
|
-
(*
|
|
527
|
-
(*
|
|
528
|
-
(*
|
|
529
|
-
(*
|
|
530
|
-
(*
|
|
531
|
-
(*
|
|
532
|
-
(*
|
|
652
|
+
(*Signature)(nil), // 1: ecsrelay.Signature
|
|
653
|
+
(*Message)(nil), // 2: ecsrelay.Message
|
|
654
|
+
(*SubscriptionRequest)(nil), // 3: ecsrelay.SubscriptionRequest
|
|
655
|
+
(*Subscription)(nil), // 4: ecsrelay.Subscription
|
|
656
|
+
(*PushRequest)(nil), // 5: ecsrelay.PushRequest
|
|
657
|
+
(*PushManyRequest)(nil), // 6: ecsrelay.PushManyRequest
|
|
658
|
+
(*PushResponse)(nil), // 7: ecsrelay.PushResponse
|
|
659
|
+
(*CountIdentitiesRequest)(nil), // 8: ecsrelay.CountIdentitiesRequest
|
|
660
|
+
(*CountIdentitiesResponse)(nil), // 9: ecsrelay.CountIdentitiesResponse
|
|
533
661
|
}
|
|
534
662
|
var file_proto_ecs_relay_proto_depIdxs = []int32{
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
1, // 3: ecsrelay.
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
0, // 15: ecsrelay.ECSRelayService.
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
663
|
+
1, // 0: ecsrelay.SubscriptionRequest.signature:type_name -> ecsrelay.Signature
|
|
664
|
+
4, // 1: ecsrelay.SubscriptionRequest.subscription:type_name -> ecsrelay.Subscription
|
|
665
|
+
2, // 2: ecsrelay.PushRequest.message:type_name -> ecsrelay.Message
|
|
666
|
+
1, // 3: ecsrelay.PushManyRequest.signature:type_name -> ecsrelay.Signature
|
|
667
|
+
2, // 4: ecsrelay.PushManyRequest.messages:type_name -> ecsrelay.Message
|
|
668
|
+
1, // 5: ecsrelay.ECSRelayService.Authenticate:input_type -> ecsrelay.Signature
|
|
669
|
+
1, // 6: ecsrelay.ECSRelayService.Revoke:input_type -> ecsrelay.Signature
|
|
670
|
+
1, // 7: ecsrelay.ECSRelayService.Ping:input_type -> ecsrelay.Signature
|
|
671
|
+
8, // 8: ecsrelay.ECSRelayService.CountAuthenticated:input_type -> ecsrelay.CountIdentitiesRequest
|
|
672
|
+
8, // 9: ecsrelay.ECSRelayService.CountConnected:input_type -> ecsrelay.CountIdentitiesRequest
|
|
673
|
+
3, // 10: ecsrelay.ECSRelayService.Subscribe:input_type -> ecsrelay.SubscriptionRequest
|
|
674
|
+
3, // 11: ecsrelay.ECSRelayService.Unsubscribe:input_type -> ecsrelay.SubscriptionRequest
|
|
675
|
+
1, // 12: ecsrelay.ECSRelayService.OpenStream:input_type -> ecsrelay.Signature
|
|
676
|
+
5, // 13: ecsrelay.ECSRelayService.Push:input_type -> ecsrelay.PushRequest
|
|
677
|
+
6, // 14: ecsrelay.ECSRelayService.PushMany:input_type -> ecsrelay.PushManyRequest
|
|
678
|
+
0, // 15: ecsrelay.ECSRelayService.Authenticate:output_type -> ecsrelay.Identity
|
|
679
|
+
0, // 16: ecsrelay.ECSRelayService.Revoke:output_type -> ecsrelay.Identity
|
|
680
|
+
0, // 17: ecsrelay.ECSRelayService.Ping:output_type -> ecsrelay.Identity
|
|
681
|
+
9, // 18: ecsrelay.ECSRelayService.CountAuthenticated:output_type -> ecsrelay.CountIdentitiesResponse
|
|
682
|
+
9, // 19: ecsrelay.ECSRelayService.CountConnected:output_type -> ecsrelay.CountIdentitiesResponse
|
|
683
|
+
4, // 20: ecsrelay.ECSRelayService.Subscribe:output_type -> ecsrelay.Subscription
|
|
684
|
+
4, // 21: ecsrelay.ECSRelayService.Unsubscribe:output_type -> ecsrelay.Subscription
|
|
685
|
+
2, // 22: ecsrelay.ECSRelayService.OpenStream:output_type -> ecsrelay.Message
|
|
686
|
+
7, // 23: ecsrelay.ECSRelayService.Push:output_type -> ecsrelay.PushResponse
|
|
687
|
+
7, // 24: ecsrelay.ECSRelayService.PushMany:output_type -> ecsrelay.PushResponse
|
|
688
|
+
15, // [15:25] is the sub-list for method output_type
|
|
689
|
+
5, // [5:15] is the sub-list for method input_type
|
|
690
|
+
5, // [5:5] is the sub-list for extension type_name
|
|
691
|
+
5, // [5:5] is the sub-list for extension extendee
|
|
692
|
+
0, // [0:5] is the sub-list for field type_name
|
|
562
693
|
}
|
|
563
694
|
|
|
564
695
|
func init() { file_proto_ecs_relay_proto_init() }
|
|
@@ -580,7 +711,7 @@ func file_proto_ecs_relay_proto_init() {
|
|
|
580
711
|
}
|
|
581
712
|
}
|
|
582
713
|
file_proto_ecs_relay_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
583
|
-
switch v := v.(*
|
|
714
|
+
switch v := v.(*Signature); i {
|
|
584
715
|
case 0:
|
|
585
716
|
return &v.state
|
|
586
717
|
case 1:
|
|
@@ -592,7 +723,7 @@ func file_proto_ecs_relay_proto_init() {
|
|
|
592
723
|
}
|
|
593
724
|
}
|
|
594
725
|
file_proto_ecs_relay_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
595
|
-
switch v := v.(*
|
|
726
|
+
switch v := v.(*Message); i {
|
|
596
727
|
case 0:
|
|
597
728
|
return &v.state
|
|
598
729
|
case 1:
|
|
@@ -604,7 +735,7 @@ func file_proto_ecs_relay_proto_init() {
|
|
|
604
735
|
}
|
|
605
736
|
}
|
|
606
737
|
file_proto_ecs_relay_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
607
|
-
switch v := v.(*
|
|
738
|
+
switch v := v.(*SubscriptionRequest); i {
|
|
608
739
|
case 0:
|
|
609
740
|
return &v.state
|
|
610
741
|
case 1:
|
|
@@ -616,7 +747,7 @@ func file_proto_ecs_relay_proto_init() {
|
|
|
616
747
|
}
|
|
617
748
|
}
|
|
618
749
|
file_proto_ecs_relay_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
619
|
-
switch v := v.(*
|
|
750
|
+
switch v := v.(*Subscription); i {
|
|
620
751
|
case 0:
|
|
621
752
|
return &v.state
|
|
622
753
|
case 1:
|
|
@@ -628,7 +759,7 @@ func file_proto_ecs_relay_proto_init() {
|
|
|
628
759
|
}
|
|
629
760
|
}
|
|
630
761
|
file_proto_ecs_relay_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
631
|
-
switch v := v.(*
|
|
762
|
+
switch v := v.(*PushRequest); i {
|
|
632
763
|
case 0:
|
|
633
764
|
return &v.state
|
|
634
765
|
case 1:
|
|
@@ -640,7 +771,7 @@ func file_proto_ecs_relay_proto_init() {
|
|
|
640
771
|
}
|
|
641
772
|
}
|
|
642
773
|
file_proto_ecs_relay_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
643
|
-
switch v := v.(*
|
|
774
|
+
switch v := v.(*PushManyRequest); i {
|
|
644
775
|
case 0:
|
|
645
776
|
return &v.state
|
|
646
777
|
case 1:
|
|
@@ -652,6 +783,30 @@ func file_proto_ecs_relay_proto_init() {
|
|
|
652
783
|
}
|
|
653
784
|
}
|
|
654
785
|
file_proto_ecs_relay_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
786
|
+
switch v := v.(*PushResponse); i {
|
|
787
|
+
case 0:
|
|
788
|
+
return &v.state
|
|
789
|
+
case 1:
|
|
790
|
+
return &v.sizeCache
|
|
791
|
+
case 2:
|
|
792
|
+
return &v.unknownFields
|
|
793
|
+
default:
|
|
794
|
+
return nil
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
file_proto_ecs_relay_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
798
|
+
switch v := v.(*CountIdentitiesRequest); i {
|
|
799
|
+
case 0:
|
|
800
|
+
return &v.state
|
|
801
|
+
case 1:
|
|
802
|
+
return &v.sizeCache
|
|
803
|
+
case 2:
|
|
804
|
+
return &v.unknownFields
|
|
805
|
+
default:
|
|
806
|
+
return nil
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
file_proto_ecs_relay_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
655
810
|
switch v := v.(*CountIdentitiesResponse); i {
|
|
656
811
|
case 0:
|
|
657
812
|
return &v.state
|
|
@@ -670,7 +825,7 @@ func file_proto_ecs_relay_proto_init() {
|
|
|
670
825
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
671
826
|
RawDescriptor: file_proto_ecs_relay_proto_rawDesc,
|
|
672
827
|
NumEnums: 0,
|
|
673
|
-
NumMessages:
|
|
828
|
+
NumMessages: 10,
|
|
674
829
|
NumExtensions: 0,
|
|
675
830
|
NumServices: 1,
|
|
676
831
|
},
|