auth proto: provide help to protoc-gen-go (#1442)

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-03-31 00:35:11 +03:00
committed by GitHub
parent 9e6db79860
commit c706ebe3fb
9 changed files with 90 additions and 83 deletions

View File

@@ -2,9 +2,11 @@ syntax = "proto3";
package go.micro.auth;
option go_package = "auth;auth";
service Auth {
rpc Generate(GenerateRequest) returns (GenerateResponse) {};
rpc Inspect(InspectRequest) returns (InspectResponse) {};
rpc Inspect(InspectRequest) returns (InspectResponse) {};
rpc Refresh(RefreshRequest) returns (RefreshResponse) {};
}
@@ -74,4 +76,4 @@ message RefreshRequest {
message RefreshResponse {
Token token = 1;
}
}