🚚 Rename protobuf

This commit is contained in:
2024-10-21 22:07:36 +08:00
parent 80ad9399a3
commit 87a7eb8f45
31 changed files with 502 additions and 414 deletions

View File

@@ -553,8 +553,8 @@ var file_services_proto_rawDesc = []byte{
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12,
0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61,
0x74, 0x61, 0x22, 0x0f, 0x0a, 0x0d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x32, 0xe8, 0x02, 0x0a, 0x10, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44,
0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x43, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x53,
0x6e, 0x73, 0x65, 0x32, 0xe8, 0x02, 0x0a, 0x10, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72,
0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x53,
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47,
0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76,
@@ -608,16 +608,16 @@ var file_services_proto_goTypes = []any{
var file_services_proto_depIdxs = []int32{
0, // 0: proto.GetServiceResponse.data:type_name -> proto.ServiceInfo
0, // 1: proto.ListServiceResponse.data:type_name -> proto.ServiceInfo
1, // 2: proto.ServiceDirectory.GetService:input_type -> proto.GetServiceRequest
3, // 3: proto.ServiceDirectory.ListService:input_type -> proto.ListServiceRequest
0, // 4: proto.ServiceDirectory.AddService:input_type -> proto.ServiceInfo
6, // 5: proto.ServiceDirectory.RemoveService:input_type -> proto.RemoveServiceRequest
8, // 6: proto.ServiceDirectory.BroadcastEvent:input_type -> proto.EventInfo
2, // 7: proto.ServiceDirectory.GetService:output_type -> proto.GetServiceResponse
4, // 8: proto.ServiceDirectory.ListService:output_type -> proto.ListServiceResponse
5, // 9: proto.ServiceDirectory.AddService:output_type -> proto.AddServiceResponse
7, // 10: proto.ServiceDirectory.RemoveService:output_type -> proto.RemoveServiceResponse
9, // 11: proto.ServiceDirectory.BroadcastEvent:output_type -> proto.EventResponse
1, // 2: proto.DirectoryService.GetService:input_type -> proto.GetServiceRequest
3, // 3: proto.DirectoryService.ListService:input_type -> proto.ListServiceRequest
0, // 4: proto.DirectoryService.AddService:input_type -> proto.ServiceInfo
6, // 5: proto.DirectoryService.RemoveService:input_type -> proto.RemoveServiceRequest
8, // 6: proto.DirectoryService.BroadcastEvent:input_type -> proto.EventInfo
2, // 7: proto.DirectoryService.GetService:output_type -> proto.GetServiceResponse
4, // 8: proto.DirectoryService.ListService:output_type -> proto.ListServiceResponse
5, // 9: proto.DirectoryService.AddService:output_type -> proto.AddServiceResponse
7, // 10: proto.DirectoryService.RemoveService:output_type -> proto.RemoveServiceResponse
9, // 11: proto.DirectoryService.BroadcastEvent:output_type -> proto.EventResponse
7, // [7:12] is the sub-list for method output_type
2, // [2:7] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name