chore(proto): update proto
This commit is contained in:
parent
c8ef4c6e46
commit
921078c61d
File diff suppressed because it is too large
Load Diff
|
@ -32,152 +32,215 @@ var file_storage_proto_rawDesc = []byte{
|
|||
0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
|
||||
0x0d, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0b,
|
||||
0x6c, 0x69, 0x73, 0x74, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0b, 0x68, 0x61, 0x73,
|
||||
0x68, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xed, 0x09, 0x0a, 0x0a, 0x43, 0x6f, 0x6d,
|
||||
0x6d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x03, 0x53, 0x65, 0x74, 0x12, 0x0b,
|
||||
0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0c, 0x2e, 0x53, 0x65,
|
||||
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x03, 0x47, 0x65, 0x74,
|
||||
0x12, 0x0b, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0c, 0x2e,
|
||||
0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x03, 0x41,
|
||||
0x64, 0x64, 0x12, 0x0b, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x0c, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a,
|
||||
0x06, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x12, 0x0e, 0x2e, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x53, 0x65, 0x74, 0x42,
|
||||
0x69, 0x74, 0x12, 0x0e, 0x2e, 0x53, 0x65, 0x74, 0x42, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x53, 0x65, 0x74, 0x42, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x42, 0x69, 0x74, 0x12, 0x0e, 0x2e,
|
||||
0x47, 0x65, 0x74, 0x42, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e,
|
||||
0x47, 0x65, 0x74, 0x42, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f,
|
||||
0x0a, 0x08, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x10, 0x2e, 0x47, 0x65, 0x74,
|
||||
0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x47,
|
||||
0x65, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x29, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x12, 0x0e, 0x2e, 0x47, 0x65, 0x74, 0x53,
|
||||
0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x47, 0x65, 0x74, 0x53,
|
||||
0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x53, 0x74,
|
||||
0x72, 0x4c, 0x65, 0x6e, 0x12, 0x0e, 0x2e, 0x53, 0x74, 0x72, 0x4c, 0x65, 0x6e, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x53, 0x74, 0x72, 0x4c, 0x65, 0x6e, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x05, 0x53, 0x65, 0x74, 0x6e, 0x78, 0x12, 0x0d,
|
||||
0x2e, 0x53, 0x65, 0x74, 0x6e, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e,
|
||||
0x53, 0x65, 0x74, 0x6e, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a,
|
||||
0x06, 0x4c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x0e, 0x2e, 0x4c, 0x49, 0x6e, 0x64, 0x65, 0x78,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x4c, 0x49, 0x6e, 0x64, 0x65, 0x78,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x4c, 0x4c, 0x65, 0x6e,
|
||||
0x12, 0x0c, 0x2e, 0x4c, 0x4c, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d,
|
||||
0x2e, 0x4c, 0x4c, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a,
|
||||
0x04, 0x4c, 0x50, 0x6f, 0x70, 0x12, 0x0c, 0x2e, 0x4c, 0x50, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x4c, 0x50, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x26, 0x0a, 0x05, 0x4c, 0x50, 0x75, 0x73, 0x68, 0x12, 0x0d, 0x2e, 0x4c, 0x50,
|
||||
0x75, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x4c, 0x50, 0x75,
|
||||
0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x4c, 0x50,
|
||||
0x75, 0x73, 0x68, 0x58, 0x12, 0x0e, 0x2e, 0x4c, 0x50, 0x75, 0x73, 0x68, 0x58, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x4c, 0x50, 0x75, 0x73, 0x68, 0x58, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x4c, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12,
|
||||
0x0e, 0x2e, 0x4c, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x0f, 0x2e, 0x4c, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x23, 0x0a, 0x04, 0x4c, 0x52, 0x65, 0x6d, 0x12, 0x0c, 0x2e, 0x4c, 0x52, 0x65, 0x6d, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x4c, 0x52, 0x65, 0x6d, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x4c, 0x53, 0x65, 0x74, 0x12, 0x0c, 0x2e,
|
||||
0x4c, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x4c, 0x53,
|
||||
0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x52, 0x50,
|
||||
0x6f, 0x70, 0x12, 0x0c, 0x2e, 0x52, 0x50, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x1a, 0x0d, 0x2e, 0x52, 0x50, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x26, 0x0a, 0x05, 0x4c, 0x54, 0x72, 0x69, 0x6d, 0x12, 0x0d, 0x2e, 0x4c, 0x54, 0x72, 0x69, 0x6d,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x4c, 0x54, 0x72, 0x69, 0x6d, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x05, 0x52, 0x50, 0x75, 0x73, 0x68,
|
||||
0x12, 0x0d, 0x2e, 0x52, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x0e, 0x2e, 0x52, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x29, 0x0a, 0x06, 0x52, 0x50, 0x75, 0x73, 0x68, 0x58, 0x12, 0x0e, 0x2e, 0x52, 0x50, 0x75, 0x73,
|
||||
0x68, 0x58, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x52, 0x50, 0x75, 0x73,
|
||||
0x68, 0x58, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x48, 0x44,
|
||||
0x65, 0x6c, 0x12, 0x0c, 0x2e, 0x48, 0x44, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x1a, 0x0d, 0x2e, 0x48, 0x44, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x2c, 0x0a, 0x07, 0x48, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x0f, 0x2e, 0x48, 0x45, 0x78,
|
||||
0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x48, 0x45,
|
||||
0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a,
|
||||
0x04, 0x48, 0x47, 0x65, 0x74, 0x12, 0x0c, 0x2e, 0x48, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x48, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x48, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x12, 0x0f, 0x2e,
|
||||
0x48, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10,
|
||||
0x2e, 0x48, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x2c, 0x0a, 0x07, 0x48, 0x49, 0x6e, 0x63, 0x72, 0x42, 0x79, 0x12, 0x0f, 0x2e, 0x48, 0x49,
|
||||
0x6e, 0x63, 0x72, 0x42, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x48,
|
||||
0x49, 0x6e, 0x63, 0x72, 0x42, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26,
|
||||
0x0a, 0x05, 0x48, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x0d, 0x2e, 0x48, 0x4b, 0x65, 0x79, 0x73, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x48, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x48, 0x4c, 0x65, 0x6e, 0x12, 0x0c,
|
||||
0x2e, 0x48, 0x4c, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x48,
|
||||
0x4c, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x48,
|
||||
0x53, 0x65, 0x74, 0x12, 0x0c, 0x2e, 0x48, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x0d, 0x2e, 0x48, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x26, 0x0a, 0x05, 0x48, 0x53, 0x65, 0x74, 0x58, 0x12, 0x0d, 0x2e, 0x48, 0x53, 0x65, 0x74,
|
||||
0x58, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x48, 0x53, 0x65, 0x74, 0x58,
|
||||
0x68, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x73, 0x65, 0x74, 0x78, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x32, 0xb1, 0x0e, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, 0x53, 0x65, 0x72,
|
||||
0x76, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x03, 0x53, 0x65, 0x74, 0x12, 0x0b, 0x2e, 0x53, 0x65, 0x74,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0c, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x0b, 0x2e, 0x47,
|
||||
0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0c, 0x2e, 0x47, 0x65, 0x74, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x03, 0x41, 0x64, 0x64, 0x12, 0x0b,
|
||||
0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0c, 0x2e, 0x41, 0x64,
|
||||
0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x52, 0x65, 0x64,
|
||||
0x75, 0x63, 0x65, 0x12, 0x0e, 0x2e, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x53, 0x65, 0x74, 0x42, 0x69, 0x74, 0x12, 0x0e,
|
||||
0x2e, 0x53, 0x65, 0x74, 0x42, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f,
|
||||
0x2e, 0x53, 0x65, 0x74, 0x42, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x29, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x42, 0x69, 0x74, 0x12, 0x0e, 0x2e, 0x47, 0x65, 0x74, 0x42,
|
||||
0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x47, 0x65, 0x74, 0x42,
|
||||
0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x47, 0x65,
|
||||
0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x10, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x67,
|
||||
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x61,
|
||||
0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x47,
|
||||
0x65, 0x74, 0x53, 0x65, 0x74, 0x12, 0x0e, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x53, 0x74, 0x72, 0x4c, 0x65, 0x6e,
|
||||
0x12, 0x0e, 0x2e, 0x53, 0x74, 0x72, 0x4c, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x1a, 0x0f, 0x2e, 0x53, 0x74, 0x72, 0x4c, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x26, 0x0a, 0x05, 0x53, 0x65, 0x74, 0x6e, 0x78, 0x12, 0x0d, 0x2e, 0x53, 0x65, 0x74,
|
||||
0x6e, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x53, 0x65, 0x74, 0x6e,
|
||||
0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x4c, 0x49, 0x6e,
|
||||
0x64, 0x65, 0x78, 0x12, 0x0e, 0x2e, 0x4c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x4c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x4c, 0x4c, 0x65, 0x6e, 0x12, 0x0c, 0x2e, 0x4c,
|
||||
0x4c, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x4c, 0x4c, 0x65,
|
||||
0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x4c, 0x50, 0x6f,
|
||||
0x70, 0x12, 0x0c, 0x2e, 0x4c, 0x50, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x0d, 0x2e, 0x4c, 0x50, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26,
|
||||
0x0a, 0x05, 0x4c, 0x50, 0x75, 0x73, 0x68, 0x12, 0x0d, 0x2e, 0x4c, 0x50, 0x75, 0x73, 0x68, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x4c, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x4c, 0x50, 0x75, 0x73, 0x68, 0x58,
|
||||
0x12, 0x0e, 0x2e, 0x4c, 0x50, 0x75, 0x73, 0x68, 0x58, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x1a, 0x0f, 0x2e, 0x4c, 0x50, 0x75, 0x73, 0x68, 0x58, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x29, 0x0a, 0x06, 0x4c, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x0e, 0x2e, 0x4c, 0x52,
|
||||
0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x4c, 0x52,
|
||||
0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x04,
|
||||
0x4c, 0x52, 0x65, 0x6d, 0x12, 0x0c, 0x2e, 0x4c, 0x52, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x4c, 0x52, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x23, 0x0a, 0x04, 0x4c, 0x53, 0x65, 0x74, 0x12, 0x0c, 0x2e, 0x4c, 0x53, 0x65, 0x74,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x4c, 0x53, 0x65, 0x74, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x52, 0x50, 0x6f, 0x70, 0x12, 0x0c,
|
||||
0x2e, 0x52, 0x50, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x52,
|
||||
0x50, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x05, 0x4c,
|
||||
0x54, 0x72, 0x69, 0x6d, 0x12, 0x0d, 0x2e, 0x4c, 0x54, 0x72, 0x69, 0x6d, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x4c, 0x54, 0x72, 0x69, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x05, 0x52, 0x50, 0x75, 0x73, 0x68, 0x12, 0x0d, 0x2e, 0x52,
|
||||
0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x52, 0x50,
|
||||
0x75, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x52,
|
||||
0x50, 0x75, 0x73, 0x68, 0x58, 0x12, 0x0e, 0x2e, 0x52, 0x50, 0x75, 0x73, 0x68, 0x58, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x52, 0x50, 0x75, 0x73, 0x68, 0x58, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x48, 0x44, 0x65, 0x6c, 0x12, 0x0c,
|
||||
0x2e, 0x48, 0x44, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x48,
|
||||
0x44, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x48,
|
||||
0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x0f, 0x2e, 0x48, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x48, 0x45, 0x78, 0x69, 0x73, 0x74,
|
||||
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x48, 0x47, 0x65,
|
||||
0x74, 0x12, 0x0c, 0x2e, 0x48, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x0d, 0x2e, 0x48, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c,
|
||||
0x0a, 0x07, 0x48, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x12, 0x0f, 0x2e, 0x48, 0x47, 0x65, 0x74,
|
||||
0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x48, 0x47, 0x65,
|
||||
0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07,
|
||||
0x48, 0x49, 0x6e, 0x63, 0x72, 0x42, 0x79, 0x12, 0x0f, 0x2e, 0x48, 0x49, 0x6e, 0x63, 0x72, 0x42,
|
||||
0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x48, 0x49, 0x6e, 0x63, 0x72,
|
||||
0x42, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x05, 0x48, 0x4b,
|
||||
0x65, 0x79, 0x73, 0x12, 0x0d, 0x2e, 0x48, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x48, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x48, 0x4c, 0x65, 0x6e, 0x12, 0x0c, 0x2e, 0x48, 0x4c, 0x65,
|
||||
0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x48, 0x4c, 0x65, 0x6e, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x48, 0x53, 0x65, 0x74, 0x12,
|
||||
0x0c, 0x2e, 0x48, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e,
|
||||
0x48, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x05,
|
||||
0x48, 0x53, 0x65, 0x74, 0x58, 0x12, 0x0d, 0x2e, 0x48, 0x53, 0x65, 0x74, 0x58, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x48, 0x53, 0x65, 0x74, 0x58, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x53, 0x41, 0x64, 0x64, 0x12, 0x0c, 0x2e, 0x53,
|
||||
0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x53, 0x41, 0x64,
|
||||
0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x05, 0x53, 0x43, 0x61,
|
||||
0x72, 0x64, 0x12, 0x0d, 0x2e, 0x53, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x0e, 0x2e, 0x53, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x26, 0x0a, 0x05, 0x53, 0x44, 0x69, 0x66, 0x66, 0x12, 0x0d, 0x2e, 0x53, 0x44, 0x69,
|
||||
0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x53, 0x44, 0x69, 0x66,
|
||||
0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0a, 0x53, 0x44, 0x69,
|
||||
0x66, 0x66, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x12, 0x2e, 0x53, 0x44, 0x69, 0x66, 0x66, 0x53,
|
||||
0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x53, 0x44,
|
||||
0x69, 0x66, 0x66, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x29, 0x0a, 0x06, 0x53, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x0e, 0x2e, 0x53, 0x49, 0x6e,
|
||||
0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x53, 0x49, 0x6e,
|
||||
0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x53,
|
||||
0x49, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x13, 0x2e, 0x53, 0x49, 0x6e,
|
||||
0x74, 0x65, 0x72, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x14, 0x2e, 0x53, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x09, 0x53, 0x49, 0x73, 0x4d, 0x65, 0x6d, 0x62,
|
||||
0x65, 0x72, 0x12, 0x11, 0x2e, 0x53, 0x49, 0x73, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x53, 0x49, 0x73, 0x4d, 0x65, 0x6d, 0x62, 0x65,
|
||||
0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x05, 0x53, 0x4d, 0x6f,
|
||||
0x76, 0x65, 0x12, 0x0d, 0x2e, 0x53, 0x4d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x0e, 0x2e, 0x53, 0x4d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x23, 0x0a, 0x04, 0x53, 0x50, 0x6f, 0x70, 0x12, 0x0c, 0x2e, 0x53, 0x50, 0x6f, 0x70,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x53, 0x50, 0x6f, 0x70, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x53, 0x52, 0x65, 0x6d, 0x12, 0x0c,
|
||||
0x2e, 0x53, 0x52, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x53,
|
||||
0x52, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x53,
|
||||
0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x2e, 0x53, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x53, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x53, 0x55, 0x6e, 0x69, 0x6f, 0x6e,
|
||||
0x53, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x13, 0x2e, 0x53, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x53, 0x74,
|
||||
0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x53, 0x55, 0x6e,
|
||||
0x69, 0x6f, 0x6e, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x26, 0x0a, 0x05, 0x53, 0x53, 0x63, 0x61, 0x6e, 0x12, 0x0d, 0x2e, 0x53, 0x53, 0x63, 0x61,
|
||||
0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x53, 0x53, 0x63, 0x61, 0x6e,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x0b, 0x5a, 0x09, 0x70, 0x6b, 0x67, 0x2f,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var file_storage_proto_goTypes = []interface{}{
|
||||
(*SetRequest)(nil), // 0: SetRequest
|
||||
(*GetRequest)(nil), // 1: GetRequest
|
||||
(*AddRequest)(nil), // 2: AddRequest
|
||||
(*ReduceRequest)(nil), // 3: ReduceRequest
|
||||
(*SetBitRequest)(nil), // 4: SetBitRequest
|
||||
(*GetBitRequest)(nil), // 5: GetBitRequest
|
||||
(*GetRangeRequest)(nil), // 6: GetRangeRequest
|
||||
(*GetSetRequest)(nil), // 7: GetSetRequest
|
||||
(*StrLenRequest)(nil), // 8: StrLenRequest
|
||||
(*SetnxRequest)(nil), // 9: SetnxRequest
|
||||
(*LIndexRequest)(nil), // 10: LIndexRequest
|
||||
(*LLenRequest)(nil), // 11: LLenRequest
|
||||
(*LPopRequest)(nil), // 12: LPopRequest
|
||||
(*LPushRequest)(nil), // 13: LPushRequest
|
||||
(*LPushXRequest)(nil), // 14: LPushXRequest
|
||||
(*LRangeRequest)(nil), // 15: LRangeRequest
|
||||
(*LRemRequest)(nil), // 16: LRemRequest
|
||||
(*LSetRequest)(nil), // 17: LSetRequest
|
||||
(*RPopRequest)(nil), // 18: RPopRequest
|
||||
(*LTrimRequest)(nil), // 19: LTrimRequest
|
||||
(*RPushRequest)(nil), // 20: RPushRequest
|
||||
(*RPushXRequest)(nil), // 21: RPushXRequest
|
||||
(*HDelRequest)(nil), // 22: HDelRequest
|
||||
(*HExistsRequest)(nil), // 23: HExistsRequest
|
||||
(*HGetRequest)(nil), // 24: HGetRequest
|
||||
(*HGetAllRequest)(nil), // 25: HGetAllRequest
|
||||
(*HIncrByRequest)(nil), // 26: HIncrByRequest
|
||||
(*HKeysRequest)(nil), // 27: HKeysRequest
|
||||
(*HLenRequest)(nil), // 28: HLenRequest
|
||||
(*HSetRequest)(nil), // 29: HSetRequest
|
||||
(*HSetXRequest)(nil), // 30: HSetXRequest
|
||||
(*SetResponse)(nil), // 31: SetResponse
|
||||
(*GetResponse)(nil), // 32: GetResponse
|
||||
(*AddResponse)(nil), // 33: AddResponse
|
||||
(*ReduceResponse)(nil), // 34: ReduceResponse
|
||||
(*SetBitResponse)(nil), // 35: SetBitResponse
|
||||
(*GetBitResponse)(nil), // 36: GetBitResponse
|
||||
(*GetRangeResponse)(nil), // 37: GetRangeResponse
|
||||
(*GetSetResponse)(nil), // 38: GetSetResponse
|
||||
(*StrLenResponse)(nil), // 39: StrLenResponse
|
||||
(*SetnxResponse)(nil), // 40: SetnxResponse
|
||||
(*LIndexResponse)(nil), // 41: LIndexResponse
|
||||
(*LLenResponse)(nil), // 42: LLenResponse
|
||||
(*LPopResponse)(nil), // 43: LPopResponse
|
||||
(*LPushResponse)(nil), // 44: LPushResponse
|
||||
(*LPushXResponse)(nil), // 45: LPushXResponse
|
||||
(*LRangeResponse)(nil), // 46: LRangeResponse
|
||||
(*LRemResponse)(nil), // 47: LRemResponse
|
||||
(*LSetResponse)(nil), // 48: LSetResponse
|
||||
(*RPopResponse)(nil), // 49: RPopResponse
|
||||
(*LTrimResponse)(nil), // 50: LTrimResponse
|
||||
(*RPushResponse)(nil), // 51: RPushResponse
|
||||
(*RPushXResponse)(nil), // 52: RPushXResponse
|
||||
(*HDelResponse)(nil), // 53: HDelResponse
|
||||
(*HExistsResponse)(nil), // 54: HExistsResponse
|
||||
(*HGetResponse)(nil), // 55: HGetResponse
|
||||
(*HGetAllResponse)(nil), // 56: HGetAllResponse
|
||||
(*HIncrByResponse)(nil), // 57: HIncrByResponse
|
||||
(*HKeysResponse)(nil), // 58: HKeysResponse
|
||||
(*HLenResponse)(nil), // 59: HLenResponse
|
||||
(*HSetResponse)(nil), // 60: HSetResponse
|
||||
(*HSetXResponse)(nil), // 61: HSetXResponse
|
||||
(*SetRequest)(nil), // 0: SetRequest
|
||||
(*GetRequest)(nil), // 1: GetRequest
|
||||
(*AddRequest)(nil), // 2: AddRequest
|
||||
(*ReduceRequest)(nil), // 3: ReduceRequest
|
||||
(*SetBitRequest)(nil), // 4: SetBitRequest
|
||||
(*GetBitRequest)(nil), // 5: GetBitRequest
|
||||
(*GetRangeRequest)(nil), // 6: GetRangeRequest
|
||||
(*GetSetRequest)(nil), // 7: GetSetRequest
|
||||
(*StrLenRequest)(nil), // 8: StrLenRequest
|
||||
(*SetnxRequest)(nil), // 9: SetnxRequest
|
||||
(*LIndexRequest)(nil), // 10: LIndexRequest
|
||||
(*LLenRequest)(nil), // 11: LLenRequest
|
||||
(*LPopRequest)(nil), // 12: LPopRequest
|
||||
(*LPushRequest)(nil), // 13: LPushRequest
|
||||
(*LPushXRequest)(nil), // 14: LPushXRequest
|
||||
(*LRangeRequest)(nil), // 15: LRangeRequest
|
||||
(*LRemRequest)(nil), // 16: LRemRequest
|
||||
(*LSetRequest)(nil), // 17: LSetRequest
|
||||
(*RPopRequest)(nil), // 18: RPopRequest
|
||||
(*LTrimRequest)(nil), // 19: LTrimRequest
|
||||
(*RPushRequest)(nil), // 20: RPushRequest
|
||||
(*RPushXRequest)(nil), // 21: RPushXRequest
|
||||
(*HDelRequest)(nil), // 22: HDelRequest
|
||||
(*HExistsRequest)(nil), // 23: HExistsRequest
|
||||
(*HGetRequest)(nil), // 24: HGetRequest
|
||||
(*HGetAllRequest)(nil), // 25: HGetAllRequest
|
||||
(*HIncrByRequest)(nil), // 26: HIncrByRequest
|
||||
(*HKeysRequest)(nil), // 27: HKeysRequest
|
||||
(*HLenRequest)(nil), // 28: HLenRequest
|
||||
(*HSetRequest)(nil), // 29: HSetRequest
|
||||
(*HSetXRequest)(nil), // 30: HSetXRequest
|
||||
(*SAddRequest)(nil), // 31: SAddRequest
|
||||
(*SCardRequest)(nil), // 32: SCardRequest
|
||||
(*SDiffRequest)(nil), // 33: SDiffRequest
|
||||
(*SDiffStoreRequest)(nil), // 34: SDiffStoreRequest
|
||||
(*SInterRequest)(nil), // 35: SInterRequest
|
||||
(*SInterStoreRequest)(nil), // 36: SInterStoreRequest
|
||||
(*SIsMemberRequest)(nil), // 37: SIsMemberRequest
|
||||
(*SMoveRequest)(nil), // 38: SMoveRequest
|
||||
(*SPopRequest)(nil), // 39: SPopRequest
|
||||
(*SRemRequest)(nil), // 40: SRemRequest
|
||||
(*SUnionRequest)(nil), // 41: SUnionRequest
|
||||
(*SUnionStoreRequest)(nil), // 42: SUnionStoreRequest
|
||||
(*SScanRequest)(nil), // 43: SScanRequest
|
||||
(*SetResponse)(nil), // 44: SetResponse
|
||||
(*GetResponse)(nil), // 45: GetResponse
|
||||
(*AddResponse)(nil), // 46: AddResponse
|
||||
(*ReduceResponse)(nil), // 47: ReduceResponse
|
||||
(*SetBitResponse)(nil), // 48: SetBitResponse
|
||||
(*GetBitResponse)(nil), // 49: GetBitResponse
|
||||
(*GetRangeResponse)(nil), // 50: GetRangeResponse
|
||||
(*GetSetResponse)(nil), // 51: GetSetResponse
|
||||
(*StrLenResponse)(nil), // 52: StrLenResponse
|
||||
(*SetnxResponse)(nil), // 53: SetnxResponse
|
||||
(*LIndexResponse)(nil), // 54: LIndexResponse
|
||||
(*LLenResponse)(nil), // 55: LLenResponse
|
||||
(*LPopResponse)(nil), // 56: LPopResponse
|
||||
(*LPushResponse)(nil), // 57: LPushResponse
|
||||
(*LPushXResponse)(nil), // 58: LPushXResponse
|
||||
(*LRangeResponse)(nil), // 59: LRangeResponse
|
||||
(*LRemResponse)(nil), // 60: LRemResponse
|
||||
(*LSetResponse)(nil), // 61: LSetResponse
|
||||
(*RPopResponse)(nil), // 62: RPopResponse
|
||||
(*LTrimResponse)(nil), // 63: LTrimResponse
|
||||
(*RPushResponse)(nil), // 64: RPushResponse
|
||||
(*RPushXResponse)(nil), // 65: RPushXResponse
|
||||
(*HDelResponse)(nil), // 66: HDelResponse
|
||||
(*HExistsResponse)(nil), // 67: HExistsResponse
|
||||
(*HGetResponse)(nil), // 68: HGetResponse
|
||||
(*HGetAllResponse)(nil), // 69: HGetAllResponse
|
||||
(*HIncrByResponse)(nil), // 70: HIncrByResponse
|
||||
(*HKeysResponse)(nil), // 71: HKeysResponse
|
||||
(*HLenResponse)(nil), // 72: HLenResponse
|
||||
(*HSetResponse)(nil), // 73: HSetResponse
|
||||
(*HSetXResponse)(nil), // 74: HSetXResponse
|
||||
(*SAddResponse)(nil), // 75: SAddResponse
|
||||
(*SCardResponse)(nil), // 76: SCardResponse
|
||||
(*SDiffResponse)(nil), // 77: SDiffResponse
|
||||
(*SDiffStoreResponse)(nil), // 78: SDiffStoreResponse
|
||||
(*SInterResponse)(nil), // 79: SInterResponse
|
||||
(*SInterStoreResponse)(nil), // 80: SInterStoreResponse
|
||||
(*SIsMemberResponse)(nil), // 81: SIsMemberResponse
|
||||
(*SMoveResponse)(nil), // 82: SMoveResponse
|
||||
(*SPopResponse)(nil), // 83: SPopResponse
|
||||
(*SRemResponse)(nil), // 84: SRemResponse
|
||||
(*SUnionResponse)(nil), // 85: SUnionResponse
|
||||
(*SUnionStoreResponse)(nil), // 86: SUnionStoreResponse
|
||||
(*SScanResponse)(nil), // 87: SScanResponse
|
||||
}
|
||||
var file_storage_proto_depIdxs = []int32{
|
||||
0, // 0: CommServer.Set:input_type -> SetRequest
|
||||
|
@ -211,39 +274,65 @@ var file_storage_proto_depIdxs = []int32{
|
|||
28, // 28: CommServer.HLen:input_type -> HLenRequest
|
||||
29, // 29: CommServer.HSet:input_type -> HSetRequest
|
||||
30, // 30: CommServer.HSetX:input_type -> HSetXRequest
|
||||
31, // 31: CommServer.Set:output_type -> SetResponse
|
||||
32, // 32: CommServer.Get:output_type -> GetResponse
|
||||
33, // 33: CommServer.Add:output_type -> AddResponse
|
||||
34, // 34: CommServer.Reduce:output_type -> ReduceResponse
|
||||
35, // 35: CommServer.SetBit:output_type -> SetBitResponse
|
||||
36, // 36: CommServer.GetBit:output_type -> GetBitResponse
|
||||
37, // 37: CommServer.GetRange:output_type -> GetRangeResponse
|
||||
38, // 38: CommServer.GetSet:output_type -> GetSetResponse
|
||||
39, // 39: CommServer.StrLen:output_type -> StrLenResponse
|
||||
40, // 40: CommServer.Setnx:output_type -> SetnxResponse
|
||||
41, // 41: CommServer.LIndex:output_type -> LIndexResponse
|
||||
42, // 42: CommServer.LLen:output_type -> LLenResponse
|
||||
43, // 43: CommServer.LPop:output_type -> LPopResponse
|
||||
44, // 44: CommServer.LPush:output_type -> LPushResponse
|
||||
45, // 45: CommServer.LPushX:output_type -> LPushXResponse
|
||||
46, // 46: CommServer.LRange:output_type -> LRangeResponse
|
||||
47, // 47: CommServer.LRem:output_type -> LRemResponse
|
||||
48, // 48: CommServer.LSet:output_type -> LSetResponse
|
||||
49, // 49: CommServer.RPop:output_type -> RPopResponse
|
||||
50, // 50: CommServer.LTrim:output_type -> LTrimResponse
|
||||
51, // 51: CommServer.RPush:output_type -> RPushResponse
|
||||
52, // 52: CommServer.RPushX:output_type -> RPushXResponse
|
||||
53, // 53: CommServer.HDel:output_type -> HDelResponse
|
||||
54, // 54: CommServer.HExists:output_type -> HExistsResponse
|
||||
55, // 55: CommServer.HGet:output_type -> HGetResponse
|
||||
56, // 56: CommServer.HGetAll:output_type -> HGetAllResponse
|
||||
57, // 57: CommServer.HIncrBy:output_type -> HIncrByResponse
|
||||
58, // 58: CommServer.HKeys:output_type -> HKeysResponse
|
||||
59, // 59: CommServer.HLen:output_type -> HLenResponse
|
||||
60, // 60: CommServer.HSet:output_type -> HSetResponse
|
||||
61, // 61: CommServer.HSetX:output_type -> HSetXResponse
|
||||
31, // [31:62] is the sub-list for method output_type
|
||||
0, // [0:31] is the sub-list for method input_type
|
||||
31, // 31: CommServer.SAdd:input_type -> SAddRequest
|
||||
32, // 32: CommServer.SCard:input_type -> SCardRequest
|
||||
33, // 33: CommServer.SDiff:input_type -> SDiffRequest
|
||||
34, // 34: CommServer.SDiffStore:input_type -> SDiffStoreRequest
|
||||
35, // 35: CommServer.SInter:input_type -> SInterRequest
|
||||
36, // 36: CommServer.SInterStore:input_type -> SInterStoreRequest
|
||||
37, // 37: CommServer.SIsMember:input_type -> SIsMemberRequest
|
||||
38, // 38: CommServer.SMove:input_type -> SMoveRequest
|
||||
39, // 39: CommServer.SPop:input_type -> SPopRequest
|
||||
40, // 40: CommServer.SRem:input_type -> SRemRequest
|
||||
41, // 41: CommServer.SUnion:input_type -> SUnionRequest
|
||||
42, // 42: CommServer.SUnionStore:input_type -> SUnionStoreRequest
|
||||
43, // 43: CommServer.SScan:input_type -> SScanRequest
|
||||
44, // 44: CommServer.Set:output_type -> SetResponse
|
||||
45, // 45: CommServer.Get:output_type -> GetResponse
|
||||
46, // 46: CommServer.Add:output_type -> AddResponse
|
||||
47, // 47: CommServer.Reduce:output_type -> ReduceResponse
|
||||
48, // 48: CommServer.SetBit:output_type -> SetBitResponse
|
||||
49, // 49: CommServer.GetBit:output_type -> GetBitResponse
|
||||
50, // 50: CommServer.GetRange:output_type -> GetRangeResponse
|
||||
51, // 51: CommServer.GetSet:output_type -> GetSetResponse
|
||||
52, // 52: CommServer.StrLen:output_type -> StrLenResponse
|
||||
53, // 53: CommServer.Setnx:output_type -> SetnxResponse
|
||||
54, // 54: CommServer.LIndex:output_type -> LIndexResponse
|
||||
55, // 55: CommServer.LLen:output_type -> LLenResponse
|
||||
56, // 56: CommServer.LPop:output_type -> LPopResponse
|
||||
57, // 57: CommServer.LPush:output_type -> LPushResponse
|
||||
58, // 58: CommServer.LPushX:output_type -> LPushXResponse
|
||||
59, // 59: CommServer.LRange:output_type -> LRangeResponse
|
||||
60, // 60: CommServer.LRem:output_type -> LRemResponse
|
||||
61, // 61: CommServer.LSet:output_type -> LSetResponse
|
||||
62, // 62: CommServer.RPop:output_type -> RPopResponse
|
||||
63, // 63: CommServer.LTrim:output_type -> LTrimResponse
|
||||
64, // 64: CommServer.RPush:output_type -> RPushResponse
|
||||
65, // 65: CommServer.RPushX:output_type -> RPushXResponse
|
||||
66, // 66: CommServer.HDel:output_type -> HDelResponse
|
||||
67, // 67: CommServer.HExists:output_type -> HExistsResponse
|
||||
68, // 68: CommServer.HGet:output_type -> HGetResponse
|
||||
69, // 69: CommServer.HGetAll:output_type -> HGetAllResponse
|
||||
70, // 70: CommServer.HIncrBy:output_type -> HIncrByResponse
|
||||
71, // 71: CommServer.HKeys:output_type -> HKeysResponse
|
||||
72, // 72: CommServer.HLen:output_type -> HLenResponse
|
||||
73, // 73: CommServer.HSet:output_type -> HSetResponse
|
||||
74, // 74: CommServer.HSetX:output_type -> HSetXResponse
|
||||
75, // 75: CommServer.SAdd:output_type -> SAddResponse
|
||||
76, // 76: CommServer.SCard:output_type -> SCardResponse
|
||||
77, // 77: CommServer.SDiff:output_type -> SDiffResponse
|
||||
78, // 78: CommServer.SDiffStore:output_type -> SDiffStoreResponse
|
||||
79, // 79: CommServer.SInter:output_type -> SInterResponse
|
||||
80, // 80: CommServer.SInterStore:output_type -> SInterStoreResponse
|
||||
81, // 81: CommServer.SIsMember:output_type -> SIsMemberResponse
|
||||
82, // 82: CommServer.SMove:output_type -> SMoveResponse
|
||||
83, // 83: CommServer.SPop:output_type -> SPopResponse
|
||||
84, // 84: CommServer.SRem:output_type -> SRemResponse
|
||||
85, // 85: CommServer.SUnion:output_type -> SUnionResponse
|
||||
86, // 86: CommServer.SUnionStore:output_type -> SUnionStoreResponse
|
||||
87, // 87: CommServer.SScan:output_type -> SScanResponse
|
||||
44, // [44:88] is the sub-list for method output_type
|
||||
0, // [0:44] is the sub-list for method input_type
|
||||
0, // [0:0] is the sub-list for extension type_name
|
||||
0, // [0:0] is the sub-list for extension extendee
|
||||
0, // [0:0] is the sub-list for field type_name
|
||||
|
@ -257,6 +346,7 @@ func file_storage_proto_init() {
|
|||
file_stringx_proto_init()
|
||||
file_listx_proto_init()
|
||||
file_hashx_proto_init()
|
||||
file_setx_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
@ -319,6 +409,19 @@ type CommServerClient interface {
|
|||
HLen(ctx context.Context, in *HLenRequest, opts ...grpc.CallOption) (*HLenResponse, error)
|
||||
HSet(ctx context.Context, in *HSetRequest, opts ...grpc.CallOption) (*HSetResponse, error)
|
||||
HSetX(ctx context.Context, in *HSetXRequest, opts ...grpc.CallOption) (*HSetXResponse, error)
|
||||
SAdd(ctx context.Context, in *SAddRequest, opts ...grpc.CallOption) (*SAddResponse, error)
|
||||
SCard(ctx context.Context, in *SCardRequest, opts ...grpc.CallOption) (*SCardResponse, error)
|
||||
SDiff(ctx context.Context, in *SDiffRequest, opts ...grpc.CallOption) (*SDiffResponse, error)
|
||||
SDiffStore(ctx context.Context, in *SDiffStoreRequest, opts ...grpc.CallOption) (*SDiffStoreResponse, error)
|
||||
SInter(ctx context.Context, in *SInterRequest, opts ...grpc.CallOption) (*SInterResponse, error)
|
||||
SInterStore(ctx context.Context, in *SInterStoreRequest, opts ...grpc.CallOption) (*SInterStoreResponse, error)
|
||||
SIsMember(ctx context.Context, in *SIsMemberRequest, opts ...grpc.CallOption) (*SIsMemberResponse, error)
|
||||
SMove(ctx context.Context, in *SMoveRequest, opts ...grpc.CallOption) (*SMoveResponse, error)
|
||||
SPop(ctx context.Context, in *SPopRequest, opts ...grpc.CallOption) (*SPopResponse, error)
|
||||
SRem(ctx context.Context, in *SRemRequest, opts ...grpc.CallOption) (*SRemResponse, error)
|
||||
SUnion(ctx context.Context, in *SUnionRequest, opts ...grpc.CallOption) (*SUnionResponse, error)
|
||||
SUnionStore(ctx context.Context, in *SUnionStoreRequest, opts ...grpc.CallOption) (*SUnionStoreResponse, error)
|
||||
SScan(ctx context.Context, in *SScanRequest, opts ...grpc.CallOption) (*SScanResponse, error)
|
||||
}
|
||||
|
||||
type commServerClient struct {
|
||||
|
@ -608,6 +711,123 @@ func (c *commServerClient) HSetX(ctx context.Context, in *HSetXRequest, opts ...
|
|||
return out, nil
|
||||
}
|
||||
|
||||
func (c *commServerClient) SAdd(ctx context.Context, in *SAddRequest, opts ...grpc.CallOption) (*SAddResponse, error) {
|
||||
out := new(SAddResponse)
|
||||
err := c.cc.Invoke(ctx, "/CommServer/SAdd", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *commServerClient) SCard(ctx context.Context, in *SCardRequest, opts ...grpc.CallOption) (*SCardResponse, error) {
|
||||
out := new(SCardResponse)
|
||||
err := c.cc.Invoke(ctx, "/CommServer/SCard", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *commServerClient) SDiff(ctx context.Context, in *SDiffRequest, opts ...grpc.CallOption) (*SDiffResponse, error) {
|
||||
out := new(SDiffResponse)
|
||||
err := c.cc.Invoke(ctx, "/CommServer/SDiff", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *commServerClient) SDiffStore(ctx context.Context, in *SDiffStoreRequest, opts ...grpc.CallOption) (*SDiffStoreResponse, error) {
|
||||
out := new(SDiffStoreResponse)
|
||||
err := c.cc.Invoke(ctx, "/CommServer/SDiffStore", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *commServerClient) SInter(ctx context.Context, in *SInterRequest, opts ...grpc.CallOption) (*SInterResponse, error) {
|
||||
out := new(SInterResponse)
|
||||
err := c.cc.Invoke(ctx, "/CommServer/SInter", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *commServerClient) SInterStore(ctx context.Context, in *SInterStoreRequest, opts ...grpc.CallOption) (*SInterStoreResponse, error) {
|
||||
out := new(SInterStoreResponse)
|
||||
err := c.cc.Invoke(ctx, "/CommServer/SInterStore", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *commServerClient) SIsMember(ctx context.Context, in *SIsMemberRequest, opts ...grpc.CallOption) (*SIsMemberResponse, error) {
|
||||
out := new(SIsMemberResponse)
|
||||
err := c.cc.Invoke(ctx, "/CommServer/SIsMember", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *commServerClient) SMove(ctx context.Context, in *SMoveRequest, opts ...grpc.CallOption) (*SMoveResponse, error) {
|
||||
out := new(SMoveResponse)
|
||||
err := c.cc.Invoke(ctx, "/CommServer/SMove", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *commServerClient) SPop(ctx context.Context, in *SPopRequest, opts ...grpc.CallOption) (*SPopResponse, error) {
|
||||
out := new(SPopResponse)
|
||||
err := c.cc.Invoke(ctx, "/CommServer/SPop", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *commServerClient) SRem(ctx context.Context, in *SRemRequest, opts ...grpc.CallOption) (*SRemResponse, error) {
|
||||
out := new(SRemResponse)
|
||||
err := c.cc.Invoke(ctx, "/CommServer/SRem", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *commServerClient) SUnion(ctx context.Context, in *SUnionRequest, opts ...grpc.CallOption) (*SUnionResponse, error) {
|
||||
out := new(SUnionResponse)
|
||||
err := c.cc.Invoke(ctx, "/CommServer/SUnion", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *commServerClient) SUnionStore(ctx context.Context, in *SUnionStoreRequest, opts ...grpc.CallOption) (*SUnionStoreResponse, error) {
|
||||
out := new(SUnionStoreResponse)
|
||||
err := c.cc.Invoke(ctx, "/CommServer/SUnionStore", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *commServerClient) SScan(ctx context.Context, in *SScanRequest, opts ...grpc.CallOption) (*SScanResponse, error) {
|
||||
out := new(SScanResponse)
|
||||
err := c.cc.Invoke(ctx, "/CommServer/SScan", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// CommServerServer is the server API for CommServer service.
|
||||
type CommServerServer interface {
|
||||
Set(context.Context, *SetRequest) (*SetResponse, error)
|
||||
|
@ -641,6 +861,19 @@ type CommServerServer interface {
|
|||
HLen(context.Context, *HLenRequest) (*HLenResponse, error)
|
||||
HSet(context.Context, *HSetRequest) (*HSetResponse, error)
|
||||
HSetX(context.Context, *HSetXRequest) (*HSetXResponse, error)
|
||||
SAdd(context.Context, *SAddRequest) (*SAddResponse, error)
|
||||
SCard(context.Context, *SCardRequest) (*SCardResponse, error)
|
||||
SDiff(context.Context, *SDiffRequest) (*SDiffResponse, error)
|
||||
SDiffStore(context.Context, *SDiffStoreRequest) (*SDiffStoreResponse, error)
|
||||
SInter(context.Context, *SInterRequest) (*SInterResponse, error)
|
||||
SInterStore(context.Context, *SInterStoreRequest) (*SInterStoreResponse, error)
|
||||
SIsMember(context.Context, *SIsMemberRequest) (*SIsMemberResponse, error)
|
||||
SMove(context.Context, *SMoveRequest) (*SMoveResponse, error)
|
||||
SPop(context.Context, *SPopRequest) (*SPopResponse, error)
|
||||
SRem(context.Context, *SRemRequest) (*SRemResponse, error)
|
||||
SUnion(context.Context, *SUnionRequest) (*SUnionResponse, error)
|
||||
SUnionStore(context.Context, *SUnionStoreRequest) (*SUnionStoreResponse, error)
|
||||
SScan(context.Context, *SScanRequest) (*SScanResponse, error)
|
||||
}
|
||||
|
||||
// UnimplementedCommServerServer can be embedded to have forward compatible implementations.
|
||||
|
@ -740,6 +973,45 @@ func (*UnimplementedCommServerServer) HSet(context.Context, *HSetRequest) (*HSet
|
|||
func (*UnimplementedCommServerServer) HSetX(context.Context, *HSetXRequest) (*HSetXResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method HSetX not implemented")
|
||||
}
|
||||
func (*UnimplementedCommServerServer) SAdd(context.Context, *SAddRequest) (*SAddResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method SAdd not implemented")
|
||||
}
|
||||
func (*UnimplementedCommServerServer) SCard(context.Context, *SCardRequest) (*SCardResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method SCard not implemented")
|
||||
}
|
||||
func (*UnimplementedCommServerServer) SDiff(context.Context, *SDiffRequest) (*SDiffResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method SDiff not implemented")
|
||||
}
|
||||
func (*UnimplementedCommServerServer) SDiffStore(context.Context, *SDiffStoreRequest) (*SDiffStoreResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method SDiffStore not implemented")
|
||||
}
|
||||
func (*UnimplementedCommServerServer) SInter(context.Context, *SInterRequest) (*SInterResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method SInter not implemented")
|
||||
}
|
||||
func (*UnimplementedCommServerServer) SInterStore(context.Context, *SInterStoreRequest) (*SInterStoreResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method SInterStore not implemented")
|
||||
}
|
||||
func (*UnimplementedCommServerServer) SIsMember(context.Context, *SIsMemberRequest) (*SIsMemberResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method SIsMember not implemented")
|
||||
}
|
||||
func (*UnimplementedCommServerServer) SMove(context.Context, *SMoveRequest) (*SMoveResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method SMove not implemented")
|
||||
}
|
||||
func (*UnimplementedCommServerServer) SPop(context.Context, *SPopRequest) (*SPopResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method SPop not implemented")
|
||||
}
|
||||
func (*UnimplementedCommServerServer) SRem(context.Context, *SRemRequest) (*SRemResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method SRem not implemented")
|
||||
}
|
||||
func (*UnimplementedCommServerServer) SUnion(context.Context, *SUnionRequest) (*SUnionResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method SUnion not implemented")
|
||||
}
|
||||
func (*UnimplementedCommServerServer) SUnionStore(context.Context, *SUnionStoreRequest) (*SUnionStoreResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method SUnionStore not implemented")
|
||||
}
|
||||
func (*UnimplementedCommServerServer) SScan(context.Context, *SScanRequest) (*SScanResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method SScan not implemented")
|
||||
}
|
||||
|
||||
func RegisterCommServerServer(s *grpc.Server, srv CommServerServer) {
|
||||
s.RegisterService(&_CommServer_serviceDesc, srv)
|
||||
|
@ -1303,6 +1575,240 @@ func _CommServer_HSetX_Handler(srv interface{}, ctx context.Context, dec func(in
|
|||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CommServer_SAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(SAddRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CommServerServer).SAdd(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/CommServer/SAdd",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CommServerServer).SAdd(ctx, req.(*SAddRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CommServer_SCard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(SCardRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CommServerServer).SCard(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/CommServer/SCard",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CommServerServer).SCard(ctx, req.(*SCardRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CommServer_SDiff_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(SDiffRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CommServerServer).SDiff(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/CommServer/SDiff",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CommServerServer).SDiff(ctx, req.(*SDiffRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CommServer_SDiffStore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(SDiffStoreRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CommServerServer).SDiffStore(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/CommServer/SDiffStore",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CommServerServer).SDiffStore(ctx, req.(*SDiffStoreRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CommServer_SInter_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(SInterRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CommServerServer).SInter(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/CommServer/SInter",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CommServerServer).SInter(ctx, req.(*SInterRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CommServer_SInterStore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(SInterStoreRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CommServerServer).SInterStore(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/CommServer/SInterStore",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CommServerServer).SInterStore(ctx, req.(*SInterStoreRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CommServer_SIsMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(SIsMemberRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CommServerServer).SIsMember(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/CommServer/SIsMember",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CommServerServer).SIsMember(ctx, req.(*SIsMemberRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CommServer_SMove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(SMoveRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CommServerServer).SMove(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/CommServer/SMove",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CommServerServer).SMove(ctx, req.(*SMoveRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CommServer_SPop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(SPopRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CommServerServer).SPop(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/CommServer/SPop",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CommServerServer).SPop(ctx, req.(*SPopRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CommServer_SRem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(SRemRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CommServerServer).SRem(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/CommServer/SRem",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CommServerServer).SRem(ctx, req.(*SRemRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CommServer_SUnion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(SUnionRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CommServerServer).SUnion(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/CommServer/SUnion",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CommServerServer).SUnion(ctx, req.(*SUnionRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CommServer_SUnionStore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(SUnionStoreRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CommServerServer).SUnionStore(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/CommServer/SUnionStore",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CommServerServer).SUnionStore(ctx, req.(*SUnionStoreRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CommServer_SScan_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(SScanRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CommServerServer).SScan(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/CommServer/SScan",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CommServerServer).SScan(ctx, req.(*SScanRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _CommServer_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "CommServer",
|
||||
HandlerType: (*CommServerServer)(nil),
|
||||
|
@ -1431,6 +1937,58 @@ var _CommServer_serviceDesc = grpc.ServiceDesc{
|
|||
MethodName: "HSetX",
|
||||
Handler: _CommServer_HSetX_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "SAdd",
|
||||
Handler: _CommServer_SAdd_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "SCard",
|
||||
Handler: _CommServer_SCard_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "SDiff",
|
||||
Handler: _CommServer_SDiff_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "SDiffStore",
|
||||
Handler: _CommServer_SDiffStore_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "SInter",
|
||||
Handler: _CommServer_SInter_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "SInterStore",
|
||||
Handler: _CommServer_SInterStore_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "SIsMember",
|
||||
Handler: _CommServer_SIsMember_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "SMove",
|
||||
Handler: _CommServer_SMove_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "SPop",
|
||||
Handler: _CommServer_SPop_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "SRem",
|
||||
Handler: _CommServer_SRem_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "SUnion",
|
||||
Handler: _CommServer_SUnion_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "SUnionStore",
|
||||
Handler: _CommServer_SUnionStore_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "SScan",
|
||||
Handler: _CommServer_SScan_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "storage.proto",
|
||||
|
|
|
@ -0,0 +1,119 @@
|
|||
syntax = "proto3";
|
||||
import "base.proto";
|
||||
option go_package = "pkg/proto";
|
||||
|
||||
message SAddRequest {
|
||||
BaseKey key = 1;
|
||||
repeated string member = 2;
|
||||
}
|
||||
|
||||
message SAddResponse {
|
||||
}
|
||||
|
||||
message SCardRequest {
|
||||
BaseKey key = 1;
|
||||
}
|
||||
|
||||
message SCardResponse {
|
||||
int32 length = 1;
|
||||
}
|
||||
|
||||
message SDiffRequest {
|
||||
BaseKey key = 1;
|
||||
repeated string sKeys = 2;
|
||||
}
|
||||
|
||||
message SDiffResponse {
|
||||
repeated string resluts = 2;
|
||||
}
|
||||
|
||||
message SDiffStoreRequest {
|
||||
BaseKey key = 1;
|
||||
repeated string sKeys = 2;
|
||||
string save_key = 3;
|
||||
}
|
||||
|
||||
message SDiffStoreResponse {
|
||||
}
|
||||
|
||||
message SInterRequest {
|
||||
BaseKey key = 1;
|
||||
repeated string sKeys = 2;
|
||||
}
|
||||
|
||||
message SInterResponse {
|
||||
repeated string resluts = 2;
|
||||
}
|
||||
|
||||
message SInterStoreRequest {
|
||||
BaseKey key = 1;
|
||||
repeated string sKeys = 2;
|
||||
string save_key = 3;
|
||||
}
|
||||
|
||||
message SInterStoreResponse {
|
||||
}
|
||||
|
||||
message SIsMemberRequest {
|
||||
BaseKey key = 1;
|
||||
string member = 2;
|
||||
}
|
||||
|
||||
message SIsMemberResponse {
|
||||
bool exist = 1;
|
||||
}
|
||||
|
||||
message SMoveRequest {
|
||||
BaseKey key = 1;
|
||||
string move_key = 2;
|
||||
repeated string members = 3;
|
||||
}
|
||||
|
||||
message SMoveResponse {
|
||||
}
|
||||
|
||||
message SPopRequest {
|
||||
BaseKey key = 1;
|
||||
int32 count = 2;
|
||||
}
|
||||
|
||||
message SPopResponse {
|
||||
repeated string members = 1;
|
||||
}
|
||||
|
||||
message SRemRequest {
|
||||
BaseKey key = 1;
|
||||
int32 count = 2;
|
||||
}
|
||||
|
||||
message SRemResponse {
|
||||
}
|
||||
|
||||
message SUnionRequest {
|
||||
BaseKey key = 1;
|
||||
repeated string sKeys = 2;
|
||||
}
|
||||
|
||||
message SUnionResponse {
|
||||
repeated string results = 1;
|
||||
}
|
||||
|
||||
message SUnionStoreRequest {
|
||||
BaseKey key = 1;
|
||||
repeated string sKeys = 2;
|
||||
string save_key = 3;
|
||||
}
|
||||
|
||||
message SUnionStoreResponse {
|
||||
}
|
||||
|
||||
message SScanRequest {
|
||||
BaseKey key = 1;
|
||||
int32 sursor = 2;
|
||||
string regexp = 3;
|
||||
int32 count = 4;
|
||||
}
|
||||
|
||||
message SScanResponse {
|
||||
repeated string results = 1;
|
||||
}
|
|
@ -8,6 +8,7 @@ option go_package = "pkg/proto";
|
|||
import "stringx.proto";
|
||||
import "listx.proto";
|
||||
import "hashx.proto";
|
||||
import "setx.proto";
|
||||
|
||||
|
||||
service CommServer {
|
||||
|
@ -42,4 +43,17 @@ service CommServer {
|
|||
rpc HLen (HLenRequest) returns (HLenResponse);
|
||||
rpc HSet (HSetRequest) returns (HSetResponse);
|
||||
rpc HSetX (HSetXRequest) returns (HSetXResponse);
|
||||
rpc SAdd (SAddRequest) returns (SAddResponse);
|
||||
rpc SCard (SCardRequest) returns (SCardResponse);
|
||||
rpc SDiff (SDiffRequest) returns (SDiffResponse);
|
||||
rpc SDiffStore (SDiffStoreRequest) returns (SDiffStoreResponse);
|
||||
rpc SInter (SInterRequest) returns (SInterResponse);
|
||||
rpc SInterStore (SInterStoreRequest) returns (SInterStoreResponse);
|
||||
rpc SIsMember (SIsMemberRequest) returns (SIsMemberResponse);
|
||||
rpc SMove (SMoveRequest) returns (SMoveResponse);
|
||||
rpc SPop (SPopRequest) returns (SPopResponse);
|
||||
rpc SRem (SRemRequest) returns (SRemResponse);
|
||||
rpc SUnion (SUnionRequest) returns (SUnionResponse);
|
||||
rpc SUnionStore (SUnionStoreRequest) returns (SUnionStoreResponse);
|
||||
rpc SScan (SScanRequest) returns (SScanResponse);
|
||||
}
|
|
@ -9,6 +9,7 @@ const (
|
|||
STRING_X
|
||||
LIST_X
|
||||
HASH_X
|
||||
SET_X
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -44,6 +45,19 @@ const (
|
|||
HLen
|
||||
HSet
|
||||
HSetX
|
||||
SAdd
|
||||
SCard
|
||||
SDiff
|
||||
SDiffStore
|
||||
SInter
|
||||
SInterStore
|
||||
SIsMember
|
||||
SMove
|
||||
SPop
|
||||
SRem
|
||||
SUnion
|
||||
SUnionStore
|
||||
SScan
|
||||
)
|
||||
|
||||
var CommKeyString = map[string]int{
|
||||
|
@ -80,6 +94,20 @@ var CommKeyString = map[string]int{
|
|||
"HLen": HASH_X,
|
||||
"HSet": HASH_X,
|
||||
"HSetX": HASH_X,
|
||||
|
||||
"SAdd": SET_X,
|
||||
"SCard": SET_X,
|
||||
"SDiff": SET_X,
|
||||
"SDiffStore": SET_X,
|
||||
"SInter": SET_X,
|
||||
"SInterStore": SET_X,
|
||||
"SIsMember": SET_X,
|
||||
"SMove": SET_X,
|
||||
"SPop": SET_X,
|
||||
"SRem": SET_X,
|
||||
"SUnion": SET_X,
|
||||
"SUnionStore": SET_X,
|
||||
"SScan": SET_X,
|
||||
}
|
||||
|
||||
var CommKey = map[int]int{
|
||||
|
@ -116,4 +144,18 @@ var CommKey = map[int]int{
|
|||
HLen: HASH_X,
|
||||
HSet: HASH_X,
|
||||
HSetX: HASH_X,
|
||||
|
||||
SAdd: SET_X,
|
||||
SCard: SET_X,
|
||||
SDiff: SET_X,
|
||||
SDiffStore: SET_X,
|
||||
SInter: SET_X,
|
||||
SInterStore: SET_X,
|
||||
SIsMember: SET_X,
|
||||
SMove: SET_X,
|
||||
SPop: SET_X,
|
||||
SRem: SET_X,
|
||||
SUnion: SET_X,
|
||||
SUnionStore: SET_X,
|
||||
SScan: SET_X,
|
||||
}
|
||||
|
|
|
@ -36,4 +36,19 @@ HASH_X:
|
|||
- h_keys
|
||||
- h_len
|
||||
- h_set
|
||||
- h_set_x
|
||||
- h_set_x
|
||||
|
||||
SET_X:
|
||||
- s_add
|
||||
- s_card
|
||||
- s_diff
|
||||
- s_diff_store
|
||||
- s_inter
|
||||
- s_inter_store
|
||||
- s_is_member
|
||||
- s_move
|
||||
- s_pop
|
||||
- s_rem
|
||||
- s_union
|
||||
- s_union_store
|
||||
- s_scan
|
Loading…
Reference in New Issue