Update Go package in protobuf files
This commit is contained in:
parent
84b81dc99b
commit
37821520b6
7 changed files with 6 additions and 65 deletions
|
@ -3,7 +3,7 @@ syntax = "proto3";
|
|||
package inetmock.audit.v1;
|
||||
|
||||
option csharp_namespace = "INetMock.Client.Audit";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/audit";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/audit/v1";
|
||||
option java_multiple_files = true;
|
||||
option java_outer_classname = "HandlerEventProto";
|
||||
option java_package = "com.github.baez90.inetmock.audit";
|
||||
|
|
|
@ -3,7 +3,7 @@ syntax = "proto3";
|
|||
package inetmock.audit.v1;
|
||||
|
||||
option csharp_namespace = "INetMock.Client.Audit";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/audit";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/audit/v1";
|
||||
option java_multiple_files = true;
|
||||
option java_outer_classname = "HandlerEventProto";
|
||||
option java_package = "com.github.baez90.inetmock.audit";
|
||||
|
|
|
@ -3,7 +3,7 @@ syntax = "proto3";
|
|||
package inetmock.audit.v1;
|
||||
|
||||
option csharp_namespace = "INetMock.Client.Audit";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/audit";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/audit/v1";
|
||||
option java_multiple_files = true;
|
||||
option java_outer_classname = "HandlerEventProto";
|
||||
option java_package = "com.github.baez90.inetmock.audit";
|
||||
|
|
|
@ -1,59 +0,0 @@
|
|||
syntax = "proto3";
|
||||
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/rpc";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.github.baez90.inetmock.rpc";
|
||||
option java_outer_classname = "AuditProto";
|
||||
option csharp_namespace = "INetMock.Client.Rpc";
|
||||
|
||||
package inetmock.rpc;
|
||||
|
||||
import "google/protobuf/duration.proto";
|
||||
|
||||
message ListAvailableDevicesRequest {
|
||||
|
||||
}
|
||||
|
||||
message ListAvailableDevicesResponse {
|
||||
|
||||
message PCAPDevice {
|
||||
string name = 1;
|
||||
repeated bytes addresses = 2;
|
||||
}
|
||||
|
||||
repeated PCAPDevice availableDevices = 1;
|
||||
}
|
||||
|
||||
message ListRecordingsRequest {
|
||||
|
||||
}
|
||||
|
||||
message ListRecordingsResponse {
|
||||
repeated string subscriptions = 1;
|
||||
}
|
||||
|
||||
message StartPCAPFileRecordRequest {
|
||||
string device = 1;
|
||||
string targetPath = 2;
|
||||
bool promiscuous = 3;
|
||||
google.protobuf.Duration readTimeout = 4;
|
||||
}
|
||||
|
||||
message StartPCAPFileRecordResponse {
|
||||
string resolvedPath = 1;
|
||||
}
|
||||
|
||||
message StopPCAPFileRecordRequest {
|
||||
string consumerKey = 1;
|
||||
}
|
||||
|
||||
message StopPCAPFileRecordResponse {
|
||||
bool removed = 1;
|
||||
}
|
||||
|
||||
service PCAP {
|
||||
rpc ListAvailableDevices(ListAvailableDevicesRequest) returns (ListAvailableDevicesResponse);
|
||||
rpc ListActiveRecordings(ListRecordingsRequest) returns (ListRecordingsResponse);
|
||||
rpc StartPCAPFileRecording(StartPCAPFileRecordRequest) returns (StartPCAPFileRecordResponse);
|
||||
rpc StopPCAPFileRecord(StopPCAPFileRecordRequest) returns (StopPCAPFileRecordResponse);
|
||||
}
|
|
@ -3,7 +3,7 @@ syntax = "proto3";
|
|||
package inetmock.rpc.v1;
|
||||
|
||||
option csharp_namespace = "INetMock.Client.Rpc";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/rpc";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/rpc/v1";
|
||||
option java_multiple_files = true;
|
||||
option java_outer_classname = "AuditProto";
|
||||
option java_package = "com.github.baez90.inetmock.rpc";
|
||||
|
|
|
@ -3,7 +3,7 @@ syntax = "proto3";
|
|||
package inetmock.rpc.v1;
|
||||
|
||||
option csharp_namespace = "INetMock.Client.Rpc";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/rpc";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/rpc/v1";
|
||||
option java_multiple_files = true;
|
||||
option java_outer_classname = "HealthProto";
|
||||
option java_package = "com.github.baez90.inetmock.rpc";
|
||||
|
|
|
@ -3,7 +3,7 @@ syntax = "proto3";
|
|||
package inetmock.rpc.v1;
|
||||
|
||||
option csharp_namespace = "INetMock.Client.Rpc";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/rpc";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/rpc/v1";
|
||||
option java_multiple_files = true;
|
||||
option java_outer_classname = "AuditProto";
|
||||
option java_package = "com.github.baez90.inetmock.rpc";
|
||||
|
|
Loading…
Reference in a new issue