mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-05-19 07:56:33 +00:00
19 lines
286 B
Protocol Buffer
19 lines
286 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option go_package = "./token";
|
|
|
|
package token;
|
|
|
|
|
|
// The greeting service definition.
|
|
service TokenService {
|
|
rpc Token (TokenRequest) returns (TokenResponse) {}
|
|
}
|
|
|
|
|
|
message TokenRequest {}
|
|
|
|
message TokenResponse {
|
|
string token = 1;
|
|
string expiresAt = 2;
|
|
} |