Remove unnecessary proto import
This commit is contained in:
parent
74f521c653
commit
3698421974
2 changed files with 0 additions and 31 deletions
2
buf.yaml
2
buf.yaml
|
@ -14,8 +14,6 @@ lint:
|
||||||
- DEFAULT
|
- DEFAULT
|
||||||
except:
|
except:
|
||||||
- PACKAGE_DIRECTORY_MATCH
|
- PACKAGE_DIRECTORY_MATCH
|
||||||
ignore:
|
|
||||||
- grpc/health/v1/
|
|
||||||
allow_comment_ignores: true
|
allow_comment_ignores: true
|
||||||
breaking:
|
breaking:
|
||||||
use:
|
use:
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
syntax = "proto3";
|
|
||||||
|
|
||||||
package grpc.health.v1;
|
|
||||||
|
|
||||||
option csharp_namespace = "INetMock.Client.Rpc";
|
|
||||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/grpc/health/v1";
|
|
||||||
option java_multiple_files = true;
|
|
||||||
option java_outer_classname = "HealthProto";
|
|
||||||
option java_package = "com.github.baez90.inetmock.rpc";
|
|
||||||
|
|
||||||
message HealthCheckRequest {
|
|
||||||
string service = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message HealthCheckResponse {
|
|
||||||
enum ServingStatus {
|
|
||||||
UNKNOWN = 0;
|
|
||||||
SERVING = 1;
|
|
||||||
NOT_SERVING = 2;
|
|
||||||
SERVICE_UNKNOWN = 3; // Used only by the Watch method.
|
|
||||||
}
|
|
||||||
ServingStatus status = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
service Health {
|
|
||||||
rpc Check(HealthCheckRequest) returns (HealthCheckResponse);
|
|
||||||
|
|
||||||
rpc Watch(HealthCheckRequest) returns (stream HealthCheckResponse);
|
|
||||||
}
|
|
Loading…
Reference in a new issue