@latticexyz/services 1.30.1 → 1.31.1
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/LICENSE +1 -1
- package/README.md +133 -22
- 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 +64 -55
- package/protobuf/go/faucet/faucet.pb.go +118 -193
- package/protobuf/go/faucet/faucet_grpc.pb.go +6 -6
- package/protobuf/ts/ecs-relay/ecs-relay.ts +14 -6
- package/protobuf/ts/faucet/faucet.ts +7 -63
|
@@ -82,10 +82,10 @@ type FaucetStore struct {
|
|
|
82
82
|
|
|
83
83
|
AddressToUsername map[string]string `protobuf:"bytes,1,rep,name=addressToUsername,proto3" json:"addressToUsername,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
84
84
|
UsernameToAddress map[string]string `protobuf:"bytes,2,rep,name=usernameToAddress,proto3" json:"usernameToAddress,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
85
|
-
//
|
|
85
|
+
// User id/name/address to timestamp of latest drip.
|
|
86
86
|
LatestDrip map[string]int64 `protobuf:"bytes,3,rep,name=latestDrip,proto3" json:"latestDrip,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
87
87
|
// Global drip counter.
|
|
88
|
-
TotalDripCount
|
|
88
|
+
TotalDripCount float64 `protobuf:"fixed64,4,opt,name=totalDripCount,proto3" json:"totalDripCount,omitempty"`
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
func (x *FaucetStore) Reset() {
|
|
@@ -141,14 +141,14 @@ func (x *FaucetStore) GetLatestDrip() map[string]int64 {
|
|
|
141
141
|
return nil
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
func (x *FaucetStore) GetTotalDripCount()
|
|
144
|
+
func (x *FaucetStore) GetTotalDripCount() float64 {
|
|
145
145
|
if x != nil {
|
|
146
146
|
return x.TotalDripCount
|
|
147
147
|
}
|
|
148
148
|
return 0
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
// Request for drip
|
|
151
|
+
// Request for drip.
|
|
152
152
|
type DripRequest struct {
|
|
153
153
|
state protoimpl.MessageState
|
|
154
154
|
sizeCache protoimpl.SizeCache
|
|
@@ -204,62 +204,6 @@ func (x *DripRequest) GetAddress() string {
|
|
|
204
204
|
return ""
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
// Request for initial drip via DripVerifyTweet RPC that requires verifying a tweet
|
|
208
|
-
type DripVerifyTweetRequest struct {
|
|
209
|
-
state protoimpl.MessageState
|
|
210
|
-
sizeCache protoimpl.SizeCache
|
|
211
|
-
unknownFields protoimpl.UnknownFields
|
|
212
|
-
|
|
213
|
-
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
214
|
-
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
func (x *DripVerifyTweetRequest) Reset() {
|
|
218
|
-
*x = DripVerifyTweetRequest{}
|
|
219
|
-
if protoimpl.UnsafeEnabled {
|
|
220
|
-
mi := &file_proto_faucet_proto_msgTypes[3]
|
|
221
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
222
|
-
ms.StoreMessageInfo(mi)
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
func (x *DripVerifyTweetRequest) String() string {
|
|
227
|
-
return protoimpl.X.MessageStringOf(x)
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
func (*DripVerifyTweetRequest) ProtoMessage() {}
|
|
231
|
-
|
|
232
|
-
func (x *DripVerifyTweetRequest) ProtoReflect() protoreflect.Message {
|
|
233
|
-
mi := &file_proto_faucet_proto_msgTypes[3]
|
|
234
|
-
if protoimpl.UnsafeEnabled && x != nil {
|
|
235
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
236
|
-
if ms.LoadMessageInfo() == nil {
|
|
237
|
-
ms.StoreMessageInfo(mi)
|
|
238
|
-
}
|
|
239
|
-
return ms
|
|
240
|
-
}
|
|
241
|
-
return mi.MessageOf(x)
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
// Deprecated: Use DripVerifyTweetRequest.ProtoReflect.Descriptor instead.
|
|
245
|
-
func (*DripVerifyTweetRequest) Descriptor() ([]byte, []int) {
|
|
246
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{3}
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
func (x *DripVerifyTweetRequest) GetUsername() string {
|
|
250
|
-
if x != nil {
|
|
251
|
-
return x.Username
|
|
252
|
-
}
|
|
253
|
-
return ""
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
func (x *DripVerifyTweetRequest) GetAddress() string {
|
|
257
|
-
if x != nil {
|
|
258
|
-
return x.Address
|
|
259
|
-
}
|
|
260
|
-
return ""
|
|
261
|
-
}
|
|
262
|
-
|
|
263
207
|
// Request for drip to any address when running in dev mode.
|
|
264
208
|
type DripDevRequest struct {
|
|
265
209
|
state protoimpl.MessageState
|
|
@@ -272,7 +216,7 @@ type DripDevRequest struct {
|
|
|
272
216
|
func (x *DripDevRequest) Reset() {
|
|
273
217
|
*x = DripDevRequest{}
|
|
274
218
|
if protoimpl.UnsafeEnabled {
|
|
275
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
219
|
+
mi := &file_proto_faucet_proto_msgTypes[3]
|
|
276
220
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
277
221
|
ms.StoreMessageInfo(mi)
|
|
278
222
|
}
|
|
@@ -285,7 +229,7 @@ func (x *DripDevRequest) String() string {
|
|
|
285
229
|
func (*DripDevRequest) ProtoMessage() {}
|
|
286
230
|
|
|
287
231
|
func (x *DripDevRequest) ProtoReflect() protoreflect.Message {
|
|
288
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
232
|
+
mi := &file_proto_faucet_proto_msgTypes[3]
|
|
289
233
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
290
234
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
291
235
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -298,7 +242,7 @@ func (x *DripDevRequest) ProtoReflect() protoreflect.Message {
|
|
|
298
242
|
|
|
299
243
|
// Deprecated: Use DripDevRequest.ProtoReflect.Descriptor instead.
|
|
300
244
|
func (*DripDevRequest) Descriptor() ([]byte, []int) {
|
|
301
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
245
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{3}
|
|
302
246
|
}
|
|
303
247
|
|
|
304
248
|
func (x *DripDevRequest) GetAddress() string {
|
|
@@ -321,7 +265,7 @@ type DripResponse struct {
|
|
|
321
265
|
func (x *DripResponse) Reset() {
|
|
322
266
|
*x = DripResponse{}
|
|
323
267
|
if protoimpl.UnsafeEnabled {
|
|
324
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
268
|
+
mi := &file_proto_faucet_proto_msgTypes[4]
|
|
325
269
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
326
270
|
ms.StoreMessageInfo(mi)
|
|
327
271
|
}
|
|
@@ -334,7 +278,7 @@ func (x *DripResponse) String() string {
|
|
|
334
278
|
func (*DripResponse) ProtoMessage() {}
|
|
335
279
|
|
|
336
280
|
func (x *DripResponse) ProtoReflect() protoreflect.Message {
|
|
337
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
281
|
+
mi := &file_proto_faucet_proto_msgTypes[4]
|
|
338
282
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
339
283
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
340
284
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -347,7 +291,7 @@ func (x *DripResponse) ProtoReflect() protoreflect.Message {
|
|
|
347
291
|
|
|
348
292
|
// Deprecated: Use DripResponse.ProtoReflect.Descriptor instead.
|
|
349
293
|
func (*DripResponse) Descriptor() ([]byte, []int) {
|
|
350
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
294
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{4}
|
|
351
295
|
}
|
|
352
296
|
|
|
353
297
|
func (x *DripResponse) GetDripTxHash() string {
|
|
@@ -377,7 +321,7 @@ type TimeUntilDripResponse struct {
|
|
|
377
321
|
func (x *TimeUntilDripResponse) Reset() {
|
|
378
322
|
*x = TimeUntilDripResponse{}
|
|
379
323
|
if protoimpl.UnsafeEnabled {
|
|
380
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
324
|
+
mi := &file_proto_faucet_proto_msgTypes[5]
|
|
381
325
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
382
326
|
ms.StoreMessageInfo(mi)
|
|
383
327
|
}
|
|
@@ -390,7 +334,7 @@ func (x *TimeUntilDripResponse) String() string {
|
|
|
390
334
|
func (*TimeUntilDripResponse) ProtoMessage() {}
|
|
391
335
|
|
|
392
336
|
func (x *TimeUntilDripResponse) ProtoReflect() protoreflect.Message {
|
|
393
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
337
|
+
mi := &file_proto_faucet_proto_msgTypes[5]
|
|
394
338
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
395
339
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
396
340
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -403,7 +347,7 @@ func (x *TimeUntilDripResponse) ProtoReflect() protoreflect.Message {
|
|
|
403
347
|
|
|
404
348
|
// Deprecated: Use TimeUntilDripResponse.ProtoReflect.Descriptor instead.
|
|
405
349
|
func (*TimeUntilDripResponse) Descriptor() ([]byte, []int) {
|
|
406
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
350
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{5}
|
|
407
351
|
}
|
|
408
352
|
|
|
409
353
|
func (x *TimeUntilDripResponse) GetTimeUntilDripMinutes() float64 {
|
|
@@ -429,7 +373,7 @@ type GetLinkedTwittersRequest struct {
|
|
|
429
373
|
func (x *GetLinkedTwittersRequest) Reset() {
|
|
430
374
|
*x = GetLinkedTwittersRequest{}
|
|
431
375
|
if protoimpl.UnsafeEnabled {
|
|
432
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
376
|
+
mi := &file_proto_faucet_proto_msgTypes[6]
|
|
433
377
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
434
378
|
ms.StoreMessageInfo(mi)
|
|
435
379
|
}
|
|
@@ -442,7 +386,7 @@ func (x *GetLinkedTwittersRequest) String() string {
|
|
|
442
386
|
func (*GetLinkedTwittersRequest) ProtoMessage() {}
|
|
443
387
|
|
|
444
388
|
func (x *GetLinkedTwittersRequest) ProtoReflect() protoreflect.Message {
|
|
445
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
389
|
+
mi := &file_proto_faucet_proto_msgTypes[6]
|
|
446
390
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
447
391
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
448
392
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -455,7 +399,7 @@ func (x *GetLinkedTwittersRequest) ProtoReflect() protoreflect.Message {
|
|
|
455
399
|
|
|
456
400
|
// Deprecated: Use GetLinkedTwittersRequest.ProtoReflect.Descriptor instead.
|
|
457
401
|
func (*GetLinkedTwittersRequest) Descriptor() ([]byte, []int) {
|
|
458
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
402
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{6}
|
|
459
403
|
}
|
|
460
404
|
|
|
461
405
|
type GetLinkedTwittersResponse struct {
|
|
@@ -469,7 +413,7 @@ type GetLinkedTwittersResponse struct {
|
|
|
469
413
|
func (x *GetLinkedTwittersResponse) Reset() {
|
|
470
414
|
*x = GetLinkedTwittersResponse{}
|
|
471
415
|
if protoimpl.UnsafeEnabled {
|
|
472
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
416
|
+
mi := &file_proto_faucet_proto_msgTypes[7]
|
|
473
417
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
474
418
|
ms.StoreMessageInfo(mi)
|
|
475
419
|
}
|
|
@@ -482,7 +426,7 @@ func (x *GetLinkedTwittersResponse) String() string {
|
|
|
482
426
|
func (*GetLinkedTwittersResponse) ProtoMessage() {}
|
|
483
427
|
|
|
484
428
|
func (x *GetLinkedTwittersResponse) ProtoReflect() protoreflect.Message {
|
|
485
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
429
|
+
mi := &file_proto_faucet_proto_msgTypes[7]
|
|
486
430
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
487
431
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
488
432
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -495,7 +439,7 @@ func (x *GetLinkedTwittersResponse) ProtoReflect() protoreflect.Message {
|
|
|
495
439
|
|
|
496
440
|
// Deprecated: Use GetLinkedTwittersResponse.ProtoReflect.Descriptor instead.
|
|
497
441
|
func (*GetLinkedTwittersResponse) Descriptor() ([]byte, []int) {
|
|
498
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
442
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{7}
|
|
499
443
|
}
|
|
500
444
|
|
|
501
445
|
func (x *GetLinkedTwittersResponse) GetLinkedTwitters() []*LinkedTwitterPair {
|
|
@@ -516,7 +460,7 @@ type LinkedTwitterForAddressRequest struct {
|
|
|
516
460
|
func (x *LinkedTwitterForAddressRequest) Reset() {
|
|
517
461
|
*x = LinkedTwitterForAddressRequest{}
|
|
518
462
|
if protoimpl.UnsafeEnabled {
|
|
519
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
463
|
+
mi := &file_proto_faucet_proto_msgTypes[8]
|
|
520
464
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
521
465
|
ms.StoreMessageInfo(mi)
|
|
522
466
|
}
|
|
@@ -529,7 +473,7 @@ func (x *LinkedTwitterForAddressRequest) String() string {
|
|
|
529
473
|
func (*LinkedTwitterForAddressRequest) ProtoMessage() {}
|
|
530
474
|
|
|
531
475
|
func (x *LinkedTwitterForAddressRequest) ProtoReflect() protoreflect.Message {
|
|
532
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
476
|
+
mi := &file_proto_faucet_proto_msgTypes[8]
|
|
533
477
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
534
478
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
535
479
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -542,7 +486,7 @@ func (x *LinkedTwitterForAddressRequest) ProtoReflect() protoreflect.Message {
|
|
|
542
486
|
|
|
543
487
|
// Deprecated: Use LinkedTwitterForAddressRequest.ProtoReflect.Descriptor instead.
|
|
544
488
|
func (*LinkedTwitterForAddressRequest) Descriptor() ([]byte, []int) {
|
|
545
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
489
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{8}
|
|
546
490
|
}
|
|
547
491
|
|
|
548
492
|
func (x *LinkedTwitterForAddressRequest) GetAddress() string {
|
|
@@ -563,7 +507,7 @@ type LinkedTwitterForAddressResponse struct {
|
|
|
563
507
|
func (x *LinkedTwitterForAddressResponse) Reset() {
|
|
564
508
|
*x = LinkedTwitterForAddressResponse{}
|
|
565
509
|
if protoimpl.UnsafeEnabled {
|
|
566
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
510
|
+
mi := &file_proto_faucet_proto_msgTypes[9]
|
|
567
511
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
568
512
|
ms.StoreMessageInfo(mi)
|
|
569
513
|
}
|
|
@@ -576,7 +520,7 @@ func (x *LinkedTwitterForAddressResponse) String() string {
|
|
|
576
520
|
func (*LinkedTwitterForAddressResponse) ProtoMessage() {}
|
|
577
521
|
|
|
578
522
|
func (x *LinkedTwitterForAddressResponse) ProtoReflect() protoreflect.Message {
|
|
579
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
523
|
+
mi := &file_proto_faucet_proto_msgTypes[9]
|
|
580
524
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
581
525
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
582
526
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -589,7 +533,7 @@ func (x *LinkedTwitterForAddressResponse) ProtoReflect() protoreflect.Message {
|
|
|
589
533
|
|
|
590
534
|
// Deprecated: Use LinkedTwitterForAddressResponse.ProtoReflect.Descriptor instead.
|
|
591
535
|
func (*LinkedTwitterForAddressResponse) Descriptor() ([]byte, []int) {
|
|
592
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
536
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{9}
|
|
593
537
|
}
|
|
594
538
|
|
|
595
539
|
func (x *LinkedTwitterForAddressResponse) GetUsername() string {
|
|
@@ -610,7 +554,7 @@ type LinkedAddressForTwitterRequest struct {
|
|
|
610
554
|
func (x *LinkedAddressForTwitterRequest) Reset() {
|
|
611
555
|
*x = LinkedAddressForTwitterRequest{}
|
|
612
556
|
if protoimpl.UnsafeEnabled {
|
|
613
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
557
|
+
mi := &file_proto_faucet_proto_msgTypes[10]
|
|
614
558
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
615
559
|
ms.StoreMessageInfo(mi)
|
|
616
560
|
}
|
|
@@ -623,7 +567,7 @@ func (x *LinkedAddressForTwitterRequest) String() string {
|
|
|
623
567
|
func (*LinkedAddressForTwitterRequest) ProtoMessage() {}
|
|
624
568
|
|
|
625
569
|
func (x *LinkedAddressForTwitterRequest) ProtoReflect() protoreflect.Message {
|
|
626
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
570
|
+
mi := &file_proto_faucet_proto_msgTypes[10]
|
|
627
571
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
628
572
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
629
573
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -636,7 +580,7 @@ func (x *LinkedAddressForTwitterRequest) ProtoReflect() protoreflect.Message {
|
|
|
636
580
|
|
|
637
581
|
// Deprecated: Use LinkedAddressForTwitterRequest.ProtoReflect.Descriptor instead.
|
|
638
582
|
func (*LinkedAddressForTwitterRequest) Descriptor() ([]byte, []int) {
|
|
639
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
583
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{10}
|
|
640
584
|
}
|
|
641
585
|
|
|
642
586
|
func (x *LinkedAddressForTwitterRequest) GetUsername() string {
|
|
@@ -657,7 +601,7 @@ type LinkedAddressForTwitterResponse struct {
|
|
|
657
601
|
func (x *LinkedAddressForTwitterResponse) Reset() {
|
|
658
602
|
*x = LinkedAddressForTwitterResponse{}
|
|
659
603
|
if protoimpl.UnsafeEnabled {
|
|
660
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
604
|
+
mi := &file_proto_faucet_proto_msgTypes[11]
|
|
661
605
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
662
606
|
ms.StoreMessageInfo(mi)
|
|
663
607
|
}
|
|
@@ -670,7 +614,7 @@ func (x *LinkedAddressForTwitterResponse) String() string {
|
|
|
670
614
|
func (*LinkedAddressForTwitterResponse) ProtoMessage() {}
|
|
671
615
|
|
|
672
616
|
func (x *LinkedAddressForTwitterResponse) ProtoReflect() protoreflect.Message {
|
|
673
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
617
|
+
mi := &file_proto_faucet_proto_msgTypes[11]
|
|
674
618
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
675
619
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
676
620
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -683,7 +627,7 @@ func (x *LinkedAddressForTwitterResponse) ProtoReflect() protoreflect.Message {
|
|
|
683
627
|
|
|
684
628
|
// Deprecated: Use LinkedAddressForTwitterResponse.ProtoReflect.Descriptor instead.
|
|
685
629
|
func (*LinkedAddressForTwitterResponse) Descriptor() ([]byte, []int) {
|
|
686
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
630
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{11}
|
|
687
631
|
}
|
|
688
632
|
|
|
689
633
|
func (x *LinkedAddressForTwitterResponse) GetAddress() string {
|
|
@@ -706,7 +650,7 @@ type SetLinkedTwitterRequest struct {
|
|
|
706
650
|
func (x *SetLinkedTwitterRequest) Reset() {
|
|
707
651
|
*x = SetLinkedTwitterRequest{}
|
|
708
652
|
if protoimpl.UnsafeEnabled {
|
|
709
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
653
|
+
mi := &file_proto_faucet_proto_msgTypes[12]
|
|
710
654
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
711
655
|
ms.StoreMessageInfo(mi)
|
|
712
656
|
}
|
|
@@ -719,7 +663,7 @@ func (x *SetLinkedTwitterRequest) String() string {
|
|
|
719
663
|
func (*SetLinkedTwitterRequest) ProtoMessage() {}
|
|
720
664
|
|
|
721
665
|
func (x *SetLinkedTwitterRequest) ProtoReflect() protoreflect.Message {
|
|
722
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
666
|
+
mi := &file_proto_faucet_proto_msgTypes[12]
|
|
723
667
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
724
668
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
725
669
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -732,7 +676,7 @@ func (x *SetLinkedTwitterRequest) ProtoReflect() protoreflect.Message {
|
|
|
732
676
|
|
|
733
677
|
// Deprecated: Use SetLinkedTwitterRequest.ProtoReflect.Descriptor instead.
|
|
734
678
|
func (*SetLinkedTwitterRequest) Descriptor() ([]byte, []int) {
|
|
735
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
679
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{12}
|
|
736
680
|
}
|
|
737
681
|
|
|
738
682
|
func (x *SetLinkedTwitterRequest) GetAddress() string {
|
|
@@ -765,7 +709,7 @@ type SetLinkedTwitterResponse struct {
|
|
|
765
709
|
func (x *SetLinkedTwitterResponse) Reset() {
|
|
766
710
|
*x = SetLinkedTwitterResponse{}
|
|
767
711
|
if protoimpl.UnsafeEnabled {
|
|
768
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
712
|
+
mi := &file_proto_faucet_proto_msgTypes[13]
|
|
769
713
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
770
714
|
ms.StoreMessageInfo(mi)
|
|
771
715
|
}
|
|
@@ -778,7 +722,7 @@ func (x *SetLinkedTwitterResponse) String() string {
|
|
|
778
722
|
func (*SetLinkedTwitterResponse) ProtoMessage() {}
|
|
779
723
|
|
|
780
724
|
func (x *SetLinkedTwitterResponse) ProtoReflect() protoreflect.Message {
|
|
781
|
-
mi := &file_proto_faucet_proto_msgTypes[
|
|
725
|
+
mi := &file_proto_faucet_proto_msgTypes[13]
|
|
782
726
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
783
727
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
784
728
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -791,7 +735,7 @@ func (x *SetLinkedTwitterResponse) ProtoReflect() protoreflect.Message {
|
|
|
791
735
|
|
|
792
736
|
// Deprecated: Use SetLinkedTwitterResponse.ProtoReflect.Descriptor instead.
|
|
793
737
|
func (*SetLinkedTwitterResponse) Descriptor() ([]byte, []int) {
|
|
794
|
-
return file_proto_faucet_proto_rawDescGZIP(), []int{
|
|
738
|
+
return file_proto_faucet_proto_rawDescGZIP(), []int{13}
|
|
795
739
|
}
|
|
796
740
|
|
|
797
741
|
var File_proto_faucet_proto protoreflect.FileDescriptor
|
|
@@ -821,7 +765,7 @@ var file_proto_faucet_proto_rawDesc = []byte{
|
|
|
821
765
|
0x74, 0x6f, 0x72, 0x65, 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x44, 0x72, 0x69, 0x70, 0x45,
|
|
822
766
|
0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x44, 0x72, 0x69, 0x70,
|
|
823
767
|
0x12, 0x26, 0x0a, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x43, 0x6f, 0x75,
|
|
824
|
-
0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
768
|
+
0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x44,
|
|
825
769
|
0x72, 0x69, 0x70, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x44, 0x0a, 0x16, 0x41, 0x64, 0x64, 0x72,
|
|
826
770
|
0x65, 0x73, 0x73, 0x54, 0x6f, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x45, 0x6e, 0x74,
|
|
827
771
|
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
@@ -839,11 +783,6 @@ var file_proto_faucet_proto_rawDesc = []byte{
|
|
|
839
783
|
0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
|
|
840
784
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18,
|
|
841
785
|
0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
842
|
-
0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x4e, 0x0a, 0x16, 0x44, 0x72, 0x69, 0x70,
|
|
843
|
-
0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x54, 0x77, 0x65, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
844
|
-
0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
|
|
845
|
-
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18,
|
|
846
|
-
0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
847
786
|
0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x2a, 0x0a, 0x0e, 0x44, 0x72, 0x69, 0x70,
|
|
848
787
|
0x44, 0x65, 0x76, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64,
|
|
849
788
|
0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64,
|
|
@@ -892,7 +831,7 @@ var file_proto_faucet_proto_rawDesc = []byte{
|
|
|
892
831
|
0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61,
|
|
893
832
|
0x74, 0x75, 0x72, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65,
|
|
894
833
|
0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
895
|
-
0x32,
|
|
834
|
+
0x32, 0x9d, 0x05, 0x0a, 0x0d, 0x46, 0x61, 0x75, 0x63, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69,
|
|
896
835
|
0x63, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x44, 0x72, 0x69, 0x70, 0x12, 0x13, 0x2e, 0x66, 0x61, 0x75,
|
|
897
836
|
0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
898
837
|
0x14, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73,
|
|
@@ -900,43 +839,42 @@ var file_proto_faucet_proto_rawDesc = []byte{
|
|
|
900
839
|
0x65, 0x76, 0x12, 0x16, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70,
|
|
901
840
|
0x44, 0x65, 0x76, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x66, 0x61, 0x75,
|
|
902
841
|
0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
903
|
-
0x22, 0x00, 0x12,
|
|
904
|
-
0x54, 0x77, 0x65, 0x65, 0x74, 0x12,
|
|
905
|
-
0x72, 0x69, 0x70,
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
0x65,
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
842
|
+
0x22, 0x00, 0x12, 0x3e, 0x0a, 0x0f, 0x44, 0x72, 0x69, 0x70, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79,
|
|
843
|
+
0x54, 0x77, 0x65, 0x65, 0x74, 0x12, 0x13, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44,
|
|
844
|
+
0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x66, 0x61, 0x75,
|
|
845
|
+
0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
846
|
+
0x22, 0x00, 0x12, 0x45, 0x0a, 0x0d, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44,
|
|
847
|
+
0x72, 0x69, 0x70, 0x12, 0x13, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69,
|
|
848
|
+
0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65,
|
|
849
|
+
0x74, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x52,
|
|
850
|
+
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x47, 0x65, 0x74,
|
|
851
|
+
0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x12, 0x20,
|
|
852
|
+
0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65,
|
|
853
|
+
0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
854
|
+
0x1a, 0x21, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e,
|
|
855
|
+
0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
856
|
+
0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b,
|
|
857
|
+
0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72,
|
|
858
|
+
0x65, 0x73, 0x73, 0x12, 0x26, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69, 0x6e,
|
|
859
|
+
0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64,
|
|
860
|
+
0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x66, 0x61,
|
|
861
|
+
0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74,
|
|
862
|
+
0x65, 0x72, 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70,
|
|
863
|
+
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e,
|
|
864
|
+
0x6b, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77, 0x69,
|
|
865
|
+
0x74, 0x74, 0x65, 0x72, 0x12, 0x26, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69,
|
|
866
|
+
0x6e, 0x6b, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77,
|
|
867
|
+
0x69, 0x74, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x66,
|
|
868
|
+
0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72,
|
|
869
|
+
0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73,
|
|
870
|
+
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x4c, 0x69,
|
|
871
|
+
0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x66, 0x61,
|
|
872
|
+
0x75, 0x63, 0x65, 0x74, 0x2e, 0x53, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77,
|
|
873
|
+
0x69, 0x74, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x66,
|
|
874
|
+
0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x53, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54,
|
|
875
|
+
0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
|
|
876
|
+
0x42, 0x14, 0x5a, 0x12, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f,
|
|
877
|
+
0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
940
878
|
}
|
|
941
879
|
|
|
942
880
|
var (
|
|
@@ -951,48 +889,47 @@ func file_proto_faucet_proto_rawDescGZIP() []byte {
|
|
|
951
889
|
return file_proto_faucet_proto_rawDescData
|
|
952
890
|
}
|
|
953
891
|
|
|
954
|
-
var file_proto_faucet_proto_msgTypes = make([]protoimpl.MessageInfo,
|
|
892
|
+
var file_proto_faucet_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
|
|
955
893
|
var file_proto_faucet_proto_goTypes = []interface{}{
|
|
956
894
|
(*LinkedTwitterPair)(nil), // 0: faucet.LinkedTwitterPair
|
|
957
895
|
(*FaucetStore)(nil), // 1: faucet.FaucetStore
|
|
958
896
|
(*DripRequest)(nil), // 2: faucet.DripRequest
|
|
959
|
-
(*
|
|
960
|
-
(*
|
|
961
|
-
(*
|
|
962
|
-
(*
|
|
963
|
-
(*
|
|
964
|
-
(*
|
|
965
|
-
(*
|
|
966
|
-
(*
|
|
967
|
-
(*
|
|
968
|
-
(*
|
|
969
|
-
(*
|
|
970
|
-
|
|
971
|
-
nil, // 15: faucet.FaucetStore.
|
|
972
|
-
nil, // 16: faucet.FaucetStore.
|
|
973
|
-
nil, // 17: faucet.FaucetStore.LatestDripEntry
|
|
897
|
+
(*DripDevRequest)(nil), // 3: faucet.DripDevRequest
|
|
898
|
+
(*DripResponse)(nil), // 4: faucet.DripResponse
|
|
899
|
+
(*TimeUntilDripResponse)(nil), // 5: faucet.TimeUntilDripResponse
|
|
900
|
+
(*GetLinkedTwittersRequest)(nil), // 6: faucet.GetLinkedTwittersRequest
|
|
901
|
+
(*GetLinkedTwittersResponse)(nil), // 7: faucet.GetLinkedTwittersResponse
|
|
902
|
+
(*LinkedTwitterForAddressRequest)(nil), // 8: faucet.LinkedTwitterForAddressRequest
|
|
903
|
+
(*LinkedTwitterForAddressResponse)(nil), // 9: faucet.LinkedTwitterForAddressResponse
|
|
904
|
+
(*LinkedAddressForTwitterRequest)(nil), // 10: faucet.LinkedAddressForTwitterRequest
|
|
905
|
+
(*LinkedAddressForTwitterResponse)(nil), // 11: faucet.LinkedAddressForTwitterResponse
|
|
906
|
+
(*SetLinkedTwitterRequest)(nil), // 12: faucet.SetLinkedTwitterRequest
|
|
907
|
+
(*SetLinkedTwitterResponse)(nil), // 13: faucet.SetLinkedTwitterResponse
|
|
908
|
+
nil, // 14: faucet.FaucetStore.AddressToUsernameEntry
|
|
909
|
+
nil, // 15: faucet.FaucetStore.UsernameToAddressEntry
|
|
910
|
+
nil, // 16: faucet.FaucetStore.LatestDripEntry
|
|
974
911
|
}
|
|
975
912
|
var file_proto_faucet_proto_depIdxs = []int32{
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
913
|
+
14, // 0: faucet.FaucetStore.addressToUsername:type_name -> faucet.FaucetStore.AddressToUsernameEntry
|
|
914
|
+
15, // 1: faucet.FaucetStore.usernameToAddress:type_name -> faucet.FaucetStore.UsernameToAddressEntry
|
|
915
|
+
16, // 2: faucet.FaucetStore.latestDrip:type_name -> faucet.FaucetStore.LatestDripEntry
|
|
979
916
|
0, // 3: faucet.GetLinkedTwittersResponse.linkedTwitters:type_name -> faucet.LinkedTwitterPair
|
|
980
917
|
2, // 4: faucet.FaucetService.Drip:input_type -> faucet.DripRequest
|
|
981
|
-
|
|
982
|
-
|
|
918
|
+
3, // 5: faucet.FaucetService.DripDev:input_type -> faucet.DripDevRequest
|
|
919
|
+
2, // 6: faucet.FaucetService.DripVerifyTweet:input_type -> faucet.DripRequest
|
|
983
920
|
2, // 7: faucet.FaucetService.TimeUntilDrip:input_type -> faucet.DripRequest
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
921
|
+
6, // 8: faucet.FaucetService.GetLinkedTwitters:input_type -> faucet.GetLinkedTwittersRequest
|
|
922
|
+
8, // 9: faucet.FaucetService.GetLinkedTwitterForAddress:input_type -> faucet.LinkedTwitterForAddressRequest
|
|
923
|
+
10, // 10: faucet.FaucetService.GetLinkedAddressForTwitter:input_type -> faucet.LinkedAddressForTwitterRequest
|
|
924
|
+
12, // 11: faucet.FaucetService.SetLinkedTwitter:input_type -> faucet.SetLinkedTwitterRequest
|
|
925
|
+
4, // 12: faucet.FaucetService.Drip:output_type -> faucet.DripResponse
|
|
926
|
+
4, // 13: faucet.FaucetService.DripDev:output_type -> faucet.DripResponse
|
|
927
|
+
4, // 14: faucet.FaucetService.DripVerifyTweet:output_type -> faucet.DripResponse
|
|
928
|
+
5, // 15: faucet.FaucetService.TimeUntilDrip:output_type -> faucet.TimeUntilDripResponse
|
|
929
|
+
7, // 16: faucet.FaucetService.GetLinkedTwitters:output_type -> faucet.GetLinkedTwittersResponse
|
|
930
|
+
9, // 17: faucet.FaucetService.GetLinkedTwitterForAddress:output_type -> faucet.LinkedTwitterForAddressResponse
|
|
931
|
+
11, // 18: faucet.FaucetService.GetLinkedAddressForTwitter:output_type -> faucet.LinkedAddressForTwitterResponse
|
|
932
|
+
13, // 19: faucet.FaucetService.SetLinkedTwitter:output_type -> faucet.SetLinkedTwitterResponse
|
|
996
933
|
12, // [12:20] is the sub-list for method output_type
|
|
997
934
|
4, // [4:12] is the sub-list for method input_type
|
|
998
935
|
4, // [4:4] is the sub-list for extension type_name
|
|
@@ -1043,18 +980,6 @@ func file_proto_faucet_proto_init() {
|
|
|
1043
980
|
}
|
|
1044
981
|
}
|
|
1045
982
|
file_proto_faucet_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
1046
|
-
switch v := v.(*DripVerifyTweetRequest); i {
|
|
1047
|
-
case 0:
|
|
1048
|
-
return &v.state
|
|
1049
|
-
case 1:
|
|
1050
|
-
return &v.sizeCache
|
|
1051
|
-
case 2:
|
|
1052
|
-
return &v.unknownFields
|
|
1053
|
-
default:
|
|
1054
|
-
return nil
|
|
1055
|
-
}
|
|
1056
|
-
}
|
|
1057
|
-
file_proto_faucet_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
1058
983
|
switch v := v.(*DripDevRequest); i {
|
|
1059
984
|
case 0:
|
|
1060
985
|
return &v.state
|
|
@@ -1066,7 +991,7 @@ func file_proto_faucet_proto_init() {
|
|
|
1066
991
|
return nil
|
|
1067
992
|
}
|
|
1068
993
|
}
|
|
1069
|
-
file_proto_faucet_proto_msgTypes[
|
|
994
|
+
file_proto_faucet_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
1070
995
|
switch v := v.(*DripResponse); i {
|
|
1071
996
|
case 0:
|
|
1072
997
|
return &v.state
|
|
@@ -1078,7 +1003,7 @@ func file_proto_faucet_proto_init() {
|
|
|
1078
1003
|
return nil
|
|
1079
1004
|
}
|
|
1080
1005
|
}
|
|
1081
|
-
file_proto_faucet_proto_msgTypes[
|
|
1006
|
+
file_proto_faucet_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
1082
1007
|
switch v := v.(*TimeUntilDripResponse); i {
|
|
1083
1008
|
case 0:
|
|
1084
1009
|
return &v.state
|
|
@@ -1090,7 +1015,7 @@ func file_proto_faucet_proto_init() {
|
|
|
1090
1015
|
return nil
|
|
1091
1016
|
}
|
|
1092
1017
|
}
|
|
1093
|
-
file_proto_faucet_proto_msgTypes[
|
|
1018
|
+
file_proto_faucet_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
1094
1019
|
switch v := v.(*GetLinkedTwittersRequest); i {
|
|
1095
1020
|
case 0:
|
|
1096
1021
|
return &v.state
|
|
@@ -1102,7 +1027,7 @@ func file_proto_faucet_proto_init() {
|
|
|
1102
1027
|
return nil
|
|
1103
1028
|
}
|
|
1104
1029
|
}
|
|
1105
|
-
file_proto_faucet_proto_msgTypes[
|
|
1030
|
+
file_proto_faucet_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
1106
1031
|
switch v := v.(*GetLinkedTwittersResponse); i {
|
|
1107
1032
|
case 0:
|
|
1108
1033
|
return &v.state
|
|
@@ -1114,7 +1039,7 @@ func file_proto_faucet_proto_init() {
|
|
|
1114
1039
|
return nil
|
|
1115
1040
|
}
|
|
1116
1041
|
}
|
|
1117
|
-
file_proto_faucet_proto_msgTypes[
|
|
1042
|
+
file_proto_faucet_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
1118
1043
|
switch v := v.(*LinkedTwitterForAddressRequest); i {
|
|
1119
1044
|
case 0:
|
|
1120
1045
|
return &v.state
|
|
@@ -1126,7 +1051,7 @@ func file_proto_faucet_proto_init() {
|
|
|
1126
1051
|
return nil
|
|
1127
1052
|
}
|
|
1128
1053
|
}
|
|
1129
|
-
file_proto_faucet_proto_msgTypes[
|
|
1054
|
+
file_proto_faucet_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
1130
1055
|
switch v := v.(*LinkedTwitterForAddressResponse); i {
|
|
1131
1056
|
case 0:
|
|
1132
1057
|
return &v.state
|
|
@@ -1138,7 +1063,7 @@ func file_proto_faucet_proto_init() {
|
|
|
1138
1063
|
return nil
|
|
1139
1064
|
}
|
|
1140
1065
|
}
|
|
1141
|
-
file_proto_faucet_proto_msgTypes[
|
|
1066
|
+
file_proto_faucet_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
1142
1067
|
switch v := v.(*LinkedAddressForTwitterRequest); i {
|
|
1143
1068
|
case 0:
|
|
1144
1069
|
return &v.state
|
|
@@ -1150,7 +1075,7 @@ func file_proto_faucet_proto_init() {
|
|
|
1150
1075
|
return nil
|
|
1151
1076
|
}
|
|
1152
1077
|
}
|
|
1153
|
-
file_proto_faucet_proto_msgTypes[
|
|
1078
|
+
file_proto_faucet_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
1154
1079
|
switch v := v.(*LinkedAddressForTwitterResponse); i {
|
|
1155
1080
|
case 0:
|
|
1156
1081
|
return &v.state
|
|
@@ -1162,7 +1087,7 @@ func file_proto_faucet_proto_init() {
|
|
|
1162
1087
|
return nil
|
|
1163
1088
|
}
|
|
1164
1089
|
}
|
|
1165
|
-
file_proto_faucet_proto_msgTypes[
|
|
1090
|
+
file_proto_faucet_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
1166
1091
|
switch v := v.(*SetLinkedTwitterRequest); i {
|
|
1167
1092
|
case 0:
|
|
1168
1093
|
return &v.state
|
|
@@ -1174,7 +1099,7 @@ func file_proto_faucet_proto_init() {
|
|
|
1174
1099
|
return nil
|
|
1175
1100
|
}
|
|
1176
1101
|
}
|
|
1177
|
-
file_proto_faucet_proto_msgTypes[
|
|
1102
|
+
file_proto_faucet_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
1178
1103
|
switch v := v.(*SetLinkedTwitterResponse); i {
|
|
1179
1104
|
case 0:
|
|
1180
1105
|
return &v.state
|
|
@@ -1193,7 +1118,7 @@ func file_proto_faucet_proto_init() {
|
|
|
1193
1118
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
1194
1119
|
RawDescriptor: file_proto_faucet_proto_rawDesc,
|
|
1195
1120
|
NumEnums: 0,
|
|
1196
|
-
NumMessages:
|
|
1121
|
+
NumMessages: 17,
|
|
1197
1122
|
NumExtensions: 0,
|
|
1198
1123
|
NumServices: 1,
|
|
1199
1124
|
},
|