5
0
Fork 0

Changed protobuf's package

master
UnicodingUnicorn 2019-06-23 08:35:57 +08:00
parent 42f41d05c6
commit a36ddf9a81
12 changed files with 73 additions and 74 deletions

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package main;
package protobuf;
import "client.proto";

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package main;
package protobuf;
message Client {
string key = 1;

View File

@ -1,9 +1,9 @@
syntax = "proto3";
package main;
package protobuf;
message DataRequest {
string key = 1;
uint64 start = 2;
string type = 3;
}

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: bite.proto
package main
package protobuf
import (
fmt "fmt"
@ -84,20 +84,20 @@ func (m *Bite) GetClient() *Client {
}
func init() {
proto.RegisterType((*Bite)(nil), "main.Bite")
proto.RegisterType((*Bite)(nil), "protobuf.Bite")
}
func init() { proto.RegisterFile("bite.proto", fileDescriptor_e1ec993646b17549) }
var fileDescriptor_e1ec993646b17549 = []byte{
// 139 bytes of a gzipped FileDescriptorProto
// 140 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4a, 0xca, 0x2c, 0x49,
0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0xc9, 0x4d, 0xcc, 0xcc, 0x93, 0xe2, 0x49, 0xce,
0xc9, 0x4c, 0xcd, 0x2b, 0x81, 0x88, 0x29, 0x65, 0x70, 0xb1, 0x38, 0x65, 0x96, 0xa4, 0x0a, 0x09,
0x70, 0x31, 0x67, 0xa7, 0x56, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, 0x81, 0x98, 0x42, 0x22,
0x5c, 0xac, 0xc5, 0x25, 0x89, 0x45, 0x25, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0x2c, 0x41, 0x10, 0x8e,
0x90, 0x10, 0x17, 0x4b, 0x4a, 0x62, 0x49, 0xa2, 0x04, 0xb3, 0x02, 0xa3, 0x06, 0x4f, 0x10, 0x98,
0x2d, 0xa4, 0xc2, 0xc5, 0x06, 0x31, 0x53, 0x82, 0x45, 0x81, 0x51, 0x83, 0xdb, 0x88, 0x47, 0x0f,
0x64, 0x91, 0x9e, 0x33, 0x58, 0x2c, 0x08, 0x2a, 0x97, 0xc4, 0x06, 0xb6, 0xd0, 0x18, 0x10, 0x00,
0x00, 0xff, 0xff, 0x0a, 0x85, 0x92, 0x1b, 0x92, 0x00, 0x00, 0x00,
0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0x49, 0xa5, 0x69, 0x52, 0x3c, 0xc9,
0x39, 0x99, 0xa9, 0x79, 0x25, 0x10, 0x71, 0xa5, 0x1c, 0x2e, 0x16, 0xa7, 0xcc, 0x92, 0x54, 0x21,
0x01, 0x2e, 0xe6, 0xec, 0xd4, 0x4a, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x10, 0x53, 0x48,
0x84, 0x8b, 0xb5, 0xb8, 0x24, 0xb1, 0xa8, 0x44, 0x82, 0x49, 0x81, 0x51, 0x83, 0x25, 0x08, 0xc2,
0x11, 0x12, 0xe2, 0x62, 0x49, 0x49, 0x2c, 0x49, 0x94, 0x60, 0x56, 0x60, 0xd4, 0xe0, 0x09, 0x02,
0xb3, 0x85, 0x34, 0xb8, 0xd8, 0x20, 0x66, 0x4a, 0xb0, 0x28, 0x30, 0x6a, 0x70, 0x1b, 0x09, 0xe8,
0xc1, 0x2c, 0xd3, 0x73, 0x06, 0x8b, 0x07, 0x41, 0xe5, 0x93, 0xd8, 0xc0, 0x12, 0xc6, 0x80, 0x00,
0x00, 0x00, 0xff, 0xff, 0xbc, 0x7c, 0x92, 0x2c, 0x9a, 0x00, 0x00, 0x00,
}

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: client.proto
package main
package protobuf
import (
fmt "fmt"
@ -68,17 +68,17 @@ func (m *Client) GetClient() string {
}
func init() {
proto.RegisterType((*Client)(nil), "main.Client")
proto.RegisterType((*Client)(nil), "protobuf.Client")
}
func init() { proto.RegisterFile("client.proto", fileDescriptor_014de31d7ac8c57c) }
var fileDescriptor_014de31d7ac8c57c = []byte{
// 83 bytes of a gzipped FileDescriptorProto
// 84 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x49, 0xce, 0xc9, 0x4c,
0xcd, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0xc9, 0x4d, 0xcc, 0xcc, 0x53, 0x32,
0xe2, 0x62, 0x73, 0x06, 0x8b, 0x0a, 0x09, 0x70, 0x31, 0x67, 0xa7, 0x56, 0x4a, 0x30, 0x2a, 0x30,
0x6a, 0x70, 0x06, 0x81, 0x98, 0x42, 0x62, 0x5c, 0x6c, 0x10, 0x1d, 0x12, 0x4c, 0x60, 0x41, 0x28,
0x2f, 0x89, 0x0d, 0x6c, 0x80, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x95, 0x71, 0x3f, 0xbd, 0x50,
0x00, 0x00, 0x00,
0xcd, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0x49, 0xa5, 0x69, 0x4a,
0x46, 0x5c, 0x6c, 0xce, 0x60, 0x19, 0x21, 0x01, 0x2e, 0xe6, 0xec, 0xd4, 0x4a, 0x09, 0x46, 0x05,
0x46, 0x0d, 0xce, 0x20, 0x10, 0x53, 0x48, 0x8c, 0x8b, 0x0d, 0xa2, 0x4b, 0x82, 0x09, 0x2c, 0x08,
0xe5, 0x25, 0xb1, 0x81, 0x75, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x70, 0xe1, 0x09, 0xcb,
0x54, 0x00, 0x00, 0x00,
}

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: store/data_request.proto
// source: data_request.proto
package main
package protobuf
import (
fmt "fmt"
@ -33,7 +33,7 @@ func (m *DataRequest) Reset() { *m = DataRequest{} }
func (m *DataRequest) String() string { return proto.CompactTextString(m) }
func (*DataRequest) ProtoMessage() {}
func (*DataRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_1c7f2c7bfa43f02c, []int{0}
return fileDescriptor_bc63a83ce2254c8c, []int{0}
}
func (m *DataRequest) XXX_Unmarshal(b []byte) error {
@ -76,19 +76,19 @@ func (m *DataRequest) GetType() string {
}
func init() {
proto.RegisterType((*DataRequest)(nil), "main.DataRequest")
proto.RegisterType((*DataRequest)(nil), "protobuf.DataRequest")
}
func init() { proto.RegisterFile("store/data_request.proto", fileDescriptor_1c7f2c7bfa43f02c) }
func init() { proto.RegisterFile("data_request.proto", fileDescriptor_bc63a83ce2254c8c) }
var fileDescriptor_1c7f2c7bfa43f02c = []byte{
// 119 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x28, 0x2e, 0xc9, 0x2f,
0x4a, 0xd5, 0x4f, 0x49, 0x2c, 0x49, 0x8c, 0x2f, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0xd1, 0x2b,
0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0xc9, 0x4d, 0xcc, 0xcc, 0x53, 0xf2, 0xe4, 0xe2, 0x76, 0x49,
0x2c, 0x49, 0x0c, 0x82, 0x48, 0x09, 0x09, 0x70, 0x31, 0x67, 0xa7, 0x56, 0x4a, 0x30, 0x2a, 0x30,
0x6a, 0x70, 0x06, 0x81, 0x98, 0x42, 0x22, 0x5c, 0xac, 0xc5, 0x25, 0x89, 0x45, 0x25, 0x12, 0x4c,
0x0a, 0x8c, 0x1a, 0x2c, 0x41, 0x10, 0x8e, 0x90, 0x10, 0x17, 0x4b, 0x49, 0x65, 0x41, 0xaa, 0x04,
0x33, 0x58, 0x21, 0x98, 0x9d, 0xc4, 0x06, 0x36, 0xd7, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x70,
0x54, 0xb9, 0xcc, 0x73, 0x00, 0x00, 0x00,
var fileDescriptor_bc63a83ce2254c8c = []byte{
// 114 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4a, 0x49, 0x2c, 0x49,
0x8c, 0x2f, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2,
0x00, 0x53, 0x49, 0xa5, 0x69, 0x4a, 0x9e, 0x5c, 0xdc, 0x2e, 0x89, 0x25, 0x89, 0x41, 0x10, 0x69,
0x21, 0x01, 0x2e, 0xe6, 0xec, 0xd4, 0x4a, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x10, 0x53,
0x48, 0x84, 0x8b, 0xb5, 0xb8, 0x24, 0xb1, 0xa8, 0x44, 0x82, 0x49, 0x81, 0x51, 0x83, 0x25, 0x08,
0xc2, 0x11, 0x12, 0xe2, 0x62, 0x29, 0xa9, 0x2c, 0x48, 0x95, 0x60, 0x06, 0x2b, 0x04, 0xb3, 0x93,
0xd8, 0xc0, 0x86, 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x63, 0x78, 0x9b, 0x8c, 0x71, 0x00,
0x00, 0x00,
}

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: response.proto
package main
package protobuf
import (
fmt "fmt"
@ -76,7 +76,7 @@ func (m *Response) GetClient() *Client {
}
func init() {
proto.RegisterType((*Response)(nil), "main.Response")
proto.RegisterType((*Response)(nil), "protobuf.Response")
}
func init() { proto.RegisterFile("response.proto", fileDescriptor_0fbc901015fa5021) }
@ -84,12 +84,12 @@ func init() { proto.RegisterFile("response.proto", fileDescriptor_0fbc901015fa50
var fileDescriptor_0fbc901015fa5021 = []byte{
// 129 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2b, 0x4a, 0x2d, 0x2e,
0xc8, 0xcf, 0x2b, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0xc9, 0x4d, 0xcc, 0xcc,
0x93, 0xe2, 0x49, 0xce, 0xc9, 0x4c, 0xcd, 0x2b, 0x81, 0x88, 0x29, 0xc5, 0x71, 0x71, 0x04, 0x41,
0x55, 0x09, 0x09, 0x71, 0xb1, 0x24, 0xe7, 0xa7, 0xa4, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0xf0, 0x06,
0x81, 0xd9, 0x42, 0x12, 0x5c, 0xec, 0xb9, 0xa9, 0xc5, 0xc5, 0x89, 0xe9, 0xa9, 0x12, 0x4c, 0x0a,
0x8c, 0x1a, 0x3c, 0x41, 0x30, 0xae, 0x90, 0x0a, 0x17, 0x1b, 0xc4, 0x24, 0x09, 0x66, 0x05, 0x46,
0x0d, 0x6e, 0x23, 0x1e, 0x3d, 0x90, 0xf1, 0x7a, 0xce, 0x60, 0xb1, 0x20, 0xa8, 0x5c, 0x12, 0x1b,
0xd8, 0x1a, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x14, 0x8c, 0xe3, 0xa3, 0x8c, 0x00, 0x00,
0xc8, 0xcf, 0x2b, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0x49, 0xa5,
0x69, 0x52, 0x3c, 0xc9, 0x39, 0x99, 0xa9, 0x79, 0x25, 0x10, 0x71, 0xa5, 0x24, 0x2e, 0x8e, 0x20,
0xa8, 0x4a, 0x21, 0x21, 0x2e, 0x96, 0xe4, 0xfc, 0x94, 0x54, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xde,
0x20, 0x30, 0x5b, 0x48, 0x82, 0x8b, 0x3d, 0x37, 0xb5, 0xb8, 0x38, 0x31, 0x3d, 0x55, 0x82, 0x49,
0x81, 0x51, 0x83, 0x27, 0x08, 0xc6, 0x15, 0xd2, 0xe0, 0x62, 0x83, 0x98, 0x24, 0xc1, 0xac, 0xc0,
0xa8, 0xc1, 0x6d, 0x24, 0xa0, 0x07, 0xb3, 0x42, 0xcf, 0x19, 0x2c, 0x1e, 0x04, 0x95, 0x4f, 0x62,
0x03, 0x4b, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x48, 0x82, 0xa0, 0xed, 0x94, 0x00, 0x00,
0x00,
}

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: store/scan_request.proto
// source: scan_request.proto
package main
package protobuf
import (
fmt "fmt"
@ -34,7 +34,7 @@ func (m *ScanRequest) Reset() { *m = ScanRequest{} }
func (m *ScanRequest) String() string { return proto.CompactTextString(m) }
func (*ScanRequest) ProtoMessage() {}
func (*ScanRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_812dc305bd560f72, []int{0}
return fileDescriptor_e4c75b0c589eef47, []int{0}
}
func (m *ScanRequest) XXX_Unmarshal(b []byte) error {
@ -84,20 +84,19 @@ func (m *ScanRequest) GetType() string {
}
func init() {
proto.RegisterType((*ScanRequest)(nil), "main.ScanRequest")
proto.RegisterType((*ScanRequest)(nil), "protobuf.ScanRequest")
}
func init() { proto.RegisterFile("store/scan_request.proto", fileDescriptor_812dc305bd560f72) }
func init() { proto.RegisterFile("scan_request.proto", fileDescriptor_e4c75b0c589eef47) }
var fileDescriptor_812dc305bd560f72 = []byte{
// 129 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x28, 0x2e, 0xc9, 0x2f,
0x4a, 0xd5, 0x2f, 0x4e, 0x4e, 0xcc, 0x8b, 0x2f, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0xd1, 0x2b,
0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0xc9, 0x4d, 0xcc, 0xcc, 0x53, 0x0a, 0xe7, 0xe2, 0x0e, 0x4e,
0x4e, 0xcc, 0x0b, 0x82, 0x48, 0x09, 0x09, 0x70, 0x31, 0x67, 0xa7, 0x56, 0x4a, 0x30, 0x2a, 0x30,
0x6a, 0x70, 0x06, 0x81, 0x98, 0x42, 0x42, 0x5c, 0x2c, 0x69, 0x45, 0xf9, 0xb9, 0x12, 0x4c, 0x0a,
0x8c, 0x1a, 0x2c, 0x41, 0x60, 0xb6, 0x10, 0x1f, 0x17, 0x53, 0x49, 0xbe, 0x04, 0x33, 0x58, 0x84,
0xa9, 0x24, 0x1f, 0xa4, 0xa6, 0xa4, 0xb2, 0x20, 0x55, 0x82, 0x05, 0xac, 0x0d, 0xcc, 0x4e, 0x62,
0x03, 0xdb, 0x62, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x2e, 0x77, 0x60, 0x56, 0x81, 0x00, 0x00,
0x00,
var fileDescriptor_e4c75b0c589eef47 = []byte{
// 124 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2a, 0x4e, 0x4e, 0xcc,
0x8b, 0x2f, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2,
0x00, 0x53, 0x49, 0xa5, 0x69, 0x4a, 0xe1, 0x5c, 0xdc, 0xc1, 0xc9, 0x89, 0x79, 0x41, 0x10, 0x69,
0x21, 0x01, 0x2e, 0xe6, 0xec, 0xd4, 0x4a, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x10, 0x53,
0x48, 0x88, 0x8b, 0x25, 0xad, 0x28, 0x3f, 0x57, 0x82, 0x49, 0x81, 0x51, 0x83, 0x25, 0x08, 0xcc,
0x16, 0xe2, 0xe3, 0x62, 0x2a, 0xc9, 0x97, 0x60, 0x06, 0x8b, 0x30, 0x95, 0xe4, 0x83, 0xd4, 0x94,
0x54, 0x16, 0xa4, 0x4a, 0xb0, 0x80, 0xb5, 0x81, 0xd9, 0x49, 0x6c, 0x60, 0x2b, 0x8c, 0x01, 0x01,
0x00, 0x00, 0xff, 0xff, 0x9c, 0x48, 0x4b, 0xa3, 0x7f, 0x00, 0x00, 0x00,
}

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: store.proto
package main
package protobuf
import (
fmt "fmt"
@ -68,7 +68,7 @@ func (m *Store) GetBite() *Bite {
}
func init() {
proto.RegisterType((*Store)(nil), "main.Store")
proto.RegisterType((*Store)(nil), "protobuf.Store")
}
func init() { proto.RegisterFile("store.proto", fileDescriptor_98bbca36ef968dfc) }
@ -76,10 +76,10 @@ func init() { proto.RegisterFile("store.proto", fileDescriptor_98bbca36ef968dfc)
var fileDescriptor_98bbca36ef968dfc = []byte{
// 104 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2e, 0x2e, 0xc9, 0x2f,
0x4a, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0xc9, 0x4d, 0xcc, 0xcc, 0x93, 0xe2, 0x4a,
0xca, 0x2c, 0x81, 0x8a, 0x28, 0x59, 0x73, 0xb1, 0x06, 0x83, 0x14, 0x08, 0x09, 0x71, 0xb1, 0x94,
0x54, 0x16, 0xa4, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, 0x81, 0xd9, 0x42, 0x72, 0x5c, 0x2c,
0x20, 0xa5, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xdc, 0x46, 0x5c, 0x7a, 0x20, 0xdd, 0x7a, 0x4e, 0x99,
0x25, 0xa9, 0x41, 0x60, 0xf1, 0x24, 0x36, 0xb0, 0x19, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff,
0x84, 0x05, 0xf9, 0x1a, 0x64, 0x00, 0x00, 0x00,
0x4a, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0x49, 0xa5, 0x69, 0x52, 0x5c,
0x49, 0x99, 0x25, 0x50, 0x51, 0x25, 0x7b, 0x2e, 0xd6, 0x60, 0x90, 0x22, 0x21, 0x21, 0x2e, 0x96,
0x92, 0xca, 0x82, 0x54, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x30, 0x5b, 0x48, 0x89, 0x8b,
0x05, 0xa4, 0x54, 0x82, 0x49, 0x81, 0x51, 0x83, 0xdb, 0x88, 0x4f, 0x0f, 0x66, 0x82, 0x9e, 0x53,
0x66, 0x49, 0x6a, 0x10, 0x58, 0x2e, 0x89, 0x0d, 0x2c, 0x68, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff,
0x8a, 0x43, 0xbf, 0xac, 0x6c, 0x00, 0x00, 0x00,
}

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package main;
package protobuf;
import "client.proto";

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package main;
package protobuf;
message ScanRequest {
string key = 1;

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package main;
package protobuf;
import "bite.proto";